From e184f90433b476391b8f591f97218531b95fdf07 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Wed, 28 Mar 2018 10:28:46 +0200 Subject: [PATCH] update material theme and fix responsible --- .../themes/exposure/static/css/style-page.css | 11 +++++++ .../themes/exposure/static/css/style.css | 4 +++ .../themes/material/static/css/style-page.css | 19 ++++++++++++ .../themes/material/static/css/style.css | 19 +++++++++--- .../themes/material/templates/base.html | 6 ---- .../material/templates/gallery-index.html | 29 +------------------ .../themes/material/templates/page.html | 8 +---- 7 files changed, 51 insertions(+), 45 deletions(-) diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 90cf474..381a606 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -655,3 +655,14 @@ input:checked + .slider:before { -webkit-animation-name: fadeInUp; } +@media only screen and (max-device-width: 700px) { + .paragraph { + font-size: 3.7vmin !important; + margin-left: 10% !important; + margin-right: 10% !important; + } + .full-picture h2 { + font-size: 3.2vw !important; + } +} + diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index cd9d1c3..eb9f7ae 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -425,5 +425,9 @@ input:checked + .slider:before { margin-bottom: -7px !important; padding-bottom: 70% !important; } + + .gallery-title > h2 { + font-size: 3.7vw; + } } diff --git a/prosopopee/themes/material/static/css/style-page.css b/prosopopee/themes/material/static/css/style-page.css index 98b7bf1..a523a3b 100644 --- a/prosopopee/themes/material/static/css/style-page.css +++ b/prosopopee/themes/material/static/css/style-page.css @@ -312,3 +312,22 @@ input:checked + .slider-btn:before { .slider-btn.round:before { border-radius: 50%; } + +@media only screen and (max-device-width: 700px) { + h2 { + font-size: 2.56rem !important; + } + .parallax img { + min-width: 200% !important; + } + .gallery-title > h2 { + font-size: 3.7vw !important; + } + .parallax-container h2 { + font-size: 4.2vw !important; + } + .audio-player h2 { + font-size: 14px !important; + } +} + diff --git a/prosopopee/themes/material/static/css/style.css b/prosopopee/themes/material/static/css/style.css index 9a60caf..90e2a15 100644 --- a/prosopopee/themes/material/static/css/style.css +++ b/prosopopee/themes/material/static/css/style.css @@ -608,9 +608,20 @@ nav .nav-header { } @media only screen and (max-device-width: 700px) { -.gallery-square { - width: 100% !important; - margin-bottom: -7px !important; - padding-bottom: 70% !important; + .gallery-square { + width: 100% !important; + margin-bottom: -7px !important; + padding-bottom: 70% !important; + } + + h2 { + font-size: 2.56rem !important; + } + + .gallery-title > h2 { + font-size: 3.7vw !important; + } + .parallax-container h2 { + font-size: 4.2vw !important; } } diff --git a/prosopopee/themes/material/templates/base.html b/prosopopee/themes/material/templates/base.html index e8d7494..1f568f3 100644 --- a/prosopopee/themes/material/templates/base.html +++ b/prosopopee/themes/material/templates/base.html @@ -17,13 +17,7 @@