From 966ee629775635a31c69fb21cdd55e103653e480 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 28 Feb 2021 12:06:27 -0700 Subject: layout, css cleanup --- templates/layout.html | 86 +++------------------------------------------------ 1 file changed, 5 insertions(+), 81 deletions(-) (limited to 'templates/layout.html') diff --git a/templates/layout.html b/templates/layout.html index 7a784b5..a239bf7 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -19,9 +19,10 @@ div#crane { font-family: monospace; padding: 0em; - margin: 0em; background: white; padding: 4px; + max-width: 55em; + margin: auto; } div#crane a { @@ -155,10 +156,6 @@ div#crane table.list { border-collapse: collapse; } -div#crane table.list tr { - background: white; -} - div#crane table.list:first-child tr:first-child td:first-child { padding-top: 0em; } @@ -168,16 +165,6 @@ div#crane table.list td.sub { font-size: 80%; } -div#crane table.list th { - font-weight: bold; - /* color: #888; - border-top: dashed 1px #888; - border-bottom: dashed 1px #888; - */ - padding: 0.1em 0.5em 0.05em 0.5em; - vertical-align: baseline; -} - div#crane table.list td { border: none; padding: 0.1em 0.5em 0.1em 0.5em; @@ -185,50 +172,14 @@ div#crane table.list td { div#crane table.list td.title { text-decoration: underline; -} - -div#crane table.list td.authors { - max-width: 10em; -} - -div#crane table.list td.year { - max-width: 5em; -} - -div#crane table.list td.doi { - max-width: 5em; -} - -div#crane table.list td a { - color: black; + padding-top: 0.5em; + padding-left: 1.5em; } div#crane table.list td a:hover { color: #00f; } -div#crane img { - border: none; -} - -div#crane td#content { - vertical-align: top; - padding: 1em 2em 1em 1em; - border: none; -} - -div#crane table.nowrap td { - white-space: normal; -} - -div#crane .left { - text-align: left; -} - -div#crane .right { - text-align: right; -} - div#crane table.list td.papersection { font-weight: bold; padding-top: 1em; @@ -236,9 +187,6 @@ div#crane table.list td.papersection { color: black; } -div#crane table.list td.sublevel-paper { -} - div#crane div.footer { margin-top: 0.5em; text-align: center; @@ -254,30 +202,6 @@ div#crane div.footer a { div#crane div.footer a:hover { text-decoration: underline; } - -* { line-height: 1.25em; } - -div#crane { - max-width: 55em; - margin: auto; - -moz-tab-size: 4; - tab-size: 4; -} - -div#crane table.list th a { - color: inherit; -} - -div#crane table.list tr.nohover-highlight:hover:nth-child(even) { - background: inherit; -} - -div#crane table.blob td.linenumbers a:target { - color: goldenrod; - text-decoration: underline; - outline: none; -} - @@ -285,7 +209,7 @@ div#crane table.blob td.linenumbers a:target {
- + {{ block "content" . }}{{ end }} -- cgit v1.2.3-54-g00ecf