diff --git a/static/style.css b/static/style.css index c43ae28..0405eb0 100644 --- a/static/style.css +++ b/static/style.css @@ -1,8 +1,8 @@ :root { --background: #000; --cyan: #509c93; - --light-gray: #ccc; - --medium-gray: #ddd; + --light-gray: #eee; + --medium-gray: #ccc; --gray: #666; --dark: #aaa; --darker: #888; @@ -62,7 +62,14 @@ h2 { font-size: 2em; } -main h1, h3, strong { +h1 { + padding:1em; +} +h1 img { + padding:0; +} + +main h3, strong { padding: 0; margin: 0; font-family: var(--display-font); @@ -83,7 +90,7 @@ div { } header { - padding: 0 0 2em 0; + padding: 0 0 0 0; } main h1 { @@ -299,12 +306,13 @@ code { flex-direction: row; grid-template-columns: 1em minmax(0, 1fr); gap: 1em; - background: var(--light-gray); + color:var(--light-gray); + background: var(--darkest); overflow-x: auto; } .file-content { - background: var(--light-gray); + background: var(--darkest); overflow-y: hidden; overflow-x: auto; } diff --git a/templates/index.html b/templates/index.html index 0bfefaa..0e00544 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,8 +2,8 @@ {{ template "head" . }}
- -

{{ .meta.Title }}

+ +

[ {{ .meta.Title }} ]

   "{{ .meta.Description }}"

diff --git a/templates/repo-header.html b/templates/repo-header.html index b2a084c..ee207c6 100644 --- a/templates/repo-header.html +++ b/templates/repo-header.html @@ -1,9 +1,8 @@ {{ define "repoheader" }}
- +

- - {{ .name }} + <- {{ .name }} {{ if .ref }} @ {{ .ref }} {{ end }}