diff --git a/site.tmpl b/site.tmpl index a3d3d41..077ec28 100644 --- a/site.tmpl +++ b/site.tmpl @@ -4,7 +4,7 @@ - + {{ .Site.Other.Title }}{{ if .Title }}: {{ .Title }}{{ end }} @@ -18,7 +18,7 @@ {{ define "footer" }}
gostaticで創作しました。 - ページのGitリポジトリ + ページのGitリポジトリ
Valid XHTML 1.1 @@ -39,26 +39,25 @@ {{ end }} {{ define "page" }}{{ template "header" . }}
- 支援♡: - Monero + 支援♡ : Monero

{{ replace "" "" ( replace "
" "
" .Content ) }}{{ template "footer" . }}{{ end }}
@@ -66,8 +65,8 @@
 {{ define "date" }}{{ .Format "2006年01月02日" }}{{ end }}
 
 {{ define "pagelist" }}{{ range . }}    
-
{{ template "date" .Date }}
- + {{ template "date" .Date }} + {{ .Title }}
{{ end }}{{ end }} diff --git a/src/static/style.css b/src/static/style.css index 1286e35..cca820e 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -38,6 +38,9 @@ td, th { } @media screen and (max-width: 840px) { + body { + background-image: none; + } .container { padding: 0; border: 0; @@ -48,6 +51,7 @@ td, th { .header-img { display: block; max-width: 100%; + margin-bottom: 0.5em; } a { @@ -105,73 +109,15 @@ h1 { margin-block: 0.5em; } -.mb5 > div { +.mb5 > span { display: inline-block; } -.header-links { - margin-block: 0.25em; -} - -.header-links > a { - border-left: 1px solid #fcfcfc; - display: inline-block; - padding-left: 0.25em; -} - -.header-links > a:first-of-type { - border-left: none; - padding-left: 0; -} - -.icon::before { - content: ''; +.icon { height: 1em; - width: 1em; - display: inline-block; - background-size: auto 1em; - background-repeat: no-repeat; vertical-align: sub; - padding-right: 0.25em; -} - -.atom-icon::before { - background-image: url('/static/rssa.png'); -} - -.mastodon-icon::before { - background-image: url('/static/mastodon.png'); -} - -.pleroma-icon::before { - background-image: url('/static/pleroma.png'); - width: 0.65em; -} - -.peertube-icon::before { - background-image: url('/static/peertube.png'); -} - -.clearnet-icon::before { - background-image: url('/static/clearnet.png'); -} - -.tor-icon::before { - background-image: url('/static/tor.png'); -} - -.i2p-icon::before { - background-image: url('/static/i2p.png'); -} - -.monero-icon::before { - background-image: url('/static/monero.png'); -} - -.git-icon:before { - background-image: url('/static/git.png'); } .emblems { - float: right; + display: inline-block; }