haccvoc-stage: add some attac colours

This commit is contained in:
stuebinm 2021-08-13 19:10:12 +02:00
parent 646d079a75
commit 22f49203c2
No known key found for this signature in database
GPG key ID: 8FBE8AAD32FA12B7
4 changed files with 42 additions and 3 deletions

View file

@ -1,5 +1,6 @@
{ config ? {baseurl = "";}
, pkgs ? import <nixpkgs> {}
, overlays ? null
, ... }:
with pkgs;
@ -27,5 +28,9 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
cp -r _site/* $out
'';
'' +
(with pkgs.lib; (strings.concatStrings
(mapAttrsToList (name: value: ''
cp -r ${value} $out/${name}
'') overlays)));
}

View file

@ -30,6 +30,9 @@
<![endif]-->
<header>
<img src="./logo.png"
alt="Das Logo von attac"
style="float:left">
<h1>{{ site.header }}</h1>
</header>

View file

@ -45,6 +45,8 @@ header {
grid-column-end: 3;
grid-row: 1;
text-align: center;
color: #eb6721;
margin-bottom: 1em;
}
main {
@ -79,7 +81,7 @@ footer {
left: 0;
right: 0;
text-align: center;
border-top: 1px solid black;
border-top: 1px solid #eb6721;
background-color: white;
padding: 0.5em;
}
@ -151,3 +153,17 @@ main #video-div {
position: static;
}
}
a {
color: #eb6721;
text-decoration: none;
}
a:hover {
color: #d35613;
}
h2 {
color: #eb6721;
}

View file

@ -35,10 +35,25 @@ let
};
footer = {
text = "für mehr <a href='https://ccc.de'>chaos</a> in der welt!";
text = ''
content by <a href='https://www.attac-muenchen.org/startseite'>attac München</a>
| livestream by <a href='https://hacc.earth'>hacc</a>
'';
imprint = "lalala was ist ein Impressum?";
};
};
overlays = {
"favicon.ico" = pkgs.fetchurl {
url = "https://www.attac.de/typo3conf/ext/integration_project/Resources/Public/_Default/Build/img/favicons/favicon-32x32.png";
sha256 = "19k3nd9rlvlqk0daq3mq3xrnxm9y89688v2y997714dv26hzan61";
};
"logo.png" = pkgs.fetchurl {
url = "https://www.attac.de/typo3conf/ext/integration_project/Resources/Public/_Default/Build/img/logo/Attac_Logo_desk.png";
sha256 = "0w1m3kwavfxvrrddmzbivy8vgwkf3gq49n8s9jzdbqjm6mica0qi";
};
};
};
in
{