diff options
Diffstat (limited to 'public/assets/css.css')
| -rw-r--r-- | public/assets/css.css | 89 |
1 files changed, 45 insertions, 44 deletions
diff --git a/public/assets/css.css b/public/assets/css.css index 46057a8..79c6989 100644 --- a/public/assets/css.css +++ b/public/assets/css.css @@ -2,6 +2,7 @@ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; + border-radius: 5px; } html,body { padding: 0; @@ -27,21 +28,33 @@ a { } #header { width: 100%; - margin: 0; - background: #fff; - padding: 20px; - box-shadow: 0 5px 10px rgba(0,0,0,0.2); - background-image: url(header.jpg); - background-size: cover; - background-position: bottom center; } - #footer { width: 100%; margin: 0; + background-image: url(footer.jpg); + background-size: cover; + background-position: center; +} +#coda { padding: 10px 0; padding-top: 15px; - height: 300px; +} +#coda a { + display: inline-block; + font-size: 16px; + padding: 5px; + border-radius: 4px; + background: white; + margin: 10px; +} +#logos { + background: rgba(255,255,255,0.2); + padding: 20px 0; +} +#logos img { + max-height: 12vh; + margin: 5px; } h1, h2 { @@ -90,53 +103,50 @@ h2 { /* GRID OF POSTS */ -#posts { - padding: 40px 0; -} .cell { - display: inline-block; - width: 26vw; - height: 23vw; - margin: 2vw; - color: white; + display: block; cursor: pointer; 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; } .cell .title { - position: absolute; - top: 50%; left: 50%; - transform: translate3d(-50%, -50%, 0); text-transform: uppercase; font-weight: bold; text-align: center; + margin: 20px; +} +.cell .title span { font-size: 20px; - color: black; - background: white; + color: white; padding: 5px; + text-shadow: 0 1px 2px #000; } -.desktop .cell { - opacity: 0.9; - transition: opacity 0.2s; -} -.desktop .cell:hover { - opacity: 1; -} -.cell:nth-child(2n+1) { background-color: #4f658e; } -.cell:nth-child(2n+2) { background-color: #7a7067; } - /* SINGLE POST VIEW */ .media { width: 100%; - max-height: 50vh; +} +.media iframe { + margin: 10px auto; + max-height: 30vh; + max-width: 100%; +} +.media img { + display: block; + margin: 10px auto; + max-width: 100%; } .content { - text-align: left; - padding: 20px 50px; + padding: 20px; line-height: 1.5; + background: white; } .close { position: absolute; @@ -154,10 +164,6 @@ h2 { #testimonials { margin-top: 15px; box-shadow: 0 0 20px 0px rgba(0,0,0,0.4); - background-image: url(testimonials.jpg); - background-size: cover; - background-position: bottom center; - background-repeat: no-repeat; width: 100%; height: 300px; } @@ -185,16 +191,11 @@ h2 { .cell { display: block; width: 100vw; - height: 20vh; - margin: 0; } #posts { margin: 0; padding: 0; } - body { - background-image: none; - } #testimonials { margin: 0; } |
