From d6dff9f6051a2f60c1ecffb1a1ad08f6a2778851 Mon Sep 17 00:00:00 2001 From: User Identifier Date: Fri, 27 Oct 2017 20:50:37 +0200 Subject: [PATCH] Use generated html --- assets/styles/site.css | 105 ++++++++++++++--------------------------- index.html | 100 +++++++++++++-------------------------- 2 files changed, 68 insertions(+), 137 deletions(-) diff --git a/assets/styles/site.css b/assets/styles/site.css index 31b8f97..aa8d3ca 100644 --- a/assets/styles/site.css +++ b/assets/styles/site.css @@ -7,7 +7,6 @@ html { box-sizing: border-box; font-family: 'Fantasque Sans Mono', monospace; - text-transform: lowercase; } *, *:before, *:after { @@ -26,31 +25,6 @@ body { } -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * TEXT * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - - -h1 { - margin-top: 0; - margin-bottom: 0.3rem; - font-size: 4rem; -} - -p, li { - font-size: 1.3rem; -} - -a { - text-decoration: none; - color: inherit; -} - -a:hover { - font-weight: bold; -} - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * HEADER * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ @@ -99,59 +73,50 @@ nav > ul > li:before { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * SECTION * + * TEXT * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -section { + +h1 { + margin-top: 0; + margin-bottom: 0.3rem; + font-size: 4rem; +} + +p, li { + font-size: 1.3rem; +} + +p { margin-bottom: 2rem; } -section:last-child { - margin-bottom: 0; + +p > * { + padding: 0; } -section > p { +a { + text-decoration: none; + color: inherit; +} + +a:hover { + font-weight: bold; +} + +p > a { + color: #ffffff; + background: #004405; + + padding-bottom: 0.1rem; +} + +p > strong { + background: #000000; + color: #ffffff; margin: 0; -} - -section > p > span { padding: 0.1rem 0; - background: #000000; - box-shadow: 0.2rem 0 0 #000000, -0.2rem 0 0 #000000; - color: #ffffff; -} - -section > p:first-child > span { - background: #004405; - box-shadow: 0.2rem 0 0 #004405, -0.2rem 0 0 #004405; -} - -section > p > span.warning { - background: #8B0000; - box-shadow: 0.2rem 0 0 #8B0000, -0.2rem 0 0 #8B0000; -} - -section > h1 { - font-size: 1.3rem; font-weight: normal; - background: #004405; - box-shadow: 0.2rem 0 0 #004405, -0.2rem 0 0 #004405; - color: #ffffff; - display: table; } -section > h2 { - font-size: 1.3rem; - font-weight: normal; - box-shadow: 0.2rem 0 0 #000000, -0.2rem 0 0 #000000; - color: #ffffff; - background: #000000; - display: table; -} - -li > span { - padding: 0.1rem 0; - background: #000000; - box-shadow: 0.2rem 0 0 #000000, -0.2rem 0 0 #000000; - color: #ffffff; -} \ No newline at end of file diff --git a/index.html b/index.html index f40e248..e52c280 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,6 @@ - + - - + @@ -9,78 +8,45 @@ - + - - + + - - + + Unit - + - -
- Unit logo -

Unit

-
- + +
+ Unit logo +

unit

+
-
-

- - Viale Molise 68, Milano -

-

- - unit at paranoici dot org -

-

- - #unit on irc.autistici.org -

-
+ -
-

- - Laboratorio di elettronica -

-

- ogni mercoledì pomeriggio -

-
+

viale molise 68, milano
+unit at paranoici dot org +#unit on irc.autistici.org

+

connessioni caotiche
+10 e 11 novembre
+hacking, art, activism, making and breaking in festival

+

laboratorio di elettronica
+ogni mercoledì pomeriggio

-
-

- - Connessioni Caotiche -

-

- 10 e 11 novembre -

-

- Hacking, art, activism, making and breaking in festival -

-
- - - - + + + \ No newline at end of file