diff --git a/themes/maya0x17/static/theme.scss b/themes/maya0x17/static/theme.scss index c633600..353e8a0 100644 --- a/themes/maya0x17/static/theme.scss +++ b/themes/maya0x17/static/theme.scss @@ -86,6 +86,25 @@ h1 > (a, a:focus, a:active) { color: $c-titles; } max-width: 50em; margin: auto; } +#menu-row { + display: none; + position: fixed; + z-index: 20; + top: 3em; + left: 8vw; + background: $c-bg-menu; + width: 89vw; + margin-top: 8vw; + border-radius: 1em; + padding: 1em 0px; + ul { list-style: none; } + font-size: 120%; + > div { + max-width: 15em; + text-align: center; + margin: auto; + } +} #logo-div { position: fixed; top: 5vw; @@ -136,27 +155,6 @@ code { border: 1px solid #888; border-radius: 0.4em; } - -// BEGIN menu -#menu-row { - display: none; - position: fixed; - z-index: 20; - top: 3em; - left: 8vw; - background: $c-bg-menu; - width: 89vw; - margin-top: 8vw; - border-radius: 1em; - padding: 1em 0px; - ul { list-style: none; } - font-size: 120%; - > div { - max-width: 15em; - text-align: center; - margin: auto; - } -} #overlay { display: block; position: fixed; @@ -181,11 +179,5 @@ code { li { display: inline; padding-right: 3em;} } } -// END menu -.news > #content { // pagina news - #posts-list { list-style: none; } - .published { text-align: right; font-size: 80%; } -} // Contenta, 朱莉娅 酷 ? #talk-maschio-femmina-palle .caps { font-variant-caps: all-small-caps; } - diff --git a/themes/maya0x17/templates/index.html b/themes/maya0x17/templates/index.html index cd3f3eb..94d9808 100644 --- a/themes/maya0x17/templates/index.html +++ b/themes/maya0x17/templates/index.html @@ -1,36 +1 @@ {% extends "base.html" %} -{% block content_title %}{% endblock %} -{% block content %} -
-{% if articles %} - {% for article in articles_page.object_list %} - - {% if loop.first %} -
-
    - {% endif %} -
  1. - {% if loop.last %} - {% if loop.length > 1 or articles_page.has_other_pages() %} -
- {% if articles_page.has_other_pages() %} - {% include 'pagination.html' %} - {% endif %} -
- {% endif %} - {% endif %} - {% endfor %} -{% endif %} -
-{% endblock content %}