mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
Compare commits
4 commits
3967fa1027
...
a80d65e605
Author | SHA1 | Date | |
---|---|---|---|
a80d65e605 | |||
db5a1b8664 | |||
bb56f2df38 | |||
38b4fbd855 |
5 changed files with 36 additions and 6 deletions
|
@ -35,7 +35,7 @@ a {
|
||||||
color: $dark-ln;
|
color: $dark-ln;
|
||||||
}
|
}
|
||||||
|
|
||||||
.randomword-button{
|
.randomword-button {
|
||||||
&.light {
|
&.light {
|
||||||
border-color: $light-fg;
|
border-color: $light-fg;
|
||||||
background-color: $light-bg;
|
background-color: $light-bg;
|
||||||
|
@ -48,7 +48,7 @@ a {
|
||||||
border-color: $dark-fg;
|
border-color: $dark-fg;
|
||||||
background-color: $dark-bg;
|
background-color: $dark-bg;
|
||||||
color: $dark-fg;
|
color: $dark-fg;
|
||||||
&:hover{
|
&:hover {
|
||||||
color: $dark-bg;
|
color: $dark-bg;
|
||||||
background-color: $dark-fg;
|
background-color: $dark-fg;
|
||||||
}
|
}
|
||||||
|
@ -229,6 +229,15 @@ h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
& a {
|
||||||
|
&.light {
|
||||||
|
color: $light-bg;
|
||||||
|
}
|
||||||
|
color: $dark-bg;
|
||||||
|
&:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
& #rss-title {
|
& #rss-title {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: $dark-bg;
|
color: $dark-bg;
|
||||||
|
|
|
@ -75,6 +75,27 @@ h5,
|
||||||
h6 {
|
h6 {
|
||||||
border-top-right-radius: $radius;
|
border-top-right-radius: $radius;
|
||||||
border-bottom-right-radius: $radius;
|
border-bottom-right-radius: $radius;
|
||||||
|
& .uplink {
|
||||||
|
&:hover {
|
||||||
|
&::before {
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
& .with-rss {
|
||||||
|
&:hover {
|
||||||
|
&::before {
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
& .singlepagelink {
|
||||||
|
&:hover {
|
||||||
|
&::before{
|
||||||
|
content: "./";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
& .hash-link {
|
& .hash-link {
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<main>
|
<main>
|
||||||
<article class="colorswitch">
|
<article class="colorswitch">
|
||||||
<header>
|
<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>
|
</header>
|
||||||
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<div id="postlist">
|
<div id="postlist">
|
||||||
<h2 class="colorswitch posttitle">
|
<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>
|
<a class="postinfo colorswitch" href="{{.Permalink}}">read more...</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section id="main">
|
<section id="main">
|
||||||
<div class="titlecontainer">
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<article id="content" class="colorswitch">
|
<article id="content" class="colorswitch">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<header>
|
<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>
|
</header>
|
||||||
<article id="content" class="colorswitch">
|
<article id="content" class="colorswitch">
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue