add styling for timer

This commit is contained in:
Akbar Rahman 2021-12-01 15:11:20 +00:00
parent 53e7d62280
commit 75298991e7
Signed by: alvierahman90
GPG Key ID: 20609519444A1269
2 changed files with 14 additions and 32 deletions

View File

@ -49,6 +49,18 @@
background: var(--good);
}
#time {
background: var(--blue);
}
#gameinfo {
display: flex;
}
#gameinfo * {
margin: 0 0.5em 0 0.5em;
}
#previousQuestionAnswer { background: var(--green) }
#game .answer {

View File

@ -1,3 +1,5 @@
@import url("https://alv.cx/styles.css");
:root {
--default-bg: #fefefe;
--dark-bg: #b8b8b8;
@ -32,35 +34,3 @@ body {
}
}
a { color: #07a; }
a:visited { color: #941352; }
img[class="centered"] {
margin: 0 auto;
display: block;
}
table {
border-collapse: collapse;
margin: 1em auto;
}
th, td {
padding: 1em;
border: 1px solid #454545;
margin: 0;
}
pre {
background-color: #d9d9d9 ;
color: #000;
padding: 1em;
}
details {
padding: 1em 0 1em 0;
}
li {
margin-bottom: 1em;
}