38894-vm/static/css/quiz.css
Pragati Verma 9d2adf338d
Version 1.0 ready (#1)
* FEAT: Basic app completed & file uploading added

* Added pdf/txt support and quiz template

* FEAT: PDF/TEXT uploading and getting file contents done

* Updated .gitignore

* Modified quiz template

* Fix UI - Added CSS to upload page

* Feat Quiz UI - Added CSS to Quiz Page

* Feat: Question Extraction - Extract questions from raw text

* Feat: added incorrect answer generation

* Feat: Tied together question extraction and incorrect anwer generation

* Fix: handle word not in vocabulary error

* Fix: added document as argument to get_questions_dict

* Feat: Integrated uploading file and question generation; needs fixes

* Feat Quiz UI - added correct answer UI

* Feat: Clean text for better processing

* Fix UI - added gradient and spacing

* Feat UI - Added uploading animation

* Fixed options issue on quiz screen

* Fix UI - added fonts, favicon etc

* Fix - Formatted code

* Feat UI - added fork me on github ribbon

* Feat: Added quiz result functionality

* Fix UI - added text to landing page

* Fix UI - added CSS to submit button

* Feat UI - added CSS to results page

Co-authored-by: user86 <kshitij.kotasthane@gmail.com>
Co-authored-by: telescopic <vigneshsuresh1775@gmail.com>
2020-10-11 23:35:13 +05:30

106 lines
2.8 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
html,
body {
position: relative;
overflow-x: hidden !important;
}
body {
user-select: none;
margin: 0;
padding: 0;
counter-reset: points;
background-color: #77aa77;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2377aa77'/%3E%3Cstop offset='1' stop-color='%234fd'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E");
background-attachment: fixed;
background-size: cover;
font-family: "helvetica", sans-serif !important;
}
a {
text-decoration: none;
color: inherit;
}
section {
padding-top: 150px;
}
main {
-webkit-box-shadow: 0 10px 6px -6px #777;
-moz-box-shadow: 0 10px 6px -6px #777;
box-shadow: 0 10px 6px -6px #777;
color: #000000;
background: #ffffff;
border-radius: 10px;
padding: 50px 40px 50px;
width: 95%;
max-width: 590px;
margin: auto;
}
.text-container {
text-align: center;
}
input[type="radio"] {
display: none;
}
input[type="radio"] + label {
display: inline-block;
width: 100%;
padding: 10px;
border: 1px solid #ddd;
margin-bottom: 10px;
cursor: pointer;
}
input[type="radio"] + label:hover {
border: 1px solid #000000;
}
input[type="radio"]:checked + label {
background-image: none;
background-color: #0c0;
color: #fff;
border: 1px solid #0c0 !important;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.worngans {
background-color: #f36;
color: #fff;
border: 1px solid #f36 !important;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.end {
margin: auto;
}
.button.is-fullwidth {
display: flex;
width: 50%;
margin: auto;
margin-top: 30px;
}