aboutsummaryrefslogtreecommitdiff
path: root/hp_assets/css/main.css
diff options
context:
space:
mode:
authorUnknown <philipp_kutyla@gmx.de>2017-02-20 14:57:52 +0100
committerUnknown <philipp_kutyla@gmx.de>2017-02-20 14:57:52 +0100
commit7675aad8555d1943c0d06a9fc662aa9164cfce7f (patch)
tree04384d22c690a5f5def439fd59b436ec2c81b24f /hp_assets/css/main.css
parentef8940a0035d95f08f204601c8a7168ffd9058d8 (diff)
downloadsimple-dash-fork-7675aad8555d1943c0d06a9fc662aa9164cfce7f.zip
Responsiveness, scrolling in link-wrapper
Diffstat (limited to 'hp_assets/css/main.css')
-rw-r--r--hp_assets/css/main.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/hp_assets/css/main.css b/hp_assets/css/main.css
new file mode 100644
index 0000000..65d1779
--- /dev/null
+++ b/hp_assets/css/main.css
@@ -0,0 +1,58 @@
+html {height: 100%; width: 100%;}
+body {font-family: sans-serif; background: url("../img/sayagata-400px.png") repeat; z-index: 1; height: 100%; width: 100%; background-position: center; background-attachment: fixed;}
+
+.hidden {display: none;}
+.menu-item {display: none; z-index: 3;}
+
+#bg-overlay {
+ position:fixed;
+ padding:0;
+ margin:0;
+ top:0;
+ left:0;
+ width: 100%;
+ height: 100%;
+ background-color: #fff;
+ opacity: 0;
+ z-index: 2;
+ transition: .3s all;
+}
+
+
+body.menu-shown #bg-overlay {opacity: 0.3;}
+
+#mobile-menu-wrap {z-index: 3; position: absolute; top: 15px; left: 15px;}
+#mobile-menu-wrap a {font-size: 20px;}
+
+.bg {border-radius: 5px; background-color: rgba(0, 0, 0, .5); padding: 20px;}
+.bg a {color: #fff;}
+
+#links-wrap {font-size: 80px;
+ position: fixed;
+ left: 50%;
+ top: 50%;
+
+ transform: translate(-50%, -50%);
+
+ /*
+ Not even necessary really.
+ e.g. Height could be left out!
+ */
+ width: -moz-fit-content;
+ width: -webkit-fit-content;
+
+
+ max-width: 80%;
+ max-height: 90%;
+ overflow: auto;
+ display: flex;
+
+}
+#links-wrap a {transition: .3s all;}
+#links-wrap a:hover {color: #d3d3d3;}
+#links-wrap .link {display: inline-block; width: 33%; float: left; text-align: center;}
+
+#pic-info-wrap {color: #fff; font-size: 16px; position: absolute; bottom: 15px; left: 15px;}
+#pic-info-wrap a:hover, #pic-info-wrap a:active {color: #fff; text-decoration: none;}
+
+#clock-wrap {color: #fff; font-size: 30px; position: absolute; top: 15px; right: 15px;}