From 7bc954b779a9bc4e1c5e60f2648101c62ed22e72 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Mar 2017 18:33:42 +0100 Subject: Reference & list --- templates/default-layout.cassius | 44 +++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 16 deletions(-) (limited to 'templates/default-layout.cassius') diff --git a/templates/default-layout.cassius b/templates/default-layout.cassius index 492cde8..c1ccf72 100644 --- a/templates/default-layout.cassius +++ b/templates/default-layout.cassius @@ -1,5 +1,8 @@ +.main + min-width: 20em .table display: table + border-collapse: collapse .table div vertical-align: middle .td @@ -21,25 +24,32 @@ display: table-cell text-align: left padding: 0.25em +.kind:only-child + text-align: center .table .table .td, .table .table .tc, .table .table .th, .table .table .kind padding: 0 -.error - background-color: #fdd - text-align: center - color: #c00 +#messages list-style-type: none + margin: 1em auto 1em 0 + padding: 0 + text-align: center + font-weight: bold + .formError + color: #800 + .printSuccess + color: #080 button width: 6em - display:inline-text + display: inline-block .day hr width: 2em border: 1px solid #ddd border-style: solid none solid none -.sepBelow > div, .sepAbove > div +.sepBelow, .sepAbove border: 2px none #ddd -.sepBelow > div +.sepBelow border-bottom-style: solid -.sepAbove > div +.sepAbove border-top-style: solid .color:nth-child(even) background-color: #f0f0f0 @@ -50,26 +60,28 @@ body > div .table > h1 display: table-caption nav ul - display:block + display: block text-align: center + padding: 0 li - display:inline-block + display: inline-block font-variant: small-caps font-size: 1.5em font-weight: bold a - text-decoration:none - color:#aaa + text-decoration: underline + color: #aaa a:hover - color:inherit + text-decoration: none li.active a - color:inherit + color: inherit + text-decoration: none li::before - content:" | " + content: " | " color: #ddd li:first-child::before - content:"" + content: "" label.checkbox input vertical-align: middle -- cgit v1.2.3