Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified db.sqlite3
Binary file not shown.
Binary file modified event/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file modified event/__pycache__/settings.cpython-37.pyc
Binary file not shown.
Binary file modified event/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file modified event/__pycache__/wsgi.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/forms.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/__pycache__/views.cpython-37.pyc
Binary file not shown.
Binary file modified quiz/migrations/__pycache__/0001_initial.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified quiz/migrations/__pycache__/0006_profile_email.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified quiz/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
71 changes: 52 additions & 19 deletions quiz/templates/quiz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,61 @@

<!-- Custom styles for this template -->
<link href="{% static 'quiz/css5/new-age.min.css' %}" rel="stylesheet">
<style>
@font-face {
font-family: 'Georgia, serif';
src: url('Georgia.eot'); /* IE9 Compat Modes */
src: url('Georgia.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('Georgia.woff2') format('woff2'), /* Super Modern Browsers */
url('Georgia.woff') format('woff'), /* Pretty Modern Browsers */
url('Georgia.ttf') format('truetype'), /* Safari, Android, iOS */
url('Georgia.svg#svgFontName') format('svg'); /* Legacy iOS */
}

</style>
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<style>
@media only screen and (max-width: 576px) {
#arihant {
height:20vw;
width: 20vw;
}
}
@media only screen and (min-width: 576px) {
#arihant {
height:6vw;
width: 6vw;
}
}
@media only screen and (max-width: 576px) {
#lemongrass {
height:15vw;
width: 50vw;
}
}
@media only screen and (min-width: 576px) {
#lemongrass {
height:6vw;
width: 16vw;
}
}
@media only screen and (min-width: 576px) {
#qfiesta {
display:none;
}
}
@media only screen and (max-width: 576px) {
#logo {
height:5%;
width: 20%;
}
}
@media only screen and (min-width: 576px) {
#logo {
height:3%;
width: 10%;
}
}

</style>

</head>

<body id="page-top">

<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav" style="padding-bottom:0px;">
<div class="container">
<img src="{% static 'quiz/saelogo.png' %}" style="width: 10%; height: 1%;" />
<img id = "logo" src="{% static 'quiz/saelogo.png' %}"/>
<h1 class="mb-1" id="qfiesta" style="font-size: 1em;font-weight:bold; font-family: 'Georgia, serif';margin-left:40px;"><br />QFIESTA</h1>
<a class="navbar-brand js-scroll-trigger" href="#page-top"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
Expand Down Expand Up @@ -76,16 +109,16 @@
<h1 class="mb-5" style="font-size: 4em; font-family: 'Georgia, serif';"><br />QFIESTA</h1><br>
<div class = "container" style="padding:0px">
<div class = "row">
<div class = "col-4 col-md-6">
<div class = "col-md-12">
<h4 style="font-family: 'Georgia, serif';">Sponsored By </h4>

</div>
<div class = "col-2 ">
<img src="{% static 'quiz/arihant.jpg' %}" style="height:6vw; width:6vw"/>
<div class = "col-md-3 col-sm-12" style="margin-top:2vw;">
<img src="{% static 'quiz/arihant.jpg' %}" id="arihant"/>

</div>
<div class = "col-6 col-md-4">
<img src="{% static 'quiz/lemongrass.jpg' %}" style="height:6vw; width:16vw"/>
<div class = "col-md-9 col-sm-12" style="margin-top:2vw;">
<img src="{% static 'quiz/lemongrass.jpg' %}" id="lemongrass"/>

</div>
</div>
Expand Down
67 changes: 65 additions & 2 deletions quiz/templates/quiz/index2.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,50 @@
<!-- Custom styles for this template -->
<link href="{% static 'quiz/css5/new-age.min.css' %}" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<style>
@media only screen and (max-width: 576px) {
#arihant {
height:20vw;
width: 20vw;
}
}
@media only screen and (min-width: 576px) {
#arihant {
height:6vw;
width: 6vw;
}
}
@media only screen and (max-width: 576px) {
#lemongrass {
height:15vw;
width: 50vw;
}
}
@media only screen and (min-width: 576px) {
#lemongrass {
height:6vw;
width: 16vw;
}
}
@media only screen and (min-width: 576px) {
#qfiesta {
display:none;
}
}
@media only screen and (max-width: 576px) {
#logo {
height:5%;
width: 20%;
}
}
@media only screen and (min-width: 576px) {
#logo {
height:3%;
width: 10%;
}
}
</style>


</head>

Expand All @@ -34,7 +78,8 @@
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container">
<img src="{% static 'quiz/saelogo.png' %}" style="width: 10%; height: 1%;" />
<img id = "logo" src="{% static 'quiz/saelogo.png' %}" />
<h1 class="mb-1" id="qfiesta" style="font-size: 1em;font-weight:bold; font-family: 'Georgia, serif';margin-left:60px;"><br />QFIESTA</h1>
<a class="navbar-brand js-scroll-trigger" href="#page-top"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
Expand Down Expand Up @@ -64,7 +109,25 @@
<div class="row h-100">
<div class="col-lg-7 my-auto">
<div class="header-content mx-auto">
<h1 class="mb-5" style="font-family: 'Roboto';">Well then, let the game be ventured!</h1>
<div class = "container" style="padding:0px; margin-bottom:5vw">
<div class = "row">
<div class = "col-md-12">
<h5 style="font-family: 'Georgia, serif';">Sponsored By </h5>

</div>
<div class = "col-md-3 col-sm-12" style="margin-top:2vw;">
<img src="{% static 'quiz/arihant.jpg' %}" id = "arihant"/>

</div>
<div class = "col-md-9 col-sm-12" style="margin-top:2vw;">
<img src="{% static 'quiz/lemongrass.jpg' %}" id="lemongrass"/>

</div>
</div>
<h1 class="mb-5" style="font-family: 'Roboto';margin-top:2vw;">Well then, let the game be ventured!</h1>


</div>

<a href="/get_question" class="btn btn-outline btn-xl js-scroll-trigger" style="font-family: 'Georgia, serif';">Play Now!</a>
</div>
Expand Down
21 changes: 20 additions & 1 deletion quiz/templates/quiz/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,24 @@
text-align: center;
}
}
@media only screen and (min-width: 576px) {
#qfiesta {
display:none;
}
}

@media only screen and (max-width: 576px) {
#logo {
height:5%;
width: 20%;
}
}
@media only screen and (min-width: 576px) {
#logo {
height:3%;
width: 10%;
}
}

</style>
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
Expand All @@ -181,7 +199,8 @@
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container">
<img src="{% static 'quiz/saelogo.png' %}" style="width: 10%; height: 1%;" />
<img id = "logo" src="{% static 'quiz/saelogo.png' %}" />
<h1 class="mb-1" id="qfiesta" style="font-size: 1em;font-weight:bold; font-family: 'Georgia, serif';margin-left:0px;"><br />QFIESTA</h1>

<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
Expand Down