138 lines
2.2 KiB
CSS
138 lines
2.2 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.header {
|
|
background-color: #fff;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
padding: 10px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.header_inner {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.header_image img {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.header_text .site-title {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
color: #666;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.menu, .menu2, .mobile_menu {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu_link, .menu_abmelden, .menu_account {
|
|
text-decoration: none;
|
|
color: #007bff;
|
|
margin: 0 10px;
|
|
font-size: 16px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.menu_link:hover, .menu_abmelden:hover, .menu_account:hover {
|
|
color: #0056b3;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 34px;
|
|
height: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: 0.4s;
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 14px;
|
|
width: 14px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: white;
|
|
transition: 0.4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: #007bff;
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: translateX(14px);
|
|
}
|
|
|
|
.mobile_menu {
|
|
display: none;
|
|
background-color: #fff;
|
|
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
|
|
padding: 10px 20px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.mobile_menu_inner a {
|
|
color: #007bff;
|
|
font-size: 24px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.menu {
|
|
display: none;
|
|
}
|
|
.mobile_menu {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
padding: 20px;
|
|
background-color: #fff;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
margin: 20px;
|
|
}
|