rj1
about | log | files | refs
commit e96a1f3224d7d0298af97ab738d4568febd84938
parent 94580e5780aaea8e20e0154ad5469188ff085e6b
author: rj1 <[email protected]>
date:   Tue,  6 Dec 2022 16:19:39 -0600

added header svg

Diffstat:
Mthemes/rj1/layouts/partials/head.html | 16++++++++--------
Mthemes/rj1/static/css/style.css | 12++++++++----
2 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/themes/rj1/layouts/partials/head.html b/themes/rj1/layouts/partials/head.html @@ -1,10 +1,10 @@ <header> - <div class="main"> - <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> - </div> - <nav> - {{ range .Site.Menus.main }} - <a href="{{ .URL }}">{{ .Name }}</a> - {{ end }} - </nav> + <div class="main"> + <a href="{{ .Site.BaseURL }}"><img src="/img/rj1.svg" width="50" alt="{{ .Site.Title }}" /></a> + </div> + <nav> + {{ range .Site.Menus.main }} + <a href="{{ .URL }}">{{ .Name }}</a> + {{ end }} + </nav> </header> diff --git a/themes/rj1/static/css/style.css b/themes/rj1/static/css/style.css @@ -88,14 +88,14 @@ table tr td { border: none; } -a img { +/* a img { border: 3px solid #ad69af; max-width: 100%; -} +} */ -a:hover img { +/* a:hover img { border: 3px solid #98c379; -} +} */ figure { box-sizing: border-box; @@ -362,6 +362,10 @@ a:hover { color: black; } +.main a:hover { + background-color: transparent; +} + .site-description a { color: #ddd; }