summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css41
1 files changed, 12 insertions, 29 deletions
diff --git a/style.css b/style.css
index 2b4ac4c..0466928 100644
--- a/style.css
+++ b/style.css
@@ -2,47 +2,30 @@ body {
color: #ddd;
background-color: #222;
font-family: 'Lato', sans-serif;
- padding: 0em;
- margin: 0em;
-
user-select: none;
-}
-div#container {
- width: 50em;
- height: 12em;
- margin: auto;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
+ height: 100vh;
+ margin: 0;
+ padding: 0;
- cursor: default;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
}
div#time {
- line-height: 8em;
-}
-
-div#time p {
font-size: 8em;
font-weight: 100;
- text-align: center;
- padding: 0em;
- margin: 0em;
+ line-height: 1em;
}
div#date {
- margin-top: 1em;
- line-height: 1.6em;
-}
-
-div#date p {
color: #777;
font-size: 1.6em;
font-weight: 300;
- text-align: center;
- padding: 0em;
- margin: 0em;
+ line-height: 1em;
+
+ margin-top: 1rem;
+ margin-bottom: 1.2rem;
}