From 276642a046b155b3e00c18eb5cc1a42c7da1c779 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Tue, 26 Jan 2016 09:51:18 +0100 Subject: [PATCH] First attempt to display cover only --- static/css/satbd.sateliite.bar.css | 41 +++++++++++++++++++++++++++++- static/index.html | 20 +++++---------- static/js/satbd.satellite.bar.js | 18 ++++++++++--- 3 files changed, 61 insertions(+), 18 deletions(-) diff --git a/static/css/satbd.sateliite.bar.css b/static/css/satbd.sateliite.bar.css index 00d99ff..fd6c4aa 100644 --- a/static/css/satbd.sateliite.bar.css +++ b/static/css/satbd.sateliite.bar.css @@ -11,6 +11,10 @@ body > .container { padding-top: 60px; } +body > .container-fluid { + padding-top: 60px; +} + /* collapses the navbar one media earlier ( french has long title name ) */ @media (min-width: 768px) and (max-width: 991px) { .navbar-collapse.collapse { @@ -25,4 +29,39 @@ body > .container { .navbar-header { float:none; } -} \ No newline at end of file +} + +.album { + padding-top:15px; + padding-bottom:15px; + overflow:hidden; +} + +@media (max-width: 767px) { + .album { + height: 70vw; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .album { + height: 46vw; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .album { + height: 35vw; + } +} + +@media (min-width: 1200px) { + .album { + height: 23vw; + } +} + +img.cover { + width:100%; +} + + + diff --git a/static/index.html b/static/index.html index 6ba532e..8c68a88 100644 --- a/static/index.html +++ b/static/index.html @@ -9,7 +9,7 @@ satbd: explorez la betheque de sat - +