From fe5cd6ad6c61eb13ca99acd1b69cd09b84051404 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 15 Mar 2017 14:47:31 +0100 Subject: Support types --- templates/default-layout.cassius | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'templates/default-layout.cassius') diff --git a/templates/default-layout.cassius b/templates/default-layout.cassius index c1ccf72..bd76a01 100644 --- a/templates/default-layout.cassius +++ b/templates/default-layout.cassius @@ -1,20 +1,20 @@ .main min-width: 20em -.table +.table, table display: table border-collapse: collapse -.table div +.table div, table td vertical-align: middle -.td +.td, td display: table-cell text-align: center padding: 0.25em -.tr +.tr, tr display: table-row .tc display: table-caption padding: 0.25em -.th +.th, th display: table-cell font-variant: small-caps font-weight: bold @@ -26,8 +26,15 @@ padding: 0.25em .kind:only-child text-align: center +.type + display: table-cell + text-align: center + padding: 0.25em + color: #aaa .table .table .td, .table .table .tc, .table .table .th, .table .table .kind padding: 0 +table table td, table table th + padding: 0 #messages list-style-type: none margin: 1em auto 1em 0 @@ -55,7 +62,7 @@ button background-color: #f0f0f0 .color:nth-child(odd) background-color: #fff -body > div +body > div, body > table margin: 0 auto .table > h1 display: table-caption -- cgit v1.2.3