a bit more shiny

This commit is contained in:
2024-06-06 17:24:15 +01:00
parent 7e0796a50e
commit 52efa04b35
3 changed files with 18 additions and 11 deletions

View File

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

View File

@@ -2,8 +2,8 @@
<html> <html>
{{ template "head" . }} {{ template "head" . }}
<header> <header>
<img width=64 height=64 src="https://i.nostr.build/9zPBz.png"> </img>
<h1> <img width=64 height=64 src="https://i.nostr.build/9zPBz.png">{{ .meta.Title }}</h1> <h1> [ {{ .meta.Title }} ]</h1>
<h3>&nbsp;&nbsp;&nbsp;"{{ .meta.Description }}"</h3> <h3>&nbsp;&nbsp;&nbsp;"{{ .meta.Description }}"</h3>
</header> </header>
<body> <body>

View File

@@ -1,9 +1,8 @@
{{ define "repoheader" }} {{ define "repoheader" }}
<header> <header>
<img width=64 height=64 src="https://i.nostr.build/9zPBz.png"> </img>
<h2> <h2>
<a href="/"><img width=64 height=64 src="https://i.nostr.build/9zPBz.png"></a> <a href="/"><-</a> {{ .name }}
<a href="/"></img></a> {{ .name }}
{{ if .ref }} {{ if .ref }}
<span class="ref">@ {{ .ref }}</span> <span class="ref">@ {{ .ref }}</span>
{{ end }} {{ end }}