dontmeetme/styles/2000/main.css

188 lines
3.1 KiB
CSS

body {
background-color: #F8BCFF;
background-repeat: repeat;
background-position: center;
width: 1200px; /* parce que personne avait une res plus grande en 2005 */
margin: auto;
font-family: Arial, Helvetica, sans-serif;
}
@font-face {
font-family:"pacifico";
src: url("./Pacifico-Regular.ttf") format("truetype");
}
header{
display: flex;
align-items: center;
gap: 1rem;
justify-content: space-between;
border: solid purple 2px;
border-radius: 15px;
margin-top: 5px;
padding: 5px;
}
nav{
padding-bottom: .3rem;
padding-right: 1rem;
}
nav ul {
list-style-type: none;
}
nav ul li{
text-align: center;
background-color: salmon;
margin: 5px;
border-radius: 5px;
}
nav ul li:hover{
background-color: #F59BFF;
}
nav ul li a{
text-decoration: none;
}
h1,h2,p,#intropage {
text-align: center;
}
h1 {
font-size: 4rem;
font-family:"pacifico", Arial, Helvetica, sans-serif;
}
#makeachoicehf{
margin-top: 4rem;
margin-bottom: 4rem;
}
#makeachoicehf a{
display: flex;
justify-content: center;
align-items: center;
border: solid purple 5px ;
border-radius: 15px;
margin: 15px;
padding: 5px;
text-decoration: none;
}
#makeachoicehf a:hover{
background-color: #fcdcff;
}
#makeachoicehf a p{
font-family:'pacifico',Arial, Helvetica, sans-serif;
text-decoration: none;
font-size: 4rem;
margin-left: 3rem;
}
.imgbouton{
width: 200px;
height: auto;
}
#comments {
display: flex;
flex-direction: column;
}
.caption {
text-align: center;
align-self: center;
}
.avis {
width: 150px;
height: auto;
justify-content: center;
align-items: center;
border-radius: 15px ;
padding: 1px;
}
figure {
display: flex;
border: solid purple 1px;
border-radius: 15px;
flex-direction: row;
}
#footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 2rem;
}
#rightfoot {
display: flex;
justify-content: center;
}
#rightfoot ul {
display: flex;
flex-direction: row;
list-style-type: none;
}
#rightfoot ul li {
margin: 5px;
}
#feedback{
display: flex;
flex-direction: column;
align-items: center;
}
#feedback #form {
width: fit-content;
border: solid purple 2px ;
border-radius: 15px;
display: flex;
text-align: center;
flex-direction: column;
justify-content: center;
padding-top: 2rem;
padding-left: 15%;
padding-right: 15%;
padding-bottom: 2rem;
margin-bottom: 5rem;
}
#feedback #form form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 2rem;
}
@media screen and (max-width:1200px){
header{
font-size: 3rem;
flex-direction: column;
}
header #buttonSec {
order: 3;
}
main{
font-size: 2rem;
}
.avis {
width: 50%;
height: auto;
}
figure {
flex-direction: column;
align-items: center;
}
}