From 245f2d0ef453554d9e6b4090450530d3bcf05fdd Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 8 Jun 2018 00:55:56 +0200 Subject: [PATCH] unbreak cards --- css/style.css | 53 ++++++++++++++++++-------------------------- index.html | 61 +++++++++++++-------------------------------------- 2 files changed, 36 insertions(+), 78 deletions(-) diff --git a/css/style.css b/css/style.css index 04cb9ab..39085a4 100644 --- a/css/style.css +++ b/css/style.css @@ -61,30 +61,17 @@ footer { /* ------------------ PANELS ------------------- */ -.panel { - margin-bottom: 20px; - background-color: #FFF; - border-radius: 3px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.3); - border-color: rgba(0,0,0,0.15); - border-style: solid; - border-width: 0px; +.card { + box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3); + border-width:0px; + margin-bottom:1.2em; } -.panel-heading { - border-top-left-radius:3px; - border-top-right-radius:3px; - border-width:0px; +.card-shadow { + box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } -.panel-noheader { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} - -.panel-title { +.card-title { color:#FFF; text-align:center; text-shadow: 0px -1px 0px rgba(0,0,0,0.3); @@ -92,27 +79,29 @@ footer { /* meta */ -.article-meta .media-left .media-object { +.card-meta { + padding:1em; + border-bottom:1px solid rgba(0,0,0,0.2); +} + +.card-meta.media { + -ms-flex-align: center !important; + align-items: center !important; +} + +.card-meta .media-left .media-object { height: 64px; width: 64px; border-radius: 10px; + margin-right:1em; } -.article-meta author { +.card-meta author { display:block; font-weight:600; } -.article-meta .media-body { - padding-top:8px; -} - -.article-meta { - margin-bottom:15px; - margin-left:15px; -} - -.article-meta time { +.card-meta time { display:block; font-style:italic; } diff --git a/index.html b/index.html index 5db1462..e5e3760 100644 --- a/index.html +++ b/index.html @@ -89,12 +89,12 @@
-
-
-

Nom de l'article :

+
+
+

Nom de l'article :

-
+
  • 1 - Filmographie de Joachim du Poulet
      @@ -142,8 +142,8 @@ In id suscipit elit.
-
-