285 lines
5.2 KiB
CSS
285 lines
5.2 KiB
CSS
/* Used colors */
|
|
.color-text { color: #000000; }
|
|
.color-links { color: #9b0000; }
|
|
.color-back-primary { background: #ffffff; }
|
|
.color-back-secondary { background: #eeeeee; }
|
|
.color-back-shade { background: #c0c0c0; }
|
|
.color-accent { color: #3914af; }
|
|
|
|
/* Generated colors */
|
|
.color-primary-0 { color: #FF0000; } /* Main Primary color (Red) */
|
|
.color-primary-1 { color: #FF6464; }
|
|
.color-primary-2 { color: #FF3939; }
|
|
.color-primary-3 { color: #C60000; }
|
|
.color-primary-4 { color: #9B0000; } /* Main Background color (Dark red) */
|
|
|
|
.color-secondary-1-0 { color: #3914AF; } /* Main Secondary color (1) */
|
|
.color-secondary-1-1 { color: #735AC4; }
|
|
.color-secondary-1-2 { color: #5639B5; }
|
|
.color-secondary-1-3 { color: #2B0F88; }
|
|
.color-secondary-1-4 { color: #20096B; }
|
|
|
|
.color-secondary-2-0 { color: #FFD300; } /* Main Secondary color (2) */
|
|
.color-secondary-2-1 { color: #FFE464; }
|
|
.color-secondary-2-2 { color: #FFDD39; }
|
|
.color-secondary-2-3 { color: #C6A400; }
|
|
.color-secondary-2-4 { color: #9B8100; }
|
|
.clr {clear: both;}
|
|
|
|
body {
|
|
font-size: 20px;
|
|
font-family: "liberation sans", arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
p {
|
|
padding: 0.5em 0;
|
|
margin: 0;
|
|
text-align: left;
|
|
line-height: 1.3;
|
|
}
|
|
h1, h2, h3 {
|
|
padding: 0.5em 0;
|
|
margin: 0;
|
|
}
|
|
a {
|
|
color: #9b0000;
|
|
text-decoration: underline;
|
|
}
|
|
ul {
|
|
margin: 0;
|
|
}
|
|
|
|
/***** HEADER *****/
|
|
header {
|
|
background: #9b0000 url(img/front.jpg) center no-repeat;
|
|
background-size: cover;
|
|
height: calc(100vh - 80px);
|
|
width: calc(100% - 40px);
|
|
padding: 20px;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
header.shortened {
|
|
height: 250px;
|
|
}
|
|
#wappen {
|
|
position: absolute;
|
|
right: 20px;
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
#iwappen {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
#sitetitle {
|
|
position: absolute;
|
|
bottom: 1.4em;
|
|
left: 0.2em;
|
|
max-width: 100vw;
|
|
color: #ff0000;
|
|
font-weight: bold;
|
|
font-size: 500%;
|
|
letter-spacing: 0px;
|
|
text-shadow: 0.02em 0.02em 0.02em #000000,
|
|
0.02em -0.02em 0.02em #000000,
|
|
-0.02em 0.02em 0.02em #000000,
|
|
-0.02em -0.02em 0.02em #000000;
|
|
}
|
|
#slogan {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 1.8em;
|
|
max-width: 13.6em;
|
|
background: #ff0000;
|
|
padding: 0.1em 0.25em 0.1em 0.5em;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
font-size: 200%;
|
|
}
|
|
|
|
/***** NAV *****/
|
|
nav {
|
|
background-color: #9b0000;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
nav ul {
|
|
padding: 0 0.5em;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
nav a {
|
|
color: #ffffff;
|
|
}
|
|
nav li {
|
|
display: inline-block;
|
|
padding: 0.5em 0.75em;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
border-top-left-radius: 0.2em;
|
|
border-top-right-radius: 0.2em;
|
|
}
|
|
nav li:hover {
|
|
background-color: #ff0000;
|
|
}
|
|
nav a.current li {
|
|
background-color: #ffffff;
|
|
color: #9b0000;
|
|
}
|
|
|
|
/***** MAIN *****/
|
|
article {
|
|
margin: 0;
|
|
padding: 2em 1em;
|
|
width: calc(100% - 2em);
|
|
}
|
|
article.gray {
|
|
background: #eeeeee;
|
|
}
|
|
article.white {
|
|
background: #ffffff;
|
|
}
|
|
footer {
|
|
font-size: 100%;
|
|
margin: 0.5em 0 0 0;
|
|
}
|
|
footer h1,footer h2,footer h3 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
footer ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0.5em 0;
|
|
}
|
|
footer li, footer select {
|
|
display: inline-block;
|
|
padding: 0.2em;
|
|
margin-bottom: 0.2em;
|
|
}
|
|
footer a li, footer select {
|
|
border: 1px solid #000;
|
|
border-radius: 0.2em;
|
|
background-color: #9b0000;
|
|
color: #ffffff;
|
|
}
|
|
footer a li:hover,footer select:hover {
|
|
background-color: #ff0000;
|
|
}
|
|
footer a.current li {
|
|
background-color: #ffffff;
|
|
color: #9b0000;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
font-size: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
th {
|
|
background-color: #c0c0c0;
|
|
border: 1px solid #c0c0c0;
|
|
margin-top: 1em;
|
|
padding: 0.5em;
|
|
}
|
|
td {
|
|
border-bottom: 1px solid #c0c0c0;
|
|
}
|
|
tr.ge_eckdatum td {
|
|
background-color: rgba(255, 211, 0, 0.2);
|
|
}
|
|
tr.ge_weinsatz td {
|
|
background-color: rgba(57, 20, 175, 0.2);
|
|
}
|
|
select {
|
|
font-size: 100%;
|
|
}
|
|
footer select {
|
|
background-color: #9b0000;
|
|
color: #ffffff;
|
|
}
|
|
img.full {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
article img {
|
|
max-width: 100%;
|
|
max-height: 24em;
|
|
}
|
|
.red {
|
|
color: #ff0000;
|
|
}
|
|
.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
.tooltip {
|
|
display: none;
|
|
background-color: #eeeeee;
|
|
border: 1px solid #000000;
|
|
border-radius: 0.15em;
|
|
}
|
|
.white .tooltip {
|
|
background-color: #ffffff;
|
|
}
|
|
video {
|
|
background-color: #000000;
|
|
height: 270px;
|
|
}
|
|
section img {
|
|
margin: 0 0.2em 0em 0;
|
|
}
|
|
ul.listprops,ul.listdepls {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
ul.listprops li,ul.listdepls li {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 0.2em;
|
|
border: 1px solid #9b0000;
|
|
background-color: #ffffff;
|
|
border-radius: 0.3em;
|
|
margin: 0.2em;
|
|
}
|
|
li:hover .tooltip {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0.4em;
|
|
z-index: 999;
|
|
}
|
|
article.white ul.listprops li,article.white ul.listdepls li {
|
|
background-color: #eeeeee;
|
|
}
|
|
div.gallery {
|
|
margin: 1em 0 0 0;
|
|
}
|
|
|
|
@media only screen and (orientation: portrait) {
|
|
body {
|
|
font-size: 3.5vw;
|
|
}
|
|
header.shortened {
|
|
height: 300px;
|
|
}
|
|
nav {
|
|
font-size: 3.5vw;
|
|
}
|
|
nav li {
|
|
padding: 1em 0.35em;
|
|
}
|
|
#sitetitle {
|
|
font-size: 10vw;
|
|
/* height == 1em */
|
|
bottom: calc(300px - 0.8em); /*1.4 * 10 = 140*/
|
|
}
|
|
#slogan {
|
|
font-size: 4vw;
|
|
/* height == 1.2em */
|
|
bottom: calc(300px - 3.4em); /*1.8 * 4 = 7.2 */
|
|
}
|
|
} |