From f1258540d0ab8bc8acbff3f31040539d34131e48 Mon Sep 17 00:00:00 2001 From: okalintu Date: Tue, 3 Mar 2015 22:16:57 +0200 Subject: more styling --- f/styles/style.css | 33 +++++++++++++++++++++++++++------ f/templates/adm.html | 11 ++++++----- f/templates/index.html | 5 +++-- 3 files changed, 36 insertions(+), 13 deletions(-) diff --git a/f/styles/style.css b/f/styles/style.css index 639f4ff..246a201 100644 --- a/f/styles/style.css +++ b/f/styles/style.css @@ -1,7 +1,6 @@ body{ background-color:black; color:white; - width:600px; } #container_main{ font-size:24px; @@ -13,17 +12,39 @@ body{ td:first-child{ text-align:right; } -#que td{ - padding-left:20px; -} #que{ -margin-top:50px; + margin-top:50px; + background-color:#202020; +} +#que table,#que th,#que td{ + border:1px solid white; +} +#que td,th{ + padding-left:10px; + padding-right:10px; +} +#que tr:nth-child(2){ + background-color:darkgreen; } #addform{ - + } #addbutton{ width:60px; margin-left:auto; margin-right:auto; } +#adminscreen{ + border:3px solid #202020; + background-color:darkgreen; + font-size:72px; + width:400px; + margin-left:auto; + margin-top:50px; + margin-right:auto; + padding-left:20px; + padding-right:20px; +} +#adminscreen td { + padding-left:10px; +} diff --git a/f/templates/adm.html b/f/templates/adm.html index e8fd0f0..bd78764 100644 --- a/f/templates/adm.html +++ b/f/templates/adm.html @@ -1,6 +1,7 @@ + @@ -8,11 +9,11 @@
-
-
Jonoa: {{qsize}}
-
Rivi: {{que[0].row}}
-
Nimi: {{que[0].name}}
-
+ + + + +
Jonoa: {{qsize}}
Nimi: {{que[0].name}}
Rivi: {{que[0].row}}
diff --git a/f/templates/index.html b/f/templates/index.html index ca72485..b75ee8a 100644 --- a/f/templates/index.html +++ b/f/templates/index.html @@ -23,12 +23,13 @@ - Nimi: + Nimi + - +
RiviNimi
Rivi {{person.row}}:Rivi {{person.row}} {{person.name}}
-- cgit v1.3