summaryrefslogtreecommitdiff
path: root/index.css
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-08-28 21:07:11 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-08-28 21:07:11 -0400
commit6db74a1754d4835bb1d5ab228f40528e036b8056 (patch)
tree94e192e7aac9e4abd86ca5f3f51edf58b1a8654c /index.css
initial commit
Diffstat (limited to 'index.css')
-rw-r--r--index.css78
1 files changed, 78 insertions, 0 deletions
diff --git a/index.css b/index.css
new file mode 100644
index 0000000..e9b0f34
--- /dev/null
+++ b/index.css
@@ -0,0 +1,78 @@
+
+body > div > * {
+ width: 50%;
+ display: inline-block;
+ text-align: center;
+ overflow: hidden;
+ margin: 0;
+ line-height: initial;
+ font-size: 225%;
+ font-size: min(3.6vw,225%);
+ position: relative;
+ vertical-align: /*text-top*/ center;
+}
+
+body > div > span > * {
+ padding: 0px 10px;
+}
+
+h1 {
+ font-size: 2em;
+}
+
+h2, h3 {
+ font-weight: normal;
+ font-size: 120%;
+}
+
+p {
+ font-size: 80%;
+}
+
+@font-face {
+ font-family: 'Glacial';
+ src: url("./glacr.otf");
+}
+@font-face {
+ font-family: 'Glacial';
+ font-weight: bold;
+ src: url("./glacb.otf");
+}
+
+body {
+ background-color: blue;
+ background-image: url(mountains.jpg), linear-gradient(#eff,#cff);
+ background-size: cover;
+ background-repeat: no-repeat;
+ min-height: 100vh;
+ min-height: calc(var(--vh, 1vh) * 100); /* fix for mobile Safari disobedience of web standards, with JS */
+ margin: 0 auto;
+ line-height: 0px;
+ max-width: 1000px;
+ display: flex;
+ flex-direction: column;
+ font-family: 'Glacial', sans-serif;
+}
+
+body > div {
+ flex: 1;
+}
+
+footer {
+ font-size: .9rem;
+ line-height: .9rem;
+ width: 100%;
+ text-align: center;
+}
+
+body > div, footer {
+ background-color: rgba(255,255,255,25%);
+}
+
+a, a:visited {
+ color: navy;
+}
+
+a:hover {
+ text-decoration: none;
+}