haccvoc-stage: add some attac colours
This commit is contained in:
parent
646d079a75
commit
22f49203c2
|
@ -1,5 +1,6 @@
|
||||||
{ config ? {baseurl = "";}
|
{ config ? {baseurl = "";}
|
||||||
, pkgs ? import <nixpkgs> {}
|
, pkgs ? import <nixpkgs> {}
|
||||||
|
, overlays ? null
|
||||||
, ... }:
|
, ... }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
@ -27,5 +28,9 @@ stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r _site/* $out
|
cp -r _site/* $out
|
||||||
'';
|
'' +
|
||||||
|
(with pkgs.lib; (strings.concatStrings
|
||||||
|
(mapAttrsToList (name: value: ''
|
||||||
|
cp -r ${value} $out/${name}
|
||||||
|
'') overlays)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,9 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
<img src="./logo.png"
|
||||||
|
alt="Das Logo von attac"
|
||||||
|
style="float:left">
|
||||||
<h1>{{ site.header }}</h1>
|
<h1>{{ site.header }}</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,8 @@ header {
|
||||||
grid-column-end: 3;
|
grid-column-end: 3;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: #eb6721;
|
||||||
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
@ -79,7 +81,7 @@ footer {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top: 1px solid black;
|
border-top: 1px solid #eb6721;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
@ -151,3 +153,17 @@ main #video-div {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #eb6721;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #d35613;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #eb6721;
|
||||||
|
}
|
||||||
|
|
|
@ -35,10 +35,25 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
footer = {
|
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?";
|
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
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue