268 lines
No EOL
4.8 KiB
CSS
268 lines
No EOL
4.8 KiB
CSS
a:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
/* Add a black background color to the top navigation */
|
|
.topnav {
|
|
background: linear-gradient(to bottom, lightgrey, white);
|
|
border: 1px solid lightgrey;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.topnav ul, .topnav li {
|
|
list-style: none;
|
|
}
|
|
.topnav ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
justify-content: flex-start;
|
|
}
|
|
.topnav .wambo { /* der bereich der den content hält : brauchen wir für die flexbox*/
|
|
display: flex;
|
|
}
|
|
.topnav .pic-wrapper, .topnav a, .topnav #hamburger-toggle {
|
|
height: 75px;
|
|
line-height: 75px;
|
|
}
|
|
/* geht auch ohne .topnav .pic-wrapper {
|
|
overflow: hidden;
|
|
}*/
|
|
.topnav a {
|
|
display: block;
|
|
transition: 0.5s all ease;
|
|
padding: 0 15px;
|
|
padding-top: 12px;
|
|
/*box-sizing: border-box; kommt bereits über reset.css */
|
|
}
|
|
.topnav a, .footer {
|
|
color: #555;
|
|
}
|
|
.topnav a:hover {
|
|
background: lightgrey;
|
|
|
|
}
|
|
.topnav .pic-wrapper {
|
|
margin-right: 15px; /* abstand zu <ul> / links */
|
|
}
|
|
.topnav .pic-wrapper:hover img {
|
|
margin-top: -80px;
|
|
}
|
|
/* das <li> */
|
|
.topnav .icon {
|
|
display: block;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 14px;
|
|
border-left: 1px solid lightgrey;
|
|
}
|
|
|
|
.lastBorder {
|
|
border-right: 1px solid lightgrey;
|
|
}
|
|
|
|
|
|
.topnav #hamburger-toggle {
|
|
display: none; /* normal net sichtbar */
|
|
}
|
|
|
|
.page {
|
|
width: 1170px;
|
|
margin: 0 auto;
|
|
}
|
|
@media only screen and (max-width: 1050px) {
|
|
.page {
|
|
width: 95%;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 500px) {
|
|
.page {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#section {
|
|
margin-top: 85px; /* wie die header hoch ist; notwendig da header position fixed hat; 75px + 10px extra */
|
|
}
|
|
h1 {
|
|
margin: 20px 0;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 30px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.text {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 14px;
|
|
line-height: 145%;
|
|
font-style: normal;
|
|
|
|
border: 1px solid lightgrey;
|
|
border-top-color: lightgreen;
|
|
border-radius: 3px;
|
|
|
|
column-count: 3;
|
|
|
|
padding: 10px;
|
|
|
|
box-shadow: 0 2px 3px lightgrey;
|
|
|
|
margin-bottom: 12px; /* damit control nicht so daran klebt */
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
.text {
|
|
column-count: 2;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
.text {
|
|
column-count: 1;
|
|
}
|
|
}
|
|
|
|
.text a {
|
|
color: lightgreen;
|
|
}
|
|
|
|
.text a:hover {
|
|
color: darkgreen;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-wrapper {
|
|
font-family: 'Roboto', sans-serif;
|
|
margin-bottom: 15px;
|
|
vertical-align: middle;
|
|
width: 100%;
|
|
overflow-x: scroll;
|
|
}
|
|
|
|
table#t01 {
|
|
width: 100%;
|
|
}
|
|
|
|
table#t01 tr:nth-child(odd) {
|
|
background-color: lightgrey;
|
|
}
|
|
|
|
table#t01 th {
|
|
background-color: #fff;
|
|
white-space: nowrap; /* kein umbruch bei schmaler ansicht */
|
|
}
|
|
/* die sort up sort down icons neben den Spaltennamen */
|
|
table#t01 th i {
|
|
font-size: 0.6em;
|
|
color: lightgreen;
|
|
}
|
|
|
|
table#t01 th, table#t01 td {
|
|
line-height: 1em;
|
|
padding: 11px 0;
|
|
font-size: 14px; /* same as section */
|
|
}
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
table#t01 th:nth-child(n+7), table#t01 td:nth-child(n+7) {
|
|
display: none;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 900px) {
|
|
table#t01 th:nth-child(n+5), table#t01 td:nth-child(n+5) {
|
|
display: none;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 600px) {
|
|
table#t01 th:nth-child(n+4), table#t01 td:nth-child(n+4) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.boxed {
|
|
border: 1px solid green;
|
|
width: 80%;
|
|
text-align: center;
|
|
}
|
|
|
|
th {
|
|
text-align: left;
|
|
border-bottom: 3px solid lightgrey;
|
|
}
|
|
|
|
.did {
|
|
border: 1px solid;
|
|
float: left;
|
|
padding: 2em;
|
|
min-height: 150px;
|
|
min-width: 250px;
|
|
}
|
|
|
|
.footer {
|
|
border-top: 2px solid lightgreen;
|
|
font-family: 'Roboto', sans-serif;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
}
|
|
.foo-left {
|
|
margin-top: 15px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.foo-right {
|
|
margin-top: 15px;
|
|
margin-bottom: 30px;
|
|
text-align: right;
|
|
}
|
|
|
|
.option_list ul li {
|
|
display: inline;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.option_list ul {
|
|
padding: 5px;
|
|
}
|
|
|
|
.option_list li {
|
|
padding: 3px;
|
|
}
|
|
|
|
/* hamburger menu stuff */
|
|
|
|
@media only screen and (max-width: 950px) {
|
|
.topnav #hamburger-toggle {
|
|
display: block; /* normal net sichtbar */
|
|
margin-right: 20px;
|
|
}
|
|
.topnav .wambo {
|
|
justify-content: space-between;
|
|
}
|
|
.topnav #menu {
|
|
display: none;
|
|
background-color: #ffffff;
|
|
position: fixed; /* absolute geht nicht wenn das parent fixed ist ; muss auch fixed sein */
|
|
top: 77px;
|
|
right: 0;
|
|
left: 0;
|
|
}
|
|
.topnav a {
|
|
padding-top: 0;
|
|
height: 3em;
|
|
line-height: 3em;
|
|
}
|
|
.topnav #menu.active {
|
|
display: block;
|
|
}
|
|
} |