summaryrefslogtreecommitdiff
path: root/html/style.css
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-08-16 15:25:17 +0200
committerpdp8 <pdp8@pdp8.info>2023-08-16 15:25:17 +0200
commitac90ab7c69b35546135cacf9ed2ed98261047dac (patch)
tree0eac8141030f85525ec56dbee3dea90ea4a5c600 /html/style.css
parenta3ab009e96db2269dcf3f6dd1c103aa885186ee4 (diff)
mail and social
Diffstat (limited to 'html/style.css')
-rw-r--r--html/style.css108
1 files changed, 108 insertions, 0 deletions
diff --git a/html/style.css b/html/style.css
new file mode 100644
index 0000000..63fdb65
--- /dev/null
+++ b/html/style.css
@@ -0,0 +1,108 @@
+body {
+ width: 100vw;
+ margin: 0;
+ font-family: sans-serif;
+}
+
+nav {
+ background: #000;
+ color: #fff;
+ padding: 0.75em 0 1em 0;
+}
+
+nav a {
+ padding: 0 1em;
+ text-decoration: none;
+}
+
+nav img {
+ height: 2em;
+ display: inline;
+ vertical-align: bottom;
+}
+
+nav #logo img { height: 2em; }
+
+nav .current { color: #fff; }
+
+nav #menu { display:none; }
+
+nav a:hover { color: #fff; }
+
+@media screen and (max-width: 600px) {
+ nav .item {
+ display: none;
+ padding-left: 1em;
+ padding-top: 0.5em;
+ }
+
+ nav #menu {
+ float: right;
+ display: inline;
+ font-size: 2em;
+ }
+}
+
+.post { padding: 1em; }
+
+img, video {
+ max-width: 100%;
+ max-height: 80vh;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+iframe {
+ width: 100%;
+ height: 90vh;
+ border: none;
+}
+
+a {
+ color: #888;
+}
+
+#image {
+ padding-top: 2.5%;
+ padding-bottom: 1%;
+}
+
+.cover {
+ max-height: 50vh;
+ margin-left: 0;
+}
+
+
+#controller {
+ position: fixed;
+ left: 0;
+ bottom: 2.5%;
+ width: 100%;
+ text-align: center;
+ padding: 0
+}
+
+.btn {
+ display: inline-block;
+ cursor: pointer;
+ color: #000;
+ font-size: 2em;
+ font-weight: bold;
+ width: 4em;
+}
+
+#prev, #next {
+ cursor: pointer;
+ position: absolute;
+ color: lightgrey;
+ font-weight: bold;
+ font-size: 8em;
+ transition: 0.5s ease;
+ bottom: 6vh;
+}
+
+#prev { left: 1%; }
+#next { right: 1%; }
+#prev:hover, #next:hover { text-decoration: none; }
+#prev:active, #next:active { color: black; }