Added online-only notice.

This commit is contained in:
Greenscreener 2020-10-05 02:47:06 +02:00
parent 8136844c3e
commit 610bb62f30
2 changed files with 19 additions and 1 deletions

View File

@ -329,3 +329,18 @@ patek-logo {
font-weight: bold;
}
// /Custom styles
.patek-logo-top {
position: relative;
}
.patek-logo-top .online-notice {
white-space: nowrap;
position: absolute;
display: inline-block;
font-size: 2rem;
padding: 0px 5px;
border-radius: 3px;
background-color: red;
font-family: 'Fira Code', monospace;
transform: rotate(-27deg) translate(-190px, -50px);
}

View File

@ -29,6 +29,9 @@
<div id="landing">
<div class="patek-logo-top">
<patek-logo>Pátek</patek-logo>
<div class="online-notice">
<a href="/blog/covidbreak-part2">Online mode</a>
</div>
</div>
<div class="intro container">
<section class="section">
@ -90,4 +93,4 @@
</div>
{{ partial "footer.html" . }}
{{ end }}
{{ end }}