From 8fe4e8b8e723f557bd0e48c68c99af2f14b5d382 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 24 Feb 2014 02:14:36 -0800 Subject: Change font and centre on page. --- style.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index f6f460d..0a0583b 100644 --- a/style.css +++ b/style.css @@ -1,25 +1,43 @@ body { - font-family: "Open Sans"; color: #ddd; background-color: #222; + font-family: 'Lato', sans-serif; padding: 0em; margin: 0em; } +div#container { + width: 50em; + height: 12em; + margin: auto; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; +} + div#time { - margin-top: 4em; + line-height: 8em; } div#time p { font-size: 8em; + font-weight: 100; text-align: center; padding: 0em; margin: 0em; } +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; -- cgit v1.2.3-70-g09d2