diff options
author | Jordan <me@jordan.im> | 2022-01-02 20:19:49 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-01-02 20:19:49 -0700 |
commit | ce063274e2711e615dc2eea1a44ff1f1867d9d0f (patch) | |
tree | 86b760226297d0ac306a858edf96318ea62ad623 | |
parent | 4f1178fc2a3e5865c2fb1c16c83fc1abb15484f9 (diff) | |
download | crane-ce063274e2711e615dc2eea1a44ff1f1867d9d0f.tar.gz crane-ce063274e2711e615dc2eea1a44ff1f1867d9d0f.zip |
templates: category h1 -> h2, margins
-rw-r--r-- | templates/layout.html | 4 | ||||
-rw-r--r-- | templates/list.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/layout.html b/templates/layout.html index 9f6109b..a4c648f 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -28,13 +28,13 @@ a:visited { color: var(--ansi5); } a.permalink { color: var(--ansi3); text-decoration: none; } div.paper { padding-bottom: 1em; } -div.cat-cont { margin-left: 1em; margin-right: 1em; } +div.cat-cont { } div.cat { justify-content: space-between; display: flex; flex-wrap: wrap; } div.action { padding-bottom: 1em; margin-left: 1em; } span.doi a { text-decoration: none; } span.title a { text-decoration: underline; color: blue; } table.head a { text-decoration: none; } -table.admin { margin-left: 1em; margin-right: 1em; margin-bottom: 1em; } +table.admin { margin-bottom: 1em; } </style> </head> <body> diff --git a/templates/list.html b/templates/list.html index 132bb6d..b9f7fd2 100644 --- a/templates/list.html +++ b/templates/list.html @@ -3,9 +3,9 @@ {{ range $category, $papers := .Papers.List }} {{ $paperCount := len $papers }} {{ if ge $paperCount 1 }} - <h1 id="{{ $category }}"> + <h2 id="{{ $category }}"> <a class="permalink" href="#{{ $category }}">{{ $category }}</a> - </h1> + </h2> {{ range $path, $paper := $papers }} <div class="paper"> {{ if $paper.Meta.Title }} |