ari.lt/content/styles/amiunique/index.css

91 lines
1.2 KiB
CSS
Raw Normal View History

*,
*::before,
*::after {
background-color: #181818;
color: whitesmoke;
font-family: sans-serif;
word-wrap: break-word;
word-break: break-all;
}
body {
padding: 2em;
margin: auto;
max-width: 1000px;
}
h1,
h2:not(div[data-question] > h2) {
text-align: center;
}
div[data-question] h2 {
margin: 0.3em 0.1em 0.2em;
}
header {
margin: 1em;
}
input {
margin: initial;
padding: initial;
}
button {
margin: 1em;
width: 30%;
padding: 1em;
border-color: transparent;
border-radius: 3px;
background-color: #202020;
}
button:hover,
button:focus {
cursor: pointer;
background-color: #222222;
}
p {
padding: 1em;
}
a {
font-weight: bold;
}
a:hover,
a:focus {
color: ghostwhite;
}
input {
margin: 0 0.5em 0.1em;
}
#score {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #282828aa;
z-index: 2;
cursor: pointer;
}
#score h1 {
background-color: initial;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
margin: 0;
}