diff options
author | Marvin Borner | 2018-09-04 15:51:42 +0200 |
---|---|---|
committer | Marvin Borner | 2018-09-04 15:51:42 +0200 |
commit | c7cb0e1cf82760a9d32801616c45eb87e7d50c2a (patch) | |
tree | a58563cc82ef4f78c978b7a9732fc47df903d12e /styles.css | |
parent | 3e5fc65ce9382cfd185296440bb06425f664405e (diff) |
Added conversation content :art: :sparkles:
Diffstat (limited to 'styles.css')
-rw-r--r-- | styles.css | 49 |
1 files changed, 48 insertions, 1 deletions
@@ -1,8 +1,55 @@ -body { +html, body { + overflow: hidden; margin: 0; + font-family: 'Space Mono', monospace; background-color: #0c0c1c; + height: 100%; + width: 100%; } +/* + Background + */ canvas { display: block; + vertical-align: bottom; +} + +.starBackground { + position: absolute; + z-index: 1; + width: 100%; + height: 100%; +} + +/* + Content + */ +.contentWrapper { + position: relative; + height: 100%; + width: 100%; +} + +.content { + position: absolute; + text-align: center; + color: #fff; + font-size: 2vh; + max-width: 85%; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +@media only screen and (max-width: 600px) { + .content { + width: 95%; + } +} + +@media only screen and (max-width: 400px) { + .content { + font-size: 1.5vh; + } }
\ No newline at end of file |