Compare commits

..

5 Commits

Author SHA1 Message Date
legion 656ceac870 Add animated logo
continuous-integration/drone/push Build is passing Details
2020-12-02 00:15:21 +01:00
legion 658a184f55 Fix docker container
continuous-integration/drone/push Build is passing Details
2020-12-02 00:15:21 +01:00
Luca 27311d2456 Set margin-top instead of margin-bottom for content elements
continuous-integration/drone/push Build is passing Details
2020-12-01 17:11:10 +01:00
Luca 64ed10ab23 Test higher contrast for aou/n2n logos (currently en only, feedback wanted)
continuous-integration/drone/push Build is passing Details
2020-12-01 16:52:33 +01:00
Luca e79e038b51 Add optional 'class' attribute to image shortcode 2020-12-01 16:48:16 +01:00
4 changed files with 19 additions and 6 deletions

View File

@ -1,4 +1,5 @@
$background: #100e23; $background: #100e23;
$fill-color: #eeeeee;
$text-color: #ffffff; $text-color: #ffffff;
$highlight: #05b9ec; $highlight: #05b9ec;

View File

@ -20,7 +20,6 @@ body {
} }
header { header {
margin-bottom: 1em;
} }
main { main {
@ -51,8 +50,12 @@ footer {
} }
h1, h2, h3, h4, h5, h6, p, ul { h1, h2, h3, h4, h5, h6, p, ul {
margin-bottom: 0.5em; margin-top: 0.5em;
padding: 0 0.5rem; padding: 0 0.5rem;
&:last-child {
margin-bottom: 0.5em;
}
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
@ -64,12 +67,21 @@ h1 {
} }
figure { figure {
margin-bottom: 1rem; margin: 1rem 0;
img { img {
max-width: 100%; max-width: 100%;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
&.invert {
filter: invert(100%);
}
&.fill {
background: $fill-color;
padding: 0.5em;
}
} }
figcaption { figcaption {

View File

@ -15,8 +15,8 @@ The Franconian Cluster is a network of franconian hackspaces that organised the
### Hackzogtum ### Hackzogtum
{{<image src="/hackzogtum.svg" alt="Logo of Hackzogtum">}} {{<image class="invert" src="/hackzogtum.svg" alt="Logo of Hackzogtum">}}
### Nerd2Nerd ### Nerd2Nerd
{{<image src="/n2n.svg" alt="Logo of Nerd2Nerd">}} {{<image class="fill" src="/n2n.svg" alt="Logo of Nerd2Nerd">}}

View File

@ -1,4 +1,4 @@
<figure> <figure>
<img src="{{ .Get "src" }}" alt="{{ .Get "alt" }}"> <img{{ with .Get "class" }} class="{{ . }}"{{ end }} src="{{ .Get "src" }}" alt="{{ .Get "alt" }}">
<figcaption>{{ .Get "alt" }}</figcaption> <figcaption>{{ .Get "alt" }}</figcaption>
</figure> </figure>