diff --git a/pelicanconf.py b/pelicanconf.py index 30d048a..4c9eb69 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -64,7 +64,7 @@ MARKDOWN = { WITH_FUTURE_DATES = False -THEME = 'themes/minimunit' +THEME = 'themes/2017' SLUGIFY_SOURCE = 'title' PAGE_URL = '{slug}/index.html' diff --git a/themes/2017/static/css/style.css b/themes/2017/static/css/style.css new file mode 100644 index 0000000..b08e9be --- /dev/null +++ b/themes/2017/static/css/style.css @@ -0,0 +1,161 @@ +/*@import url('../fonts/fantastique-sans/stylesheet.css');*/ + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * GENERAL * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +html { + box-sizing: border-box; + font-family: 'Fantasque Sans Mono', monospace; + text-transform: lowercase; +} + +*, *:before, *:after { + box-sizing: inherit; +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * PAGE * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +body { + width: 100%; + padding: 2rem 1rem; +} + +@media (min-width: 426px) { + body { + width: 40vw; + margin: 2rem auto; + padding: 0; + } +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * TEXT * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + + +h1 { + margin: 0; + font-size: 4rem; +} + +p, li { + font-size: 1.3rem; +} + +a { + text-decoration: none; + color: inherit; +} + +a:hover { + font-weight: bold; +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * HEADER * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +header { + width: 100%; + margin: 2rem auto 2rem auto; +} + +header > img, +header > h1 { + display: inline-block; + vertical-align: middle; +} + +header > img { + width: 4rem; +} + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * NAVBAR * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +nav { + margin-bottom: 2rem; +} + +nav > ul { + display: block; + margin: 0; + padding: 0; + list-style: none; +} + +nav > ul > li { + display: inline-block; + margin-right: 0.8rem; + color: #378ab4; +} + +nav > ul > li:before { + content: "+"; + margin-right: 0.3rem; + color: #000000; +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * SECTION * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +section { + width: 100%; + margin: 2rem auto; +} + +section:last-child { + margin-bottom: 0; +} + +section > p { + margin: 0; +} + +section > p > span { + padding: 0.1rem 0; + background: #000000; + box-shadow: 0 0 0 #000000, 0 0 0 #000000; + color: #ffffff; +} + +section > p:first-child > span { + background: #378ab4; + box-shadow: 0 0 0 #378ab4, 0 0 0 #378ab4; +} + +section > img { + width: 100%; + height: auto; +} +.sitebanner { + position: relative; + top: 20px; +} + +.siteimage { + float: left; + width: 120px; +} + +#menu li { + display: inline; +} + +#post-list { + margin-bottom: 1em; + margin-top: 1em; +} + +#banner { + height: 85px; +} diff --git a/themes/2017/templates/archives.html b/themes/2017/templates/archives.html new file mode 100644 index 0000000..7b9b10d --- /dev/null +++ b/themes/2017/templates/archives.html @@ -0,0 +1,42 @@ +{% extends "index.html" %} +{% block title %}Archivio {{ SITENAME }}{% endblock %} +{% block ogtitle %}Archivio {{ SITENAME }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/archives.html{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/archives.html{%endblock%} + +{% block content %} +
+ continua.. +
+