abgame/static/css/ab.css

95 lines
1.7 KiB
CSS

body {
font-family: 'Courier New', Courier, monospace;
background-color: rgb(19, 21, 22);
}
html, body {
border-color: #736b5e;
color: #e8e6e3;
}
#header {
border-radius: 10px;
text-align: center;
width: 100%;
padding-top: 25px;
padding-bottom: 25px;
background-color: rgb(79, 86, 89);
color: #eeeeee;
font-weight: bold;
}
#content {
min-width: 400px;
max-width: 900px;
width: 50%;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.ab {
float:none;
border-radius: 10px;
margin-top: 10px;
justify-content: center;
align-items: center;
display: flex;
padding: 5px;
background-color: rgb(83, 97, 111);
}
.a {
float:left;
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
background-color: gold;
color: #000000;
font-weight: bold;
}
.b {
float:left;
width: 45%;
box-sizing: border-box;
padding: 25px;
border-radius: 10px;
background-color: rgb(0, 0, 0);
color: rgb(232, 230, 227);
font-weight: bold;
}
.separator {
float:left;
width: 10%;
box-sizing: border-box;
writing-mode: vertical-lr;
transform:rotate(210deg);
font-size: x-small;
display: flex;
justify-content: center;
align-items: center;
}
@media only screen and (max-width:480px) {
#content {
min-width: 95%;
transform: none;
position: absolute;
top: 5px;
left: 50%;
transform: translate(-50%);
}
.a {
font-size: small;
}
.b {
font-size: small;
}
}