summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-02-26 06:40:01 -0500
committercyfraeviolae <cyfraeviolae>2022-02-26 06:40:01 -0500
commit4cf019616531b2deab13e8e0eb5ae4bf7396585b (patch)
tree04e289ac4cd6a81bf00d648732ce23d44b96c3d9 /static
parent0e76cc78ac29dd204068a3f5483cf30ff478407a (diff)
responsive
Diffstat (limited to 'static')
-rw-r--r--static/styles.css21
1 files changed, 15 insertions, 6 deletions
diff --git a/static/styles.css b/static/styles.css
index 03f8ee1..e5d471f 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -34,16 +34,25 @@ body {
color: DarkSlateGrey;
font-family: Charter, serif;
font-size: 18px;
+ text-align: center;
+ line-height: 1;
}
.container {
margin: 0 auto;
- margin-top: 6em;
- max-width: 40em;
- border: 1px DarkSlateGrey dotted;
- border-radius: 4px;
- padding: 2em;
- box-shadow: 4px 4px 0px DarkSlateGrey;
+ text-align: left;
+ display: inline-block;
+ margin: 1em;
+}
+
+@media only screen and (min-width: 700px) {
+ .container {
+ margin-top: 10%;
+ border: 1px DarkSlateGrey dotted;
+ border-radius: 4px;
+ box-shadow: 4px 4px 0px DarkSlateGrey;
+ padding: 2em;
+ }
}
p {