summaryrefslogtreecommitdiff
path: root/md/wedding/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'md/wedding/styles.css')
-rw-r--r--md/wedding/styles.css38
1 files changed, 36 insertions, 2 deletions
diff --git a/md/wedding/styles.css b/md/wedding/styles.css
index 01968fe..1047539 100644
--- a/md/wedding/styles.css
+++ b/md/wedding/styles.css
@@ -37,6 +37,40 @@
background-color: var(--teal);
}
+@media screen and (max-width: 1400px) {
+ #topnav {
+ position: static;
+ }
+}
+
+@media screen and (max-width: 800px) {
+ #topnav {
+ position: static;
+ }
+
+ #topnav a {
+ display: block;
+ padding: 0.25em;
+ }
+
+ article {
+ margin: 0;
+ padding: 0;
+ }
+
+ figure {
+ display: inline-block;
+ margin: 0;
+ padding: 0;
+ width: 80%;
+ }
+
+ figure figcaption {
+ font-size: 0em;
+ }
+
+}
+
html {
margin: 0;
padding: 0;
@@ -61,8 +95,8 @@ article {
figure {
margin: none;
- margin-left: auto%;
- margin-right: auto%;
+ margin-left: auto;
+ margin-right: auto;
padding: 2em;
background-color: white;
box-shadow: 0 0 5px black;