This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
Stairway-js/res/Stairway-js.css

155 lines
2.6 KiB
CSS
Raw Normal View History

2021-05-30 05:29:24 +00:00
/*
* Stairway.js: a simple JavaScript privacy quiz
* Copyright © 2021 luca0N!
*
* This file is part of Stairway.js.
*
* Stairway.js is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Stairway.js is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Stairway.js. If not, see <https://www.gnu.org/licenses/>.
*
* E-mail contact: <luca0n@luca0n.com>.
*/
2021-05-31 01:06:26 +00:00
html {
scroll-behavior: smooth;
}
2021-05-30 05:29:24 +00:00
body {
margin-left: 15%;
margin-right: 15%;
}
2021-05-30 05:42:35 +00:00
#results {
display: none;
2021-05-31 00:59:37 +00:00
animation-duration: 1s;
animation-name: fadein;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
2021-05-30 05:42:35 +00:00
}
2021-05-30 05:29:24 +00:00
.warning {
color: white;
background-color: orange;
padding: 4px;
}
.badge-small {
padding: 6px 6px 2px 6px;
font-weight: bold;
text-shadow: 0 0 2px #000c;
}
.badge {
2021-05-30 19:31:16 +00:00
display: none;
2021-05-30 05:29:24 +00:00
padding: 14px;
font-weight: bold;
font-size: 32pt;
box-shadow: 0px 0px 5px gray;
text-shadow: 0 0 2px #000c;
}
.grade-s {
color: white;
background: linear-gradient(#881df9, #881db9);
border-radius: 24px;
}
.grade-a{
color: white;
background: linear-gradient(#50d50d, #0a0);
border-radius: 18px;
}
.grade-b{
color: white;
background: linear-gradient(#afff00, #d4db00);
border-radius: 12px;
}
.grade-c{
color: white;
background: linear-gradient(#ff0, #fc0);
border-radius: 8px;
}
.grade-d{
color: white;
background: linear-gradient(#f4a50d, #f36d0c);
border-radius: 6px;
}
.grade-e{
color: white;
background: linear-gradient(#ff7800, #bd0000);
border-radius: 4px;
}
.grade-f{
color: white;
background: linear-gradient(#ca0000, #4a0000);
}
.section-question {
margin-top: 32px;
margin-bottom: 32px;
padding: 15px;
border-style: dashed;
}
#warning {
display: none;
}
2021-05-31 00:59:37 +00:00
#quiz {
animation-duration: 1s;
animation-name: fadein;
}
2021-05-30 05:29:24 +00:00
#quiz-title, #quiz-author {
display: none;
}
.question {
font-weight: bold;
}
.section-report {
margin-top: 12px;
padding: 15px;
border: solid;
}
2021-05-30 20:10:16 +00:00
.report-title {
2021-05-30 05:29:24 +00:00
font-weight: bold;
}
2021-05-30 20:10:16 +00:00
.report-type {
2021-05-30 05:29:24 +00:00
padding: 4px 4px 0px 4px;
text-shadow: 0 0 2px #0005;
box-shadow: 2px 2px 2px #0004;
}
.report-good {
color: white;
background-color: #3C0;
}
.report-warning {
background-color: yellow;
}
.report-bad {
background-color: orange;
}
.report-critical {
color: white;
background-color: red;
}