diff options
author | zlg <zlg@zlg.space> | 2023-04-01 23:41:02 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2023-04-01 23:41:02 -0700 |
commit | 776605926111b462bba2d397b150b0447da8b6d9 (patch) | |
tree | 662e432e52faf395dcb6921971e92f4cdbcfa19d /timer.css | |
download | zsst-776605926111b462bba2d397b150b0447da8b6d9.tar.gz zsst-776605926111b462bba2d397b150b0447da8b6d9.tar.bz2 zsst-776605926111b462bba2d397b150b0447da8b6d9.tar.xz zsst-776605926111b462bba2d397b150b0447da8b6d9.zip |
Initial commit
This is a simple streaming timer meant to be hooked up to OBS and
customized using a separate CSS file.
Diffstat (limited to 'timer.css')
-rw-r--r-- | timer.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/timer.css b/timer.css new file mode 100644 index 0000000..253d895 --- /dev/null +++ b/timer.css @@ -0,0 +1,30 @@ +html, body { + margin: 0; + padding: 0; +} + +body { + height: 100vh; + max-height: 100vh; +} + +#page { + font-size: 85vh; + /* other font sizes, depending on CEF support */ + /* font-size: min(30vmin, max(90vh, calc(100vw * 0.40))); */ + /* font-size: clamp(10vmin, 90vh, calc(100vw * 0.40)); */ + height: 100%; + line-height: 1.1; +} + +#countdown { + color: #fc6; + box-sizing: border-box; + text-shadow: 0 0.05em 0.08em #000; + padding-top: 4vh; + display: flex; + align-items: center; + justify-content: center; + height: 100%; + margin: 0 auto; +} |