dontmeetme/styles/today/main.css
2021-11-18 17:19:02 +01:00

189 lines
3.1 KiB
CSS

body{
font-family: 'Zen Kurenaido', sans-serif;
margin: 0;
padding: 0;
background-image: url("../../img/patternhearth.png");
background-repeat: repeat;
background-position: center;
}
header{
background:radial-gradient(circle at 50% 50%, rgb(255, 255, 255) 6%, rgb(175, 71, 201) 100%);
display: flex;
align-items: center;
gap: 1rem;
justify-content: space-between;
}
#title{
display: flex;
flex-direction: column;
}
#title img{
height: 4.5rem;
width: auto;
}
#buttonSec{
margin-left: 1rem;
}
.burger_button{
position: absolute;
top: 1rem;
right: 1rem;
display: none;
flex-direction: column;
justify-content: space-between;
width: 60px;
height: 42px;
}
.burger_button .bar{
height: 6px;
width: 100%;
background-color: black;
border-radius: 10px;
}
nav{
padding-bottom: .3rem;
padding-right: 1rem;
}
nav ul{
display: flex;
flex-direction: row;
justify-content: center;
list-style-type: none;
padding-left: 0;
align-items: center;
text-decoration: none;
}
a:link
{
text-decoration: none;
}
a{
color: black;
}
nav ul li{
transition: 1s;
border-right: 1px solid #bbb;
background-color: rgb(124, 124, 145);
padding: 1rem;
margin-top: auto;
margin-bottom: auto;
}
nav ul li:last-child{
border-right: none;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
padding-right: 1rem;
}
nav ul li:first-child{
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding-left: 1rem;
}
nav ul li:hover{
background-color: rgb(175, 71, 201);
transition: background-color 1s;
}
footer{
margin-bottom: 0px;
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: pink;
padding-bottom: 1rem;
border-radius: 1rem;
}
footer #feedback #form{
display: flex;
flex-direction: column;
}
footer #feedback #form #send{
justify-self: flex-start;
}
footer #feedback #form #txtfeedback{
resize: none;
}
footer #rightfoot{
display: flex;
align-items: center;
}
footer #rightfoot ul{
font-size: 1rem;
display : flex;
flex-direction: column;
list-style-type: none;
}
@media screen and (max-width:1000px){
#title{
justify-content: left;
}
.burger_button{
display: flex;
}
.navbar_links{
width: 100%;
}
nav{
flex-direction: column;
align-items: flex-start;
}
nav ul li:first-child{
border-bottom-left-radius: 0px;
}
nav ul li:last-child{
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 10px;
padding-right: 1rem;
}
.navbar_links ul{
flex-direction: column;
width: 100%;
}
.navbar_links li{
text-align: center;
border-right: none;
min-width: 100%;
font-size: 2rem;
}
.navbar_links li a{
padding: .5rem 1rem;
}
.navbar_links .active{
display: flex;
}
.hide{
display: none;
}
}