Use generated html

This commit is contained in:
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 { html {
box-sizing: border-box; box-sizing: border-box;
font-family: 'Fantasque Sans Mono', monospace; font-family: 'Fantasque Sans Mono', monospace;
text-transform: lowercase;
} }
*, *:before, *:after { *, *: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 * * 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; 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; margin: 0;
}
section > p > span {
padding: 0.1rem 0; 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; 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> <html>
<head>
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <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 type="text/css" rel="stylesheet" href="assets/styles/site.css">
<link rel="manifest" href="assets/favicons/manifest.json"> <link rel="manifest" href="assets/favicons/manifest.json">
<meta name="msapplication-config" <meta name="msapplication-config" content="assets/favicons/browserconfig.xml">
content="assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#006666"> <meta name="theme-color" content="#006666">
<link rel="shortcut icon" href="assets/favicons/favicon.ico"> <link rel="shortcut icon" href="assets/favicons/favicon.ico">
<link type="image/png" rel="icon" sizes="32x32" <link type="image/png" rel="icon" sizes="32x32" href="assets/favicons/favicon-32x32.png">
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="16x16"
href="assets/favicons/favicon-16x16.png">
<link type="image/png" rel="apple-touch-icon" sizes="180x180" <link type="image/png" rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png">
href="assets/favicons/apple-touch-icon.png"> <link rel="mask-icon" color="#006666" href="assets/favicons/safari-pinned-tab.svg">
<link rel="mask-icon" color="#006666"
href="assets/favicons/safari-pinned-tab.svg">
<title>Unit</title> <title>Unit</title>
</head> </head>
<body>
<header>
<img alt="Unit logo" src="assets/images/logo.svg">
<h1>Unit</h1>
</header>
<nav> <body>
<ul> <header>
<li><a href="https://wiki.unit.macaomilano.org">Wiki</a></li> <img alt="Unit logo" src="assets/images/logo.svg">
<li><a href="https://git.unit.macaomilano.org">Git</a></li> <h1>unit</h1>
<li><a href="https://wiki.unit.macaomilano.org/Calendar">Calendar</a></li> </header>
</ul>
</nav>
<section> <nav>
<p><span> <ul>
<a href="https://www.openstreetmap.org/node/2709091290" target="_blank"> <li><a href="https://wiki.unit.macaomilano.org">wiki</a></li>
Viale Molise 68, Milano</a> <li><a href="https://git.unit.macaomilano.org">git</a></li>
</span></p> <li><a href="https://wiki.unit.macaomilano.org/Calendar">calendar</a></li>
<p><span> </ul>
<a href="mailto:unit at paranoici dot org"> </nav>
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>
<section> <p><a href="https://www.openstreetmap.org/node/2709091290">viale molise 68, milano</a><br>
<p><span> <strong>unit at paranoici dot org</strong>
<a href="https://wiki.unit.macaomilano.org/LaboratorioElettronica"> <strong>#unit on irc.autistici.org</strong></p>
Laboratorio di elettronica</a> <p><a href="https://wiki.unit.macaomilano.org/ConnessioniCaotiche2017">connessioni caotiche</a><br>
</span></p> <strong>10 e 11 novembre</strong><br>
<p><span> <strong>hacking, art, activism, making and breaking in festival</strong></p>
ogni mercoledì pomeriggio <p><a href="https://wiki.unit.macaomilano.org/LaboratorioElettronica">laboratorio di elettronica</a><br>
</span></p> <strong>ogni mercoledì pomeriggio</strong></p>
</section>
<section> <!--ul>
<p><span>
<a href="https://wiki.unit.macaomilano.org/ConnessioniCaotiche2017"> </ul-->
Connessioni Caotiche</a> </body>
</span></p> </html>
<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:
-->