mvc-base/assets/style.css

206 lines
3.2 KiB
CSS
Raw Permalink Normal View History

2024-09-09 20:07:44 +02:00
@font-face { font-family: 'Lato';
src: url('/assets/font/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lato';
src: url('/assets/font/Lato-Bold.ttf') format('truetype');
font-weight: bold;
}
@font-face { font-family: 'Lato';
src: url('/assets/font/Lato-Italic.ttf') format('truetype');
font-style: italic;
}
@font-face { font-family: 'Lato';
src: url('/assets/font/Lato-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}
body {
font-family: Lato;
scroll-behavior: smooth;
text-align:left;
}
span {font-family: Lato;}
.it {font-style: italic;}
.bo {font-weight: bold;}
* {
box-sizing: border-box;
}
img{
max-width: 100%;
}
/* Wrapper f<>r die gesammte Seite*/
#wrapper{
max-width: 1200px;
margin: auto;
}
/* Style the header */
#header {
background-color: #f1f1f1;
position: -webkit-sticky;
position: sticky;
margin-top:10px;
margin-bottom: 10px;
}
/* leerzeile nach dem header*/
#header:after {
content: "";
display: table;
clear: both;
}
/*Header links*/
#title{
width:25%;
background-color: #f1f1f1;
float: left;
}
#titellogo{
width:30px;
}
/*Header links (Men<65>)*/
#menu {
background-color: #f1f1f1;
top:0px;
max-width:75%;
float:right;
}
/*Hauptmen<65>*/
ul#navigation {
margin: 0px;
padding: 0px;
list-style-type: none;
}
ul#navigation li {
padding: 1px;
margin: 1px;
display: inline;
}
ul#navigation li a:link {
border: 1px solid #000;
background-color: #CCCCCC;
padding: 2px 5px 2px 5px;
font-size: 12px;
color: #000;
text-decoration: none;
}
ul#navigation li a:hover {
border: 1px solid #000;
background-color: #333333;
padding: 2px 5px 2px 5px;
color: #fff;
}
/*Content wrapper*/
.content{
padding-top:75px;
}
/* Create three unequal columns that floats next to each other */
.column {
float: left;
padding: 10px;
}
/* Left and right column
.column.side {
width: 25%;
}
*/
/* Middle column */
.column.middle {
width: 50%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Footer*/
#foot{
background-color: #f1f1f1;
}
.foot {
background-color: #f1f1f1;
float: left;
padding: 10px;
}
.foot.lside{
text-align: left;
width: 45%;
}
.foot.middle{
text-align: center;
width: 10%;
}
.foot.rside{
text-align: right;
width: 45%;
}
/*Footermen<65>*/
ul#footmenu{
list-style-type: none;
}
ul#footmenu li{
}
ul#footmenu li a:link{
text:black;
}
ul#footmenu li a:hover{
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.column.side, .column.middle {
width: 100%;
}
}
#impressum{
text-align:justify;
}
#weeks{
width:100%;
height:auto;
margin-left: 0px;
margin-top: 0px;
}
.week{
width:100%;
float:left;
height:auto;
padding-left: 10px;
padding-right: 10px;
margin-top: 10px;
}
/* Clear floats after the columns */
#weeks:after {
content: "";
display: table;
clear: both;
}