Compare commits

...

4 commits

Author SHA1 Message Date
Zoe
a80d65e605 hover icons for header links 2022-04-18 11:07:06 +02:00
Zoe
db5a1b8664 hover icons for header links 2022-04-18 11:00:40 +02:00
Zoe
bb56f2df38 hover icons for header links 2022-04-18 10:58:00 +02:00
Zoe
38b4fbd855 hover icons for header links 2022-04-18 10:42:54 +02:00
5 changed files with 36 additions and 6 deletions

View file

@ -35,7 +35,7 @@ a {
color: $dark-ln;
}
.randomword-button{
.randomword-button {
&.light {
border-color: $light-fg;
background-color: $light-bg;
@ -48,7 +48,7 @@ a {
border-color: $dark-fg;
background-color: $dark-bg;
color: $dark-fg;
&:hover{
&:hover {
color: $dark-bg;
background-color: $dark-fg;
}
@ -229,6 +229,15 @@ h6 {
}
h1 {
& a {
&.light {
color: $light-bg;
}
color: $dark-bg;
&:hover {
background-color: transparent;
}
}
& #rss-title {
background-color: transparent;
color: $dark-bg;

View file

@ -75,6 +75,27 @@ h5,
h6 {
border-top-right-radius: $radius;
border-bottom-right-radius: $radius;
& .uplink {
&:hover {
&::before {
content: "";
}
}
}
& .with-rss {
&:hover {
&::before {
content: "";
}
}
}
& .singlepagelink {
&:hover {
&::before{
content: "./";
}
}
}
& .hash-link {
&:hover {
cursor: pointer;

View file

@ -2,7 +2,7 @@
<main>
<article class="colorswitch">
<header>
<h1 id="title"><a href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}} </a></h1>
<h1 id="title"><a target="_blank" rel="noreferrer noopener" href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}} </a></h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
@ -12,7 +12,7 @@
{{ range .Pages }}
<div id="postlist">
<h2 class="colorswitch posttitle">
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</h2><div class="postdescription">{{.Description}}</a><br>
<a class="colorswitch singlepagelink" href="{{.Permalink}}">{{.Title}}</h2><div class="postdescription">{{.Description}}</a><br>
<a class="postinfo colorswitch" href="{{.Permalink}}">read more...</a>
</div>
{{ end }}

View file

@ -1,7 +1,7 @@
{{ define "main" }}
<section id="main">
<div class="titlecontainer">
<h1 id="title" class="colorswitch">{{ .Title }}</h1>
<h1 id="title" class="colorswitch"><a href="../" class="colorswitch uplink">{{ .Title }}</a></h1>
</div>
<div>
<article id="content" class="colorswitch">

View file

@ -1,6 +1,6 @@
{{ define "main" }}
<header>
<h1 id="title"><a href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}} </a></h1>
<h1 id="title"><a target="_blank" rel="noreferrer noopener" href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}} </a></h1>
</header>
<article id="content" class="colorswitch">
<p>