Use generated html

ciclostile
uid 2017-10-27 20:50:37 +02:00
parent f5093584c0
commit d6dff9f605
2 changed files with 68 additions and 137 deletions

View File

@ -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;
}

View File

@ -1,7 +1,6 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -9,78 +8,45 @@
<link type="text/css" rel="stylesheet" href="assets/styles/site.css">
<link rel="manifest" href="assets/favicons/manifest.json">
<meta name="msapplication-config"
content="assets/favicons/browserconfig.xml">
<meta name="msapplication-config" content="assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#006666">
<link rel="shortcut icon" href="assets/favicons/favicon.ico">
<link type="image/png" rel="icon" sizes="32x32"
href="assets/favicons/favicon-32x32.png">
<link type="image/png" rel="icon" sizes="16x16"
href="assets/favicons/favicon-16x16.png">
<link type="image/png" rel="icon" sizes="32x32" href="assets/favicons/favicon-32x32.png">
<link type="image/png" rel="icon" sizes="16x16" href="assets/favicons/favicon-16x16.png">
<link type="image/png" rel="apple-touch-icon" sizes="180x180"
href="assets/favicons/apple-touch-icon.png">
<link rel="mask-icon" color="#006666"
href="assets/favicons/safari-pinned-tab.svg">
<link type="image/png" rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png">
<link rel="mask-icon" color="#006666" href="assets/favicons/safari-pinned-tab.svg">
<title>Unit</title>
</head>
</head>
<body>
<header>
<img alt="Unit logo" src="assets/images/logo.svg">
<h1>Unit</h1>
</header>
<nav>
<ul>
<li><a href="https://wiki.unit.macaomilano.org">Wiki</a></li>
<li><a href="https://git.unit.macaomilano.org">Git</a></li>
<li><a href="https://wiki.unit.macaomilano.org/Calendar">Calendar</a></li>
</ul>
</nav>
<body>
<header>
<img alt="Unit logo" src="assets/images/logo.svg">
<h1>unit</h1>
</header>
<section>
<p><span>
<a href="https://www.openstreetmap.org/node/2709091290" target="_blank">
Viale Molise 68, Milano</a>
</span></p>
<p><span>
<a href="mailto:unit at paranoici dot org">
unit at paranoici dot org</a>
</span></p>
<p><span>
<a href="irc://irc.autistici.org:6697/unit">
#unit on irc.autistici.org</a>
</span></p>
</section>
<nav>
<ul>
<li><a href="https://wiki.unit.macaomilano.org">wiki</a></li>
<li><a href="https://git.unit.macaomilano.org">git</a></li>
<li><a href="https://wiki.unit.macaomilano.org/Calendar">calendar</a></li>
</ul>
</nav>
<section>
<p><span>
<a href="https://wiki.unit.macaomilano.org/LaboratorioElettronica">
Laboratorio di elettronica</a>
</span></p>
<p><span>
ogni mercoledì pomeriggio
</span></p>
</section>
<p><a href="https://www.openstreetmap.org/node/2709091290">viale molise 68, milano</a><br>
<strong>unit at paranoici dot org</strong>
<strong>#unit on irc.autistici.org</strong></p>
<p><a href="https://wiki.unit.macaomilano.org/ConnessioniCaotiche2017">connessioni caotiche</a><br>
<strong>10 e 11 novembre</strong><br>
<strong>hacking, art, activism, making and breaking in festival</strong></p>
<p><a href="https://wiki.unit.macaomilano.org/LaboratorioElettronica">laboratorio di elettronica</a><br>
<strong>ogni mercoledì pomeriggio</strong></p>
<section>
<p><span>
<a href="https://wiki.unit.macaomilano.org/ConnessioniCaotiche2017">
Connessioni Caotiche</a>
</span></p>
<p><span>
10 e 11 novembre
</span></p>
<p><span>
Hacking, art, activism, making and breaking in festival
</span></p>
</section>
</body>
</html>
<!--
vim: tabstop=4 shiftwidth=4 expandtab:
-->
<!--ul>
</ul-->
</body>
</html>