Compare commits
No commits in common. "bb58f4700bd5ba171bb3c0f101b5528e28aa85ae" and "265dbd228e7a9c683369f4120b961ddcc464a8b9" have entirely different histories.
bb58f4700b
...
265dbd228e
|
@ -1,6 +1,6 @@
|
||||||
# Peruna
|
# Peruna
|
||||||
|
|
||||||
Peruna is a fork of the [Potato Dark](https://github.com/surajmandalcell/potato-dark) theme for Hugo.
|
Peruna is a fork of the Potato Dark theme for Hugo.
|
||||||
|
|
||||||
And yes, I really went and named it Peruna. Deal with it.
|
And yes, I really went and named it Peruna. Deal with it.
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,10 @@
|
||||||
</time>
|
</time>
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
{{ if .Params.image }}
|
|
||||||
<a href="{{ .Permalink }}"><img src="{{ .Params.image }}" alt="thumbnail" class="c-article__thumbnail"></a>
|
|
||||||
{{ end }}
|
|
||||||
<div class="c-article__summary">
|
<div class="c-article__summary">
|
||||||
{{ .Summary | plainify | safeHTML }}
|
{{ .Summary | plainify | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
<a href="{{ .Permalink }}" class="c-article__btn p-list-article__btn">Read more</a></li>
|
<a href="{{ .Permalink }}" class="c-article__btn p-list-article__btn">Read more</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{{ with .Params.image }}
|
{{ with .Params.thumbnail }}
|
||||||
<img src="{{ . }}" alt="thumbnail" class="p-article__thumbnail">
|
<img src="{{ . }}" alt="thumbnail" class="p-article__thumbnail">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<section id="js-article" class="p-article__body">
|
<section id="js-article" class="p-article__body">
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
{{ partial "svgpack-sprite.html" . }}
|
{{ partial "svgpack-sprite.html" . }}
|
||||||
<header class="l-header">
|
<header class="l-header">
|
||||||
{{ partial "menu.html" . }}
|
{{ partial "menu.html" . }}
|
||||||
{{ if .Site.Params.headerlogo }}
|
{{ if .IsPage }}
|
||||||
<a href="{{ .Site.BaseURL }}" class="p-title__link"><img class="p-logo" src="{{ .Site.Params.headerlogo }}"></img></a>
|
<p class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h1 class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></h1>
|
<h1 class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -17,4 +17,4 @@
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
<main id="main" class="l-main">
|
<main id="main" class="l-main">
|
||||||
|
|
|
@ -13,11 +13,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-logo {
|
|
||||||
height: 8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.p-title__link {
|
.p-title__link {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +30,6 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 62.5%;
|
font-size: 62.5%;
|
||||||
line-height: 1.25;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -249,7 +243,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-article__title a:hover {
|
.c-article__title a:hover {
|
||||||
color: #FF5555;
|
color: #175081;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-article__meta {
|
.c-article__meta {
|
||||||
|
@ -267,19 +261,6 @@ img {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-article__thumbnail {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media(min-width:640px) {
|
|
||||||
.c-article__thumbnail {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
margin-right: 10px;
|
|
||||||
max-width: 50%;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.c-article__btn {
|
.c-article__btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
@ -411,7 +392,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-title {
|
.p-title {
|
||||||
margin: 10px 0;
|
margin: 0 0 20px 0;
|
||||||
font-size: 4.4rem;
|
font-size: 4.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue