mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
Compare commits
2 commits
c07edf9995
...
b8901b68d7
Author | SHA1 | Date | |
---|---|---|---|
b8901b68d7 | |||
da6e8f7a4e |
6 changed files with 32 additions and 9 deletions
|
@ -50,7 +50,7 @@ a.footer-nav-item:hover {
|
|||
}
|
||||
color: $dark-bg-alt;
|
||||
background-color: $dark-bg;
|
||||
border-color: $dark-bg;
|
||||
border-color: $dark-bg;
|
||||
transition: $trans-short;
|
||||
}
|
||||
|
||||
|
@ -86,12 +86,14 @@ footer a {
|
|||
|
||||
.togglelabel.light::after {
|
||||
background-color: $light-bg;
|
||||
border-color: $light-bg;
|
||||
color: $light-bg-alt;
|
||||
transition: $transition-time;
|
||||
}
|
||||
|
||||
.togglelabel::after {
|
||||
background-color: $dark-bg;
|
||||
border-color: $dark-bg;
|
||||
color: $dark-bg-alt;
|
||||
transition: $transition-time;
|
||||
}
|
||||
|
@ -199,6 +201,7 @@ a:hover {
|
|||
color: $dark-bg;
|
||||
background-color: $dark-ln;
|
||||
transition: $trans-short;
|
||||
border-color: $dark-ln;
|
||||
}
|
||||
|
||||
.previous.light:hover,
|
||||
|
@ -208,6 +211,7 @@ article.light a:hover {
|
|||
color: $light-bg;
|
||||
background-color: $light-ln;
|
||||
transition: $trans-short;
|
||||
border-color: $light-ln;
|
||||
}
|
||||
|
||||
.light.hash-link:hover,
|
||||
|
|
|
@ -19,6 +19,12 @@ $small: 12pt;
|
|||
font-size: $small;
|
||||
}
|
||||
|
||||
p,
|
||||
.postdescription,
|
||||
ul {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size: $huge;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ body {
|
|||
}
|
||||
|
||||
footer {
|
||||
height: $footer-height;
|
||||
min-height: $footer-height;
|
||||
position: sticky;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -93,6 +93,10 @@ p code{
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.postinfo {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
@ -106,6 +110,7 @@ h6 {
|
|||
justify-content: right;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
h2,
|
||||
|
@ -121,6 +126,7 @@ article {
|
|||
margin-inline: auto;
|
||||
}
|
||||
|
||||
|
||||
.titlecontainer,
|
||||
header{
|
||||
width: 100%;
|
||||
|
|
|
@ -4,7 +4,6 @@ $toggle-height: 24pt;
|
|||
|
||||
* {
|
||||
border-width: 2pt;
|
||||
transition: ease-in-out;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
|
@ -93,3 +92,10 @@ h6 {
|
|||
border-width: 0.24em;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
p a,
|
||||
.postdescription a,
|
||||
ul a{
|
||||
border-style: solid;
|
||||
padding: 0.12em;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
{{ range .Pages }}
|
||||
<div id="postlist">
|
||||
<h2 class="colorswitch posttitle">
|
||||
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</h2><div class="postdescription">{{.Description}}<br>{{.WordCount}} words</a>
|
||||
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</h2><div class="postdescription">{{.Description}}</a><br>
|
||||
<a class="postinfo colorswitch" href="{{.Permalink}}">read more...</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{{ define "main" }}
|
||||
<div>
|
||||
<h1 class="title">{{ .Site.Title }}</h1>
|
||||
</div>
|
||||
<div>
|
||||
<header>
|
||||
<h1 id="title" class="colorswitch">{{ .Site.Title }}</h1>
|
||||
</header>
|
||||
<article id="content" class="colorswitch">
|
||||
<p>
|
||||
{{ .Content }}
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue