From 6db74a1754d4835bb1d5ab228f40528e036b8056 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Fri, 28 Aug 2020 21:07:11 -0400 Subject: initial commit --- index.css | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 index.css (limited to 'index.css') 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; +} -- cgit