css sorting

This commit is contained in:
fr34k 2020-11-01 00:12:16 +01:00
parent 0b472cfee6
commit a78438bf37

View file

@ -62,73 +62,39 @@ h1, h2, h3, h4, h5 {
font-family: 'IM Fell English SC' 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 /* header
=================== */ =================== */
@media only screen and (min-width: 1000px) {
header { @media only screen and (min-width: 1200px) {
z-index: 1; div#content_padding {
position: absolute; padding-top: 120px;
top: 0px;
width: 100%;
} }
} }
@media only screen and (max-width: 500px) { @media only screen and (min-width: 1200px) {
.nav li { .nav ul {
margin-left: 2px !important; float: right;
margin-right: 2px !important; margin-right: 20px;
width: 20vw;
} }
} }
@media only screen and (min-width: 501px) and (max-width: 999px) {
.nav li { @media only screen and (max-width: 1199px) {
margin-left: 2px !important; .nav ul {
margin-right: 2px !important; clear: both;
width: 100px;
}
}
@media only screen and (min-width: 1000px) {
.nav li {
width: 100px;
} }
} }
header { header {
background: rgba(0,0,0,0.4); background: rgba(0,0,0,0.4);
font-family: 'IM Fell English SC'; font-family: 'IM Fell English SC';
margin: 0px; margin: 0px;
} }
@media only screen and (min-width: 1000px) {
div#content_padding {
padding-top: 120px;
}
}
.nav ul { .nav ul {
float: right;
margin-right: 20px;
padding: 0; padding: 0;
list-style: none; list-style: none;
display: flex; display: flex;
flex-wrap: wrap;
justify-content: center; justify-content: center;
} }
@ -138,6 +104,7 @@ header {
align-items: center; align-items: center;
margin: 1em; margin: 1em;
height: 20px; height: 20px;
width: 100px;
text-align: center; text-align: center;
} }
@ -165,12 +132,15 @@ header {
================ */ ================ */
.hero-image { .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-size: cover;
background-color: #f9f9ed ; background-color: #000000;
height: 500px; height: 80vh;
position: relative; position: relative;
justify-content: center; width: 100vw;
display: table-cell;
text-align: center;
vertical-align: middle;
} }
.hero-text { .hero-text {
@ -319,34 +289,58 @@ video {
div.jew_container { div.jew_container {
clear: both; clear: both;
display: flex; display: flex;
flex-wrap: wrap;
justify-content: center; justify-content: center;
margin-top: 100px; margin-top: 100px;
margin-bottom: 50px;
} }
.flexbox-jew-btn { .flexbox-jew-btn {
display: flex; display: flex;
flex-wrap: wrap;
justify-content: center;
} }
.jew-btn-container { .jew-btn-container {
position: relative; position: relative;
display: block; display: block;
/*margin-top: 50px;*/ width: 33.33%;
margin-bottom: 50px; min-width: 400px;
margin-left: 100px; display: inline-block;
margin-right: 100px; font-size: 1.15rem;
display: inline-block; margin-bottom: 50px;
font-size: 1.15rem; margin-top: 30px;
text-decoration: none; text-transform: uppercase;
text-transform: uppercase; padding: 0.5em 1.75em;
border-width: 2px; text-align: center;
border-style: solid; }
padding: 0.5em 1.75em;
.jew-btn-container a {
font-size: 32pt;
border-width: 2px;
padding: 4px;
text-decoration: none;
color: #f9f9ed;
} }
/* Collection /* 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 { div.collection_container {
clear: both; clear: both;
display: flex; display: flex;
@ -398,7 +392,6 @@ div.collection div.col-desc {
} }
.col-image:hover{ .col-image:hover{
filter: blur(3px);
filter: brightness(50%); filter: brightness(50%);
cursor: pointer; cursor: pointer;
} }