Candle/style.css

203 lines
3.0 KiB
CSS
Raw Normal View History

2023-04-18 08:39:39 +02:00
body{
background-color: rgb(66, 60, 54);
}
*{
font-family:arial, "lucida console", sans-serif;
}
.logo{
width:200px;
height: 200px;
}
.firsthead{
display: flex;
align-items:center;
justify-content: center;
background-color: #24140d;
color:rgb(255, 255, 255); /*#bf6538*/
}
*{
margin:0;
padding:0;
box-sizing: border-box;
}
.header{
background-color:rgb(99, 56, 10);
}
.searchTerm {
position: relative;
bottom: 15.05em;
float:right;
text-align: center;
color: #ffffff;
padding: 0.915em 2em;
background: #664220;
border: 0;
outline: 0;
margin-right: 1px;
}
#erweiterteSuche {
all: revert;
position: relative;
bottom: 12.55em;
left:97em;
color: #ffffff;
text-decoration: none;
}
.searchTerm::placeholder{
color: #ffffff;
text-align: left;
}
.searchButton{
position: relative;
bottom: 14.98em;
float:right;
color: #ffffff;
padding: 0.8em 1em;
background: #664220;
}
a.active {
background: #212529;
color: #fff;
}
#footer {
position: fixed;
bottom: 0;
width: 100%;
height: 60px; /* Height of the footer */
background-color: #24140d;
}
#footer-menu {
display: block;
margin-top: 3.3em;
}
#footer-menu ul li {
display: inline-block;
margin-right: 10px;
left: 50em;
}
a {
display: inline-block;
position: relative;
bottom: 2.75em;
text-decoration: none;
color: #ffffff;
padding: 0.8em 2.2em;
margin-right: 2px;
background: #664220;
}
a:hover {
text-decoration: underline;
color: #fff !important;
}
#nav-toggle {
display: none;
border: 0;
margin: 0;
padding: 1em 1.7em;
color: #fff;
}
input:before {
content: "\f0c9";
font-size: 2em;
font-weight: bold;
}
input:checked {
background: #1b1f21;
color: #b3b3b3;
}
input:checked + .mylinks {
display: block;
}
#nav-toggle {
position: absolute;
top: 0px;
}
.icon-burger {
display: none;
position: absolute;
right: 5%;
top: 5%;
transform: translateY(-50%);
cursor:pointer;
}
.icon-burger .line {
width: 30px;
height: 5px;
background-color: #fff;
margin: 5px;
border-radius: 3px;
transition: all .3s ease-in-out;
}
@media screen and (max-width: 768px) {
nav .mylinks {
float: none;
position: fixed;
z-index: 9;
left: 0;
right: 0;
top: 100px;
bottom: 100%;
width: auto;
height: auto;
flex-direction: column;
justify-content: space-evenly;
background-color: rgba(0,0,0,.8);
overflow: hidden;
box-sizing: border-box;
transition: all .5s ease-in-out;
}
nav .mylinks a {
font-size: 20px;
}
nav :checked ~ .mylinks {
bottom: 0;
}
nav .icon-burger {
display: block;
}
nav :checked ~ .icon-burger .line:nth-child(1) {
transform: translateY(10px) rotate(225deg);
}
nav :checked ~ .icon-burger .line:nth-child(3) {
transform: translateY(-10px) rotate(-225deg);
}
nav :checked ~ .icon-burger .line:nth-child(2) {
opacity: 0;
}
}