summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2023-11-19 16:33:24 -0500
committercyfraeviolae <cyfraeviolae>2023-11-19 16:33:24 -0500
commit8b1d9b24ab0c92c7ab1517ccecb4903017ad53d8 (patch)
tree0d2ddc91b70efcb4cb852fab940084e59d60708a /static
parent0b23bd4e20eb7d5bb06642f9eb3087cdc6ecebe8 (diff)
3 cols
Diffstat (limited to 'static')
-rw-r--r--static/styles.css26
1 files changed, 24 insertions, 2 deletions
diff --git a/static/styles.css b/static/styles.css
index 0a0dad9..8ad4369 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -8,10 +8,16 @@
#game {
display: grid;
- grid-template-columns: 1fr 1fr 1fr 1fr;
+ grid-template-columns: 1fr 1fr 1fr;
gap: .5em;
}
+@media only screen and (min-width: 700px) {
+ #game {
+ grid-template-columns: 1fr 1fr 1fr 1fr;
+ }
+}
+
.box {
border: 1px darkslategrey dotted;
border-radius: 4px;
@@ -26,6 +32,15 @@
user-select: none;
}
+.box:last-child {
+ grid-column-start: 2;
+}
+@media only screen and (min-width: 700px) {
+ .box:last-child {
+ grid-column-start: initial;
+ }
+}
+
.box:hover {
border: 1px darkslategrey solid;
background: #f7f1e4;
@@ -44,7 +59,7 @@
.answer {
grid-column-start: 1;
- grid-column-end: 5;
+ grid-column-end: 4;
border: 1px darkslategrey dotted;
border-radius: 4px;
word-break: break-all;
@@ -56,6 +71,13 @@
font-family: Cantarell;
}
+@media only screen and (min-width: 700px) {
+ .answer {
+ grid-column-end: 5;
+ }
+}
+
+
.answerline {
font-weight: bold;
font-size: large;