summaryrefslogtreecommitdiff
path: root/snippets/style.css
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2022-08-22 13:57:44 +0200
committerpdp8 <pdp8@pdp8.info>2022-08-22 13:57:44 +0200
commite028591e8142827a878c4f94f561e73d2b888faf (patch)
tree95153e295200d2a8be22a799931dfce35bcba9c7 /snippets/style.css
parente3c672f4648997dbe00624e09c63c990a8ea3596 (diff)
images, contacts, layout
Diffstat (limited to 'snippets/style.css')
-rw-r--r--snippets/style.css114
1 files changed, 66 insertions, 48 deletions
diff --git a/snippets/style.css b/snippets/style.css
index fc0054a..b4a797f 100644
--- a/snippets/style.css
+++ b/snippets/style.css
@@ -4,36 +4,27 @@ body {
font-family: sans-serif;
}
-img, video {
- max-width: 100%;
- max-height: 90vh;
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-iframe {
- width: 100%;
- height: 90vh;
-}
-
-a {
- color: #888;
- text-decoration: none;
-}
-
-dl { overflow: hidden; }
-
-dt {
- float:left;
- width: 3em;
- height: 2em;
- margin-left: 2em;
- clear:both;
+@media screen and (max-width: 600px) {
+ nav {
+ display: inline-block;
+ width: 100%;
+ height: 100%;
+ }
+ nav #logo { display: inline; }
+ nav .item {
+ background: #000;
+ display: none;
+ padding: 0.1em 0.5em;
+ }
+ nav .fa-bars {
+ float: right;
+ display:inline;
+ font-size: 2em;
+ padding-top: 0.25em;
+ padding-right: 0.75em;
+ }
}
-dd { float:left; }
-
nav {
background: #000;
color: #fff;
@@ -65,32 +56,60 @@ nav .fa-bars { display:none; }
nav a:hover { color: #fff; }
-@media screen and (max-width: 600px) {
- nav {
- display: inline-block;
- width: 100%;
- height: 100%;
- }
- nav #logo { display: inline; }
- nav .item {
- background: #000;
- display: none;
- padding: 0.1em 0.5em;
- }
- nav .fa-bars {
- float: right;
- display:inline;
- font-size: 2em;
- padding-top: 0.25em;
- padding-right: 0.75em;
- }
+.post {
+ padding: 1em;
+}
+
+/*
+.album {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+*/
+
+img, video {
+ max-width: 100%;
+ max-height: 80vh;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
}
+iframe {
+ width: 100%;
+ height: 90vh;
+}
+
+a {
+ color: #888;
+ text-decoration: none;
+}
+
+/*
+dl { overflow: hidden; }
+
+dt {
+ float:left;
+ width: 3em;
+ height: 2em;
+ margin-left: 2em;
+ clear:both;
+}
+
+dd { float:left; }
+*/
+
#image {
padding-top: 2.5%;
padding-bottom: 1%;
}
+#cover {
+ max-height: 50vh;
+ margin-left: 0;
+}
+
#controller {
position: fixed;
left: 0;
@@ -122,7 +141,6 @@ nav a:hover { color: #fff; }
#prev:hover, #next:hover { text-decoration: none; }
#prev:active, #next:active { color: black; }
-.post { padding: 1em; }
/* bottom */
.pager { width: 100%; }