abgame/static/css/base.css

249 lines
4.6 KiB
CSS
Raw Normal View History

2023-06-02 09:48:48 +02:00
body {
font-family: 'Courier New', Courier, monospace;
2023-06-03 22:54:37 +02:00
background-color: var(--bg);
2023-06-02 14:14:01 +02:00
}
2023-06-03 16:19:39 +02:00
html,
body {
2023-06-03 22:54:37 +02:00
border-color: var(--br);
color: var(--fg);
2023-06-02 09:48:48 +02:00
}
2023-06-03 02:28:52 +02:00
hr {
display: none;
}
a {
2023-06-03 22:54:37 +02:00
color: var(--fg-lnk);
}
2023-06-02 09:48:48 +02:00
#header {
border-radius: 10px;
text-align: center;
width: 100%;
padding-top: 25px;
padding-bottom: 25px;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-header);
color: var(--fg-header);
2023-06-03 12:13:50 +02:00
font-weight: bolder;
font-size: large;
2023-06-02 09:48:48 +02:00
}
#content {
min-width: 400px;
max-width: 900px;
width: 65%;
2023-06-02 09:48:48 +02:00
margin: 0;
position: absolute;
top: 50%;
left: 50%;
2023-06-02 15:25:02 +02:00
transform: translate(-50%, -50%);
2023-06-02 09:48:48 +02:00
}
.ab {
2023-06-03 16:19:39 +02:00
float: none;
2023-06-02 09:48:48 +02:00
border-radius: 10px;
margin-top: 10px;
justify-content: center;
align-items: center;
display: flex;
padding: 5px;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-ab);
2023-06-02 09:48:48 +02:00
}
.a {
2023-06-03 16:19:39 +02:00
float: left;
2023-06-02 09:48:48 +02:00
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
border: 1px solid transparent;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-a);
color: var(--fg-a);
2023-06-02 14:14:01 +02:00
font-weight: bold;
2023-06-03 16:19:39 +02:00
text-align: left;
font-family: 'Courier New', Courier, monospace;
cursor: pointer;
2023-06-03 13:03:54 +02:00
text-indent: -25px;
padding-left: 50px;
hyphens: auto;
overflow: hidden;
text-overflow: ellipsis;
2023-06-02 09:48:48 +02:00
}
.b {
2023-06-03 16:19:39 +02:00
float: left;
2023-06-02 09:48:48 +02:00
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
border: 1px solid transparent;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-b);
color: var(--fg-b);
2023-06-02 14:14:01 +02:00
font-weight: bold;
2023-06-03 16:19:39 +02:00
text-align: left;
font-family: 'Courier New', Courier, monospace;
cursor: pointer;
2023-06-03 13:03:54 +02:00
text-indent: -25px;
padding-left: 50px;
hyphens: auto;
overflow: hidden;
text-overflow: ellipsis;
}
input[type="radio"] {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
cursor: pointer;
}
2023-06-03 16:19:39 +02:00
.ab input:checked+label {
2023-06-03 22:54:37 +02:00
background-color: var(--bg-ab-chkd);
border: 1px solid var(--br-ab-chkd);
color: var(--fg-ab-chkd);
2023-06-02 09:48:48 +02:00
}
.separator {
2023-06-03 16:19:39 +02:00
float: left;
2023-06-02 09:48:48 +02:00
width: 10%;
box-sizing: border-box;
writing-mode: vertical-lr;
2023-06-03 16:19:39 +02:00
transform: rotate(210deg);
2023-06-02 14:14:01 +02:00
font-size: x-small;
2023-06-03 12:04:59 +02:00
font-weight: bold;
2023-06-02 09:48:48 +02:00
display: flex;
justify-content: center;
align-items: center;
2023-06-03 22:54:37 +02:00
color: var(--fg-sep);
2023-06-02 09:48:48 +02:00
}
2023-06-02 10:55:43 +02:00
2023-06-02 15:25:02 +02:00
#footer {
margin-top: 10px;
2023-06-02 15:25:02 +02:00
}
#questions {
font-size: small;
text-align: center;
width: 45%;
float: left;
border-radius: 10px;
padding-top: 25px;
padding-bottom: 25px;
2023-06-03 22:54:37 +02:00
color: var(--fg-que);
font-weight: bold;
}
#next {
text-align: center;
width: 45%;
float: left;
border: 0px;
border-radius: 10px;
padding-top: 25px;
padding-bottom: 25px;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-nxt);
color: var(--fg-nxt);
font-weight: bold;
font-family: 'Courier New', Courier, monospace;
font-size: medium;
display: block;
cursor: pointer;
2023-06-02 15:25:02 +02:00
}
@media only screen and (max-width:1600px) {
#content {
min-width: 75%;
}
}
@media only screen and (max-width:1280px) {
#content {
min-width: 95%;
}
}
@media only screen and (max-width:640px) {
2023-06-02 10:55:43 +02:00
#content {
min-width: 95%;
transform: none;
position: absolute;
top: 5px;
left: 50%;
2023-06-02 15:25:02 +02:00
transform: translate(-50%);
}
2023-06-02 15:25:02 +02:00
#next {
2023-06-02 19:08:17 +02:00
min-width: 100%;
}
#questions {
2023-06-02 19:08:17 +02:00
min-width: 100%;
padding-top: 0px;
padding-bottom: 5px;
}
2023-06-02 10:55:43 +02:00
.a {
font-size: small;
}
2023-06-03 16:19:39 +02:00
2023-06-02 10:55:43 +02:00
.b {
font-size: small;
}
2023-06-03 18:15:48 +02:00
}
@media (prefers-color-scheme: dark) {
body {
2023-06-03 22:54:37 +02:00
background-color: var(--bg) !important;
2023-06-03 18:15:48 +02:00
}
#header {
2023-06-03 22:54:37 +02:00
background-color: var(--bg-header) !important;
color: var(--fg-header) !important;
2023-06-03 18:15:48 +02:00
}
.a {
border-color: transparent !important;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-a) !important;
color: var(--fg-a) !important;
2023-06-03 18:15:48 +02:00
}
.b {
border-color: transparent !important;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-b) !important;
color: var(--fg-b) !important;
2023-06-03 18:15:48 +02:00
}
.ab {
2023-06-03 22:54:37 +02:00
background-color: var(--bg-ab) !important;
2023-06-03 18:15:48 +02:00
}
.ab input:checked+label {
2023-06-03 22:54:37 +02:00
background-color: var(--bg-ab-chkd) !important;
border-color: var(--br-ab-chkd) !important;
color: var(--fg-ab-chkd) !important;
2023-06-03 18:15:48 +02:00
}
.separator {
2023-06-03 22:54:37 +02:00
color: var(--fg-sep);
2023-06-03 18:15:48 +02:00
}
#next {
border-color: initial !important;
2023-06-03 22:54:37 +02:00
background-color: var(--bg-nxt) !important;
color: var(--fg-nxt) !important;
2023-06-03 18:15:48 +02:00
}
#questions {
2023-06-03 22:54:37 +02:00
color: var(--fg-que) !important;
2023-06-03 18:15:48 +02:00
}
a {
2023-06-03 22:54:37 +02:00
color: var(--fg-lnk) !important;
2023-06-03 18:15:48 +02:00
}
2023-06-03 22:54:37 +02:00
}