You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE_2A_FA-Reseau_ALICA/php/public/css/accueil.css

149 lines
2.5 KiB

@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Share+Tech+Mono&display=swap);
*{
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
margin: 0;
}
.main {
color: #212121;
font-size: 1rem;
}
.title-banner{
text-align: center;
}
.banner-img{
width: 100%;
height: 250px;
object-fit: cover;
}
.banner {
position: relative;
}
.title-banner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
padding: 10px;
border-radius: 5px;
}
.title-banner .title{
font-size: 35px;
color: #00DBFF;
font-weight: bold;
}
.title-banner .subtitle{
font-size: 20px;
color: #fff;
}
.title-banner .description{
font-size: 15px;
color: #fff;
}
.slideshow-container {
position: relative;
max-width: 70%;
margin: 0 auto;
padding: 30px;
}
.slide {
width: 100%;
height: 350px;
border-radius: 20px;
border: #212121 1px solid;
}
.slide-content {
display: flex;
width: 100%;
}
.slide-img,
.slide-info {
width: 50%;
overflow: hidden;
}
.slide-info{
padding: 15px;
}
.slide-title{
font-size: 20px;
font-weight: bold;
}
.slide-info .button{
color: #00DBFF;
font-size: 14px;
padding: 5px;
text-transform: uppercase;
border-radius: 15px;
border: #00DBFF 2px solid;
display: inline-block;
margin-top: 10px;
}
.slide-img img{
height: 350px;
border-radius: 20px;
}
.prevButton, .nextButton {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 24px;
background-color: black;
color: white;
padding: 8px 16px;
border: none;
cursor: pointer;
}
.prevButton {
left: 0;
}
.nextButton {
right: 0;
}
.search{
background-color: #212121;
padding: 50px 30px;
display: flex;
justify-content: center;
align-items: center;
}
.search .search-bar{
border-radius: 10px;
height: 40px;
width: calc(100% - 50px);
margin-right: 10px;
}
.search .search-button{
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 10px;
background: #fff;
color: #212121;
vertical-align: middle;
}