Compare commits
No commits in common. "bb58f4700bd5ba171bb3c0f101b5528e28aa85ae" and "265dbd228e7a9c683369f4120b961ddcc464a8b9" have entirely different histories.
bb58f4700b
...
265dbd228e
|
@ -1,6 +1,6 @@
|
|||
# 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.
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
</time>
|
||||
</p>
|
||||
</header>
|
||||
{{ if .Params.image }}
|
||||
<a href="{{ .Permalink }}"><img src="{{ .Params.image }}" alt="thumbnail" class="c-article__thumbnail"></a>
|
||||
{{ end }}
|
||||
<div class="c-article__summary">
|
||||
{{ .Summary | plainify | safeHTML }}
|
||||
</div>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
{{ with .Params.image }}
|
||||
{{ with .Params.thumbnail }}
|
||||
<img src="{{ . }}" alt="thumbnail" class="p-article__thumbnail">
|
||||
{{ end }}
|
||||
<section id="js-article" class="p-article__body">
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
{{ partial "svgpack-sprite.html" . }}
|
||||
<header class="l-header">
|
||||
{{ partial "menu.html" . }}
|
||||
{{ if .Site.Params.headerlogo }}
|
||||
<a href="{{ .Site.BaseURL }}" class="p-title__link"><img class="p-logo" src="{{ .Site.Params.headerlogo }}"></img></a>
|
||||
{{ if .IsPage }}
|
||||
<p class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></p>
|
||||
{{ else }}
|
||||
<h1 class="c-title p-title"><a href="{{ .Site.BaseURL }}" class="p-title__link">{{ .Site.Title }}</a></h1>
|
||||
{{ end }}
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.p-logo {
|
||||
height: 8rem;
|
||||
}
|
||||
|
||||
|
||||
.p-title__link {
|
||||
color: #ccc;
|
||||
}
|
||||
|
@ -35,7 +30,6 @@
|
|||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -249,7 +243,7 @@ img {
|
|||
}
|
||||
|
||||
.c-article__title a:hover {
|
||||
color: #FF5555;
|
||||
color: #175081;
|
||||
}
|
||||
|
||||
.c-article__meta {
|
||||
|
@ -267,19 +261,6 @@ img {
|
|||
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 {
|
||||
display: inline-block;
|
||||
padding-bottom: 4px;
|
||||
|
@ -411,7 +392,7 @@ img {
|
|||
}
|
||||
|
||||
.p-title {
|
||||
margin: 10px 0;
|
||||
margin: 0 0 20px 0;
|
||||
font-size: 4.4rem;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue