diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 01:52:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 01:52:43 +0200 |
| commit | f64b202f35e8034e4dfd1e8e9a2cfe6ffce172ee (patch) | |
| tree | 1efaced6ea53a36dda6b7e96215060738287240c /public/assets/css.css | |
| parent | b24aa6fa2c2929bede2e431b7b45261b4fc2185b (diff) | |
carousel
Diffstat (limited to 'public/assets/css.css')
| -rw-r--r-- | public/assets/css.css | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/public/assets/css.css b/public/assets/css.css index d6af91e..04e26da 100644 --- a/public/assets/css.css +++ b/public/assets/css.css @@ -103,15 +103,13 @@ h2 { #posts { position: relative; + background-image: url(postbg.jpg); + background-size: cover; + background-position: center center; } .cell { display: block; - background-size: cover; - background-position: center center; position: relative; - background-image: url(postbg.jpg); - background-size: cover; - background-position: center center; padding: 20px; text-align: center; } @@ -119,7 +117,7 @@ h2 { text-transform: uppercase; font-weight: bold; text-align: center; - margin: 20px; + margin: 0 5px 10px 5px; } .cell .title span { font-size: 20px; @@ -137,19 +135,20 @@ h2 { .media iframe { margin: 10px auto; max-height: 30vh; - max-width: 90%; + max-width: 82vw; } .media img { display: block; margin: 10px auto; - max-width: 90%; + max-width: 82vw; } .content { - padding: 20px; - line-height: 1.5; + padding: 8px; + line-height: 1.4; + font-size: 15px; background: white; color: black; - max-width: 600px; + max-width: 82vw; margin: 0 auto; } |
