aboutsummaryrefslogtreecommitdiff
path: root/_static
diff options
context:
space:
mode:
Diffstat (limited to '_static')
-rw-r--r--_static/ciigo.css43
-rw-r--r--_static/index.gohtml40
2 files changed, 26 insertions, 57 deletions
diff --git a/_static/ciigo.css b/_static/ciigo.css
index ad9f143..61d5c1c 100644
--- a/_static/ciigo.css
+++ b/_static/ciigo.css
@@ -201,41 +201,20 @@ pre {
.topbar {
background-color: var(--light-bg-topbar);
- height: 4rem;
- overflow: hidden;
-}
-
-.topbar .top-heading,
-.topbar .menu {
- font-size: 1.25rem;
font-weight: normal;
- padding: 1.313rem 0;
-}
-.topbar .top-heading {
- float: left;
-}
-.topbar .top-heading a {
- text-decoration: none;
+ padding: 1em;
}
-.top-heading .header-logo {
- height: 2rem;
- width: 5.125rem;
+.topbar .item {
+ display: inline-block;
+ padding: 4px;
+ text-decoration: none;
}
-.topbar .menu {
- float: right;
-}
-.topbar .menu a {
- background-color: var(--light-anchor);
- border-radius: 5px;
- border: 0.0625rem solid var(--light-anchor);
- color: white;
- margin: 0.625rem 0.125rem;
- padding: 0.625rem;
-}
-.topbar .menu form {
- display: inline-block;
+.topbar .title {
+ color: var(--light-fg);
+ font-size: 1.4rem;
+ font-weight: bold;
}
/*}}}*/
@@ -608,7 +587,7 @@ tfoot tr th p {
}
.footer {
- margin: 0.2rem 0;
+ margin: 0.2rem 0 1rem 0;
}
/*}}}*/
@@ -648,7 +627,7 @@ tfoot tr th p {
background-color: var(--dark-bg-topbar);
color: var(--dark-fg);
}
- .topbar .top-heading a {
+ .topbar .title {
color: var(--dark-fg);
}
diff --git a/_static/index.gohtml b/_static/index.gohtml
index decb66c..6b550d1 100644
--- a/_static/index.gohtml
+++ b/_static/index.gohtml
@@ -3,46 +3,36 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="theme-color" content="#375EAB">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
{{- range $k, $v := .Metadata}}
- <meta name="{{$k}}" content="{{$v}}">
-{{- end}}
+ <meta name="{{ $k }}" content="{{ $v }}" />
+{{- end }}
<title>{{.Title}}</title>
{{- if ne .EmbeddedCSS ""}}
<style>
- {{.EmbeddedCSS}}
+{{.EmbeddedCSS}}
</style>
-{{- end}}
-{{- range .Styles}}
- <link rel="stylesheet" href="{{.}}">
-{{- end}}
+{{- end }}
+{{- range.Styles }}
+ <link rel="stylesheet" href="{{.}}" />
+{{- end }}
</head>
<body>
<div class="topbar">
- <div class="container">
- <div class="top-heading">
- <a href="/">{{.Title}}</a>
- </div>
- <div class="menu">
- <form class="item" action="/_internal/search">
- <input type="text" name="q" placeholder="Search" />
- </form>
- </div>
- </div>
+ <a class="item title" href="/">{{.Title}}</a>
+ <form class="item" action="/_internal/search">
+ <input type="text" name="q" placeholder="Search" />
+ </form>
</div>
+
<div class="page">
<div class="container">
{{.Body}}
</div>
</div>
<div class="footer">
- Powered by <a
- href="https://git.sr.ht/~shulhan/ciigo"
- >
- ciigo
- </a>
+ Powered by <a href="https://git.sr.ht/~shulhan/ciigo"> ciigo </a>
</div>
</body>
</html>