Brief_starWars/css/style.css

159 lines
2.2 KiB
CSS
Raw Normal View History

2021-10-19 19:48:52 +00:00
@font-face {
font-family: "Montserrat";
2021-10-20 09:17:57 +00:00
src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
2021-10-19 19:48:52 +00:00
}
@font-face {
font-family: "OpenSans";
2021-10-20 10:29:09 +00:00
src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
2021-10-19 19:48:52 +00:00
}
2021-10-19 14:41:40 +00:00
body{
2021-10-20 09:17:57 +00:00
font-family: "Montserrat";
color: #fff;
2021-10-19 15:38:04 +00:00
background-color: #031010;
text-align: center;
2021-10-19 14:41:40 +00:00
}
2021-10-19 15:38:04 +00:00
header{
2021-10-19 14:41:40 +00:00
width: 100%;
2021-10-19 15:38:04 +00:00
height: 200px;
2021-10-20 09:17:57 +00:00
justify-content: center;
position: sticky;
top: 0%;
2021-10-19 15:38:04 +00:00
background-color:#2A4158;
2021-10-20 09:17:57 +00:00
display: flex;
flex-flow: wrap column ;
}
nav{
display: flex;
flex-flow: wrap column ;
justify-content: center;
}
2021-10-20 10:29:09 +00:00
.searchBar{
margin-top: 20px;
2021-10-20 09:17:57 +00:00
}
2021-10-20 10:29:09 +00:00
input{
width: 784px;
height: 30px;
background-color: #fff;
border-radius: 25px;
padding-left: 10px;
text-align: start;
}
2021-10-20 09:17:57 +00:00
ul{
display: flex;
flex-flow: wrap row ;
justify-content: space-evenly;
2021-10-19 15:38:04 +00:00
}
2021-10-20 09:17:57 +00:00
li{
list-style: none;
2021-10-19 15:38:04 +00:00
2021-10-20 09:17:57 +00:00
}
a{
font-family: "Montserrat";
font-size: 18px;
color: #fff;
text-decoration: none;
2021-10-19 15:38:04 +00:00
}
.navSearch{
2021-10-19 14:41:40 +00:00
}
2021-10-20 10:29:09 +00:00
.banner{
width: auto;
height: 600px;
background-image:url(../images/ban.png);
background-size: 100% 100%;
margin-bottom: 100px;
}
2021-10-19 15:38:04 +00:00
h1{
font-size: 48px;
2021-10-20 10:29:09 +00:00
color: #fff;
2021-10-19 15:38:04 +00:00
2021-10-19 14:41:40 +00:00
}
2021-10-20 10:29:09 +00:00
.container{
display: flex;
flex-flow: wrap column ;
justify-content: center;
}
.presentation{
margin: 100px;
font-size: 20px;
color: #F5ED17;
width: 1050px;
}
2021-10-19 15:38:04 +00:00
h2{
2021-10-20 10:29:09 +00:00
font-size: 30px;
color:#F5ED17 ;
}
2021-10-19 14:41:40 +00:00
2021-10-20 10:29:09 +00:00
.etendre{
color: #F5ED17;
2021-10-19 14:41:40 +00:00
}
2021-10-19 15:38:04 +00:00
.card{
2021-10-19 14:41:40 +00:00
}
2021-10-20 09:17:57 +00:00
.details{
display:none;
}
.active{
display: block;
}
2021-10-19 15:38:04 +00:00
.data{
2021-10-19 14:41:40 +00:00
}
2021-10-19 15:38:04 +00:00
h3{
2021-10-20 10:29:09 +00:00
font-size: 18px;
2021-10-19 15:38:04 +00:00
2021-10-19 14:41:40 +00:00
}
2021-10-19 15:38:04 +00:00
p{
2021-10-20 10:29:09 +00:00
font-family: "OpenSans";
font-size: 15px;
2021-10-19 14:41:40 +00:00
}
2021-10-19 15:38:04 +00:00
.boutons{
2021-10-20 10:29:09 +00:00
display: flex;
flex-flow: row wrap;
justify-content: center;
}
2021-10-19 14:41:40 +00:00
2021-10-20 10:29:09 +00:00
.allButtons{
margin-right: 10px;
border-radius: 50%;
width: 50PX;
height: 50PX;
border: none;
background-color: #FF2606 ;
color: #fff;
font-weight: bold;
font-size: 13px;
2021-10-19 15:38:04 +00:00
}
2021-10-20 10:29:09 +00:00
.allButtons:hover{
background-color: #fff ;
color: black;
cursor: pointer;
}
2021-10-20 09:17:57 +00:00
2021-10-19 15:38:04 +00:00
footer{
2021-10-20 09:17:57 +00:00
width: auto;
height: 400px;
background-image:url(../images/footer.png);
background-size: 100% ;
2021-10-19 14:41:40 +00:00
}