diff options
author | saadnpq <saadnpq@localhost.localdomain> | 2020-04-11 17:27:29 +0300 |
---|---|---|
committer | saadnpq <saadnpq@localhost.localdomain> | 2020-04-11 17:27:29 +0300 |
commit | 3e561e96721746c47ec950d18453371a32a80d70 (patch) | |
tree | 8e5135b00357515c561fb0d24a05f1bf9c5ceedd | |
parent | fec458c8715852f70f558c250231c53b1b0a1b60 (diff) |
support default example site
-rw-r--r-- | layouts/partials/aside.html | 9 | ||||
-rw-r--r-- | static/css/style.css | 21 |
2 files changed, 29 insertions, 1 deletions
diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 8df3e9a..655fe6e 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -3,7 +3,14 @@ {{if eq .Site.Params.useAvatar true}} <a href="{{ .Site.BaseURL }}"><img src="/avatar.png" alt="avatar"></a> {{end}} - <a id="branding" href="{{ .Site.BaseURL }}">{{ .Site.Title | safeHTML }}</a> + + <a id="branding" href="{{ .Site.BaseURL }}"> + {{with .Site.Params.logo}} + {{ . | safeHTML }} + {{else}} + {{ .Site.Title }} + {{end}} + </a> </header> <nav> diff --git a/static/css/style.css b/static/css/style.css index ef152f5..35d9f9d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -185,9 +185,30 @@ button{ word-break: break-word; } +table { + border-collapse: collapse; +} + +table, th, td { + border: 1px solid rgb(97, 96, 96); +} + +th, td { + padding: 5px 10px; +} + +th { + background-color: rgb(48, 75, 102); +} + +tr:nth-child(even) { + background-color: rgb(32, 32, 32); +} + h1, h2, h3 { border-bottom: 1px solid #3D3D3D; } + #title { text-align: center; margin: 20px; |