abgame/static/css/ab.css

162 lines
2.9 KiB
CSS
Raw Normal View History

2023-06-02 09:48:48 +02:00
body {
font-family: 'Courier New', Courier, monospace;
2023-06-02 14:14:01 +02:00
background-color: rgb(19, 21, 22);
}
html, body {
border-color: #736b5e;
color: #e8e6e3;
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-02 14:14:01 +02:00
background-color: rgb(79, 86, 89);
color: #eeeeee;
font-weight: bold;
2023-06-02 09:48:48 +02:00
}
#content {
min-width: 400px;
max-width: 900px;
width: 50%;
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 {
float:none;
border-radius: 10px;
margin-top: 10px;
justify-content: center;
align-items: center;
display: flex;
padding: 5px;
2023-06-02 14:14:01 +02:00
background-color: rgb(83, 97, 111);
2023-06-02 09:48:48 +02:00
}
.a {
float:left;
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
border: 1px solid transparent;
2023-06-02 14:14:01 +02:00
background-color: gold;
2023-06-02 18:40:46 +02:00
color: black;
2023-06-02 14:14:01 +02:00
font-weight: bold;
text-align:left;
font-family: 'Courier New', Courier, monospace;
cursor: pointer;
2023-06-02 09:48:48 +02:00
}
.b {
float:left;
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
border: 1px solid transparent;
2023-06-02 18:40:46 +02:00
background-color: black;
color: gold;
2023-06-02 14:14:01 +02:00
font-weight: bold;
text-align:left;
font-family: 'Courier New', Courier, monospace;
cursor: pointer;
}
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;
}
.ab input:checked + label {
2023-06-02 18:40:46 +02:00
background-color: cornsilk;
border: 1px solid #000000;
2023-06-02 18:40:46 +02:00
color: #333333;
2023-06-02 09:48:48 +02:00
}
.separator {
float:left;
width: 10%;
box-sizing: border-box;
writing-mode: vertical-lr;
transform:rotate(210deg);
2023-06-02 14:14:01 +02:00
font-size: x-small;
2023-06-02 09:48:48 +02:00
display: flex;
justify-content: center;
align-items: center;
}
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;
color: #eeeeee;
font-weight: bold;
}
#next {
text-align: center;
width: 45%;
float: left;
border: 0px;
border-radius: 10px;
padding-top: 25px;
padding-bottom: 25px;
background-color: rgb(79, 86, 89);
color: #eeeeee;
font-weight: bold;
font-family: 'Courier New', Courier, monospace;
display: block;
cursor: pointer;
2023-06-02 15:25:02 +02:00
}
2023-06-02 10:55:43 +02:00
@media only screen and (max-width:480px) {
#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 10:55:43 +02:00
}
2023-06-02 15:25:02 +02:00
#next {
min-width: 95%;
}
#questions {
min-width: 95%;
padding-top: 0px;
padding-bottom: 5px;
}
2023-06-02 10:55:43 +02:00
.a {
font-size: small;
}
.b {
font-size: small;
}
}