diff --git a/prosopopee/themes/material/static/css/style.css b/prosopopee/themes/material/static/css/style.css index a4bdaf3..d1245f2 100644 --- a/prosopopee/themes/material/static/css/style.css +++ b/prosopopee/themes/material/static/css/style.css @@ -376,7 +376,6 @@ html,body { height:100% } body { - background-color:#37474f; font-family:"Lato", sans-serif } ul { @@ -440,21 +439,22 @@ nav .nav-background .ea { bottom:0; -webkit-transform:none; transform:none; - background-repeat:repeat + background-repeat:repeat; } nav .nav-header { clear:both; - padding:40px 0 + padding:40px 0; } nav .nav-header h1 { font-size:56px; - font-weight:300 + font-weight:300; + text-transform: uppercase; } .b { position:relative } .b .d { - padding:0; + margin-top: 20px; } .b .gallery-expand .gallery-curve-wrapper { cursor:pointer; @@ -532,3 +532,77 @@ nav .nav-header { .brand-logo p { margin-top: 7px; } + +.img { + position: relative; + float: left; + width: 100px; + height: 100px; + background-position: 50% 50%; + background-repeat: no-repeat; + background-size: cover; +} + +.galleries-line { + width: 100%; + height: 100%; + margin-bottom: -7px; /* YOLO */ +} + +.covers-1 .gallery-square { + width: 100%; + height: 100%; + margin: auto; + padding-bottom: 47%; + position: relative; +} + +.covers-2 .gallery-square { + width: 50%; + height: 100%; + margin: 0 0 0; + padding-bottom: 47%; + position: relative; + display: inline-block; +} + +.covers-3 .gallery-square { + width: 33.333333333%; + height: 100%; + margin: 0; + padding-bottom: 30%; + position: relative; + display: inline-block; +} + +.gallery-square > a { + position: absolute; + top: 0px; + left: 0px; + z-index: 555; + width: 100%; + height: 100%; +} + +.gallery-cover { + position: absolute; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + background-position: center center; + background-size: cover; + overflow: hidden; +} + +.gallery-title { + color: white; + width: 100%; + position: absolute; + top: initial; + bottom: 0px; + text-align: center; + z-index: 3; + background: transparent linear-gradient(rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%; + padding: 20% 0 10px 0; +} diff --git a/prosopopee/themes/material/templates/base.html b/prosopopee/themes/material/templates/base.html index a86f2ea..e8d7494 100644 --- a/prosopopee/themes/material/templates/base.html +++ b/prosopopee/themes/material/templates/base.html @@ -28,7 +28,7 @@ @@ -39,9 +39,6 @@ - {% if settings.menu -%} - {% include 'menu.html' %} - {% endif -%} {% block content %} {% endblock %} diff --git a/prosopopee/themes/material/templates/index.html b/prosopopee/themes/material/templates/index.html index 8abed90..537e1f5 100644 --- a/prosopopee/themes/material/templates/index.html +++ b/prosopopee/themes/material/templates/index.html @@ -5,47 +5,44 @@ +{% if settings.custom_css %} + +{% endif %} {% endblock %} {% block content %} - -
-
- {% for galleries_line in galleries|reverse|batch(1)|reverse %} - {% for gallery in galleries_line|reverse %} -