Skip to content

Commit

Permalink
Merge pull request ligmitz#1 from Deepak91168/master
Browse files Browse the repository at this point in the history
Styles and Rules
  • Loading branch information
mekaustubh28 authored Dec 27, 2021
2 parents ebe6006 + 3a4084c commit 61677ea
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 33 deletions.
11 changes: 3 additions & 8 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>{% block title %} {%endblock%} </title>
<title>Chakravyou</title>
<!-- Latest compiled and minified CSS -->
<link rel="shortcut icon" type="image/png" href="{% static 'pg.png' %}" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
Expand Down Expand Up @@ -185,7 +185,7 @@

.navbar-brand {
color: #ffffff !important;
font-size: 1.4vw;
font-size: 20px;
}

.navbar-brand:hover {
Expand Down Expand Up @@ -255,7 +255,7 @@
<span class="icon-bar" style="background-color: black"></span>
<span class="icon-bar" style="background-color: black"></span>
</button>
<a class="navbar-brand navbar-text-brand" href="/">Prarambh</a>
<a class="navbar-brand navbar-text-brand" href="/">Prarambh 2K21</a>
</div>

<div id="navbar" class="collapse navbar-collapse">
Expand All @@ -279,7 +279,6 @@
{%endif%}
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<div class="container">
Expand All @@ -292,10 +291,6 @@
</div>
</div>
<script src="{% static 'js/message.js' %}"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>

</html>
55 changes: 37 additions & 18 deletions templates/home.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
{% extends "base.html" %} {% load static %} {% block title %} Abhedya - Home {%endblock%} {% block content %}
<style>

h1.cryptic-title {
font-family: 'Mystery Quest', cursive;
font-size: 10vh;
color: #fff;
text-shadow: 1px 5px 5px #000;
text-shadow: 2px 20px 20px #000;
}

h1.cryptic-title:hover {
cursor: pointer;
}

.content {
margin-top: 20px;
border: 2px solid #013f11;
border-radius: 10px;
padding: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

</style>
<div class="container">
<div class="home">
Expand All @@ -15,23 +29,28 @@
<h1 class="cryptic-title" id="cryptic-title">
Chakravyou
</h1>
<ul type="dot" class="guidelines">
<li>
Use of desktop/laptop is recommended.
</li>
<li>
The levels vary on degree of difficulty.
</li>
<li>
The quiz will remain active from 29th Dec, 2021 1800 hrs to 1st Jan, 2022 0000 hrs.
</li>
<li>
The leaderboard will be used as a standard for judgement criteria.
</li>
<li>
Navigate to <a href="/hunt/" class="general-links">hunt</a> for attempting chakravyou.
</li>
</ul>
<div class="content">
<ul type="dot" class="guidelines">
<li>
Use of desktop/laptop is recommended.
</li>
<li>
The levels vary on degree of difficulty.
</li>
<li>
The Hunt will begin on 29<sup>th</sup> December, 6 PM.
</li>
<li>
The leaderboard will be used as a standard for judgement criteria.
</li>
<li>
Carefully follow the rules and regulations.
</li>
<li>
Start playing <a href="/hunt/" class="general-links"><strong>Chakravyou</strong>.</a>
</li>
</ul>
</div>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions templates/leaderboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% if active %}
<center>
<div style="color: var(--green);font-size: 4vh;">
HUNT IS ACTIVE
THE GAME IS ON!
</div>
</center>
<h2 class="standings-head" style="color: var(--green);">Leaderboard</h2>
Expand All @@ -40,7 +40,7 @@ <h2 class="standings-head" style="color: var(--green);">Leaderboard</h2>
<thead>
<tr style="color: #fff">
<th>Rank</th>
<th>Username</th>
<th>UserName</th>
<th>Level</th>
</tr>
</thead>
Expand Down Expand Up @@ -102,7 +102,7 @@ <h2 class="standings-head" style="color: var(--green);">Leaderboard</h2>
var seconds = Math.floor((distance % (1000 * 60)) / 1000);

// Output the result in an element with id="demo"
document.getElementById("demo").innerHTML = days + "d " + hours + "h " +
document.getElementById("demo").innerHTML = days + "d " + hours + "hr " +
minutes + "m " + seconds + "s ";

// If the count down is over, write some text
Expand Down
10 changes: 6 additions & 4 deletions templates/rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@ <h2 style="color: var(--green);"> Rules </h2>
<div class="rules">
<ul type="dot" class="guidelines">
<li>
The quiz will remain active from 29th Dec, 2021 1800 hrs to 1st Jan, 2022 0000 hrs.

The <strong>Hunt</strong> will begin on 29<sup>th</sup> December, 2021 6 PM.

</li>
<li>
The username for registration should be of the following format: &lt;rollno&gt;_&lt;name&gt; . <span style="color:var(--green);">Eg: 20bcs102_deepak</span>.
The username for registration should be of the following format <strong>rollNo_name</strong>. <span style="color:var(--green);"><br>Eg: 20bcs102_deepak.</span>
</li>
<li>
Use the institute email address for registration.
</li>
<li>
<span style="color: var(--green);">CAPS and SPACES</span> are not allowed. E.g. If your answer is "Hello World", enter "helloworld" to proceed to the next level.
<strong>CAPS and Space</strong> are not allowed. E.g. If your answer is "Hello World", enter "helloworld" to proceed to the next level.
</li>
<li>
Winners will be chosen for the first three positions on the basis of the leaderboard.
The winners will be the ones who finish at the earliest.
</li>
</ul>
</div>
Expand Down

0 comments on commit 61677ea

Please sign in to comment.