From a78438bf379906bf3de9f645ed8ba5a37eeaadfb Mon Sep 17 00:00:00 2001 From: fr34k Date: Sun, 1 Nov 2020 00:12:16 +0100 Subject: [PATCH] css sorting --- css/projects.css | 127 ++++++++++++++++++++++------------------------- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/css/projects.css b/css/projects.css index ab336fa..24cbbd9 100644 --- a/css/projects.css +++ b/css/projects.css @@ -62,73 +62,39 @@ h1, h2, h3, h4, h5 { font-family: 'IM Fell English SC' } -/* Breitenanpassung -====================*/ - -@media only screen and (min-width: 1000px) { - div.collection { - width: calc(33.3333% - 8px); - } -} -@media only screen and (min-width: 600px) and (max-width: 999px) { - div.collection { - width: calc(50% - 8px); - } -} -@media only screen and (max-width: 599px) { - div.collection { - width: calc(100% - 8px); - } -} - /* header =================== */ -@media only screen and (min-width: 1000px) { - header { - z-index: 1; - position: absolute; - top: 0px; - width: 100%; + +@media only screen and (min-width: 1200px) { + div#content_padding { + padding-top: 120px; } } -@media only screen and (max-width: 500px) { - .nav li { - margin-left: 2px !important; - margin-right: 2px !important; - width: 20vw; +@media only screen and (min-width: 1200px) { + .nav ul { + float: right; + margin-right: 20px; } } -@media only screen and (min-width: 501px) and (max-width: 999px) { - .nav li { - margin-left: 2px !important; - margin-right: 2px !important; - width: 100px; - } -} -@media only screen and (min-width: 1000px) { - .nav li { - width: 100px; + +@media only screen and (max-width: 1199px) { + .nav ul { + clear: both; } } + header { background: rgba(0,0,0,0.4); font-family: 'IM Fell English SC'; margin: 0px; } -@media only screen and (min-width: 1000px) { - div#content_padding { - padding-top: 120px; - } -} - .nav ul { - float: right; - margin-right: 20px; padding: 0; list-style: none; display: flex; + flex-wrap: wrap; justify-content: center; } @@ -138,6 +104,7 @@ header { align-items: center; margin: 1em; height: 20px; + width: 100px; text-align: center; } @@ -165,12 +132,15 @@ header { ================ */ .hero-image { - background: url(images/background_img/index_bg.jpg) no-repeat center; + background: url('/images/background_img/index_bg.jpg') no-repeat center; background-size: cover; - background-color: #f9f9ed ; - height: 500px; + background-color: #000000; + height: 80vh; position: relative; - justify-content: center; + width: 100vw; + display: table-cell; + text-align: center; + vertical-align: middle; } .hero-text { @@ -319,34 +289,58 @@ video { div.jew_container { clear: both; display: flex; - flex-wrap: wrap; justify-content: center; margin-top: 100px; + margin-bottom: 50px; } .flexbox-jew-btn { display: flex; + flex-wrap: wrap; + justify-content: center; } .jew-btn-container { - position: relative; - display: block; - /*margin-top: 50px;*/ - margin-bottom: 50px; - margin-left: 100px; - margin-right: 100px; - display: inline-block; - font-size: 1.15rem; - text-decoration: none; - text-transform: uppercase; - border-width: 2px; - border-style: solid; - padding: 0.5em 1.75em; + position: relative; + display: block; + width: 33.33%; + min-width: 400px; + display: inline-block; + font-size: 1.15rem; + margin-bottom: 50px; + margin-top: 30px; + text-transform: uppercase; + padding: 0.5em 1.75em; + text-align: center; +} + +.jew-btn-container a { + font-size: 32pt; + border-width: 2px; + padding: 4px; + text-decoration: none; + color: #f9f9ed; } /* Collection ================*/ +@media only screen and (min-width: 1000px) { + div.collection { + width: calc(33.3333% - 8px); + } +} +@media only screen and (min-width: 600px) and (max-width: 999px) { + div.collection { + width: calc(50% - 8px); + } +} +@media only screen and (max-width: 599px) { + div.collection { + width: calc(100% - 8px); + } +} + div.collection_container { clear: both; display: flex; @@ -398,7 +392,6 @@ div.collection div.col-desc { } .col-image:hover{ - filter: blur(3px); filter: brightness(50%); cursor: pointer; }