style logo and title text
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7bdab552d6
commit
a9bce74644
|
@ -1 +1,44 @@
|
|||
@import 'variables';
|
||||
@import 'mixins';
|
||||
|
||||
@keyframes animate-aberration {
|
||||
0% {
|
||||
@include aberration(0);
|
||||
}
|
||||
40% {
|
||||
@include aberration(0);
|
||||
}
|
||||
40.1% {
|
||||
@include aberration(0.2em);
|
||||
}
|
||||
45% {
|
||||
@include aberration(0.2em);
|
||||
}
|
||||
45.1% {
|
||||
@include aberration(-0.1em);
|
||||
}
|
||||
60% {
|
||||
@include aberration(-0.1em);
|
||||
}
|
||||
60.1% {
|
||||
@include aberration(0em);
|
||||
}
|
||||
70% {
|
||||
@include aberration(0);
|
||||
}
|
||||
70.1% {
|
||||
@include aberration(-0.4em);
|
||||
}
|
||||
73% {
|
||||
@include aberration(-0.4em);
|
||||
}
|
||||
73.1% {
|
||||
@include aberration(0.1em);
|
||||
}
|
||||
99.9% {
|
||||
@include aberration(0.1em);
|
||||
}
|
||||
100% {
|
||||
@include aberration(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
@import 'fonts';
|
||||
@import 'mixins';
|
||||
|
||||
:root {
|
||||
--aberration-offset: 0.1em;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: 'Space Mono', sans-serif;
|
||||
box-sizing: border-box;
|
||||
|
@ -116,10 +120,6 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.block-link {
|
||||
display: block;
|
||||
}
|
||||
|
@ -248,16 +248,34 @@ table {
|
|||
@include heading;
|
||||
text-decoration: none;
|
||||
color: currentColor;
|
||||
|
||||
margin: 0 auto;
|
||||
animation: animate-aberration 2s linear infinite !important;
|
||||
|
||||
img {
|
||||
width: 48px;
|
||||
display: inline-block;
|
||||
margin-right: 1em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.logotype {
|
||||
font-size: 1.3em;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 3.5em;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
|
||||
:nth-child(1) {
|
||||
letter-spacing: 0.2em;
|
||||
}
|
||||
:nth-child(2) {
|
||||
letter-spacing: 0.14em;
|
||||
}
|
||||
:nth-child(3) {
|
||||
letter-spacing: 0.39em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: $small) {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,13 @@
|
|||
<body>
|
||||
<header>
|
||||
<nav class="nav nav-main">
|
||||
<a class="nav-logo" href="{{ .Site.LanguagePrefix }}/"><img src="/franconianNet.svg" alt="Logo of franconian.net">{{ .Site.Title }}</a>
|
||||
<a class="nav-logo" href="{{ .Site.LanguagePrefix }}/"><img src="/franconianNet.svg" alt="Logo of franconian.net">
|
||||
<span class="logotype">
|
||||
<span>franc</span>
|
||||
<span>onian</span>
|
||||
<span>.net</span>
|
||||
</span>
|
||||
</a>
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<a class="nav-link" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -105,11 +105,14 @@
|
|||
<body class="infobeamer">
|
||||
<header>
|
||||
<nav class="nav nav-main">
|
||||
<a class="nav-logo" href="/">
|
||||
<img src="/franconianNet.svg"
|
||||
alt="Logo of franconian.net">
|
||||
franconian.net
|
||||
</a>
|
||||
<a class="nav-logo" href="/"><img src="/franconianNet.svg" alt="Logo of franconian.net">
|
||||
<span class="logotype">
|
||||
<span>franc</span>
|
||||
<span>onian</span>
|
||||
<span>.net</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a class="nav-link" id="time"></a>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue