From 7abd68fc065a4c5891e552c27fcb7c141b921913 Mon Sep 17 00:00:00 2001 From: Ri7Sh Date: Wed, 21 Feb 2018 15:21:08 +0530 Subject: [PATCH] instructions --- main/static/assets/css/logggin.css | 18 ++-- main/static/assets/css/loggin.css | 20 +++-- main/static/assets/css/main.css | 3 + main/static/assets/css/ssstyle.css | 134 ++++++++++++++++++++++------- main/templates/minesweeper.html | 4 +- main/templates/ss.html | 61 ++++++++++--- main/views.py | 11 +-- 7 files changed, 181 insertions(+), 70 deletions(-) diff --git a/main/static/assets/css/logggin.css b/main/static/assets/css/logggin.css index a4856b2..6bb97af 100644 --- a/main/static/assets/css/logggin.css +++ b/main/static/assets/css/logggin.css @@ -452,12 +452,14 @@ Animation Keyframes .msg{ color: #fff; - line-height: 30px; - font-size: 22px; - background: #000; - width: 300px; - margin: 30px auto; - border: 5px solid #4ca5a2; - border-radius: 6px; - padding: 10px; +line-height: 30px; +font-size: 22px; +background: #000; +width: 500px; +margin: 30px auto; +border: 5px solid #4ca5a2; +border-radius: 6px; +padding: 10px; +top: -20px; +position: relative; } diff --git a/main/static/assets/css/loggin.css b/main/static/assets/css/loggin.css index 5f6344d..916790b 100644 --- a/main/static/assets/css/loggin.css +++ b/main/static/assets/css/loggin.css @@ -441,13 +441,15 @@ Animation Keyframes } .msg{ - color: #fff; - line-height: 30px; - font-size: 22px; - background: #000; - width: 300px; - margin: 30px auto; - border: 5px solid #4ca5a2; - border-radius: 6px; - padding: 10px; +color: #fff; +line-height: 30px; +font-size: 22px; +background: #000; +width: 500px; +margin: 30px auto; +border: 5px solid #4ca5a2; +border-radius: 6px; +padding: 10px; +top: -20px; +position: relative; } diff --git a/main/static/assets/css/main.css b/main/static/assets/css/main.css index 68ffc67..821f7ef 100644 --- a/main/static/assets/css/main.css +++ b/main/static/assets/css/main.css @@ -371,4 +371,7 @@ li{ border-radius: 6px; background: black; color: #5bfb71; + right: calc(50vw - 100px); + width: 200px; + } \ No newline at end of file diff --git a/main/static/assets/css/ssstyle.css b/main/static/assets/css/ssstyle.css index bb74a27..4fd1f32 100644 --- a/main/static/assets/css/ssstyle.css +++ b/main/static/assets/css/ssstyle.css @@ -1466,36 +1466,7 @@ body { #navbar a { display: none; } - #see1{ - height: 96%; - width: 58%; - position: fixed; - color: white; - top: 15%; - left: 2%; - border-radius: 12px; - bottom: 1%; - background-color: rgba(0,0,0,0.5); - z-index: 2; - - font-size: 2em; - - } - #see2{ - height: 96%; - width: 38%; - position: fixed; - color: lime; - top: 15%; - left: 60%; - border-radius: 12px; - bottom: 1%; - background-color: rgba(0,0,0,0.5); - z-index: 2; - - font-size: 2em; - } - + h1 { font-size: 22px; @@ -1525,7 +1496,7 @@ body { right: 0px; } } @media screen and (min-width: 1300px) { #universe { - font-size: 100%; } } + font-size: 62%; } } @media screen and (min-width: 1600px) { .zoom-close .scale-d #solar-system { margin-left: -120%; } } @@ -1535,9 +1506,106 @@ body { .holographic-text-blue{ text-shadow: -4px -2px 5px #ff3939; color: #68e0ef; - font-family: 'Azo Sans'; + font-family: monospace, arial, verdana; } #navbar{ - font-size: 3em; + font-size: 2em; +} + + +.title{ + /*background: url("/static/assets/images/universe.png")*/ +} + +.title h1{ + font-size: 34px !important; +} + +#universe, #main-wrapper{ + position: absolute; + top:0; + left: 0; + width: 100vw; + height: 100vh; +} + +#main-wrapper{ + z-index: 999; + background: rgba(0,0,0,0.8); +} + +#black_box{ + height: 90vh; + padding: 50px; + overflow: hidden; +} + +#container{ + + width: 100vw; + display: flex; + flex-direction: row; + justify-content: space-around; + height: 100%; +} + +#see1{ + text-align: justify; + + height: 100%; + width: 25vw; + /*position: fixed;*/ + color: white; + top: 15%; + left: 2%; + border-radius: 12px; + bottom: 1%; + /*background-color: rgba(0,0,0,0.5);*/ + z-index: 2; + + font-size: 1em; + /*text-transform: uppercase;*/ + overflow: auto; + } + #see2{ + text-align: justify; + height: 100%; + width: 65vw; + /*position: fixed;*/ + color: white; + top: 15%; + left: 60%; + border-radius: 12px; + bottom: 1%; + /*background-color: rgba(0,0,0,0.5);*/ + z-index: 2; + + font-size: 1em; + /*text-transform: uppercase;*/ + overflow: auto; + padding: 0 30px; + } + + +p, li{ + + font-size: .9em !important; +} + +h3{ + font-size: 24px !important; + /*line-height: 68px !important;*/ + padding: 10px 0 !important; +} + +h2{ + text-align: left !important; + font-size: 29px !important; + padding: 20px 0 !important; + /*line-height: 3px !important;*/ +} + +body{ + overflow: hidden; } \ No newline at end of file diff --git a/main/templates/minesweeper.html b/main/templates/minesweeper.html index 1cd23f8..f116de0 100644 --- a/main/templates/minesweeper.html +++ b/main/templates/minesweeper.html @@ -26,7 +26,7 @@

CHECKMATE 18_

@@ -135,7 +135,7 @@

CHECKMATE 18_

?
diff --git a/main/templates/ss.html b/main/templates/ss.html index 6a99036..21acdea 100644 --- a/main/templates/ss.html +++ b/main/templates/ss.html @@ -11,32 +11,67 @@ +
-

CHECKMATE 18_

+

INSTRUCTIONS_

-


-

-


-

Quick Instructions - +
+ +
+

Overview of storyline


+
+

Quick Instructions

+ +
    +
  • Time limit is 2 hrs.
  • +
  • There are 20 questions.
  • +
  • You can't re-attempt any question.
  • +
  • Each correct answer awards you 50 points and a "Portallatam" piece.
  • +
  • Clicking on the mines awards a penalty of 10 points.
  • +
  • "Portallatam" contains 12 pieces.
  • +
  • To solve the "Portallatam", place all the pieces on their correct locations on the board.
  • +
  • "Portallatam" can be submitted only after attempting all 20 questions.
  • +
  • Solving the "Portallatam" correctly awards you 25 points.
  • +
  • You have 3 attempts to solve the "Portallatam"
  • +
+

General Rules

+

Minesweeper Rules

+ +

The aim is to locate all the mines and solve all the questions that are hidden under tiles on a rectangular board. You will need to use a combination of logic and luck to find all the mines without triggering an explosion.

+ +

The game begins with the board covered in tiles. Click on any tile to uncover it. You will reveal:

+
    +
  • A question, which you need to solve to attaian a "Portallatam" piece.
  • +
  • A colored number, which represent the number of mines in the adjacent tiles. This will help you deduce where the mines are.
  • +
  • A blank tile, which means there are no mines under any of the adjacent tiles.
  • +
  • A mine, which will detonate.
  • + +
  • Repeat the previous step until you have uncovered all the tiles which do not have mines underneath them.
  • +
+

"Portallatam" Rule

+
    +
  • You need to match the "Portallatam" piece with their names using your intution.
  • +
  • Click the piece to pick up, move the mouse to drag the piece and click to drop.
  • +
+

After finishing the game, you can log out, otherwise you will be automatically logged out after the game finishes.

- +
+
+
@@ -150,11 +185,11 @@

Instructions