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.

218 lines
3.3 KiB

/********************************************************************************/
/*General css*/
a {
color: #0e6ab9;
text-decoration: none;
}
section {
width: 80%;
margin-bottom: 40px;
}
aside {
float: right;
width: 20%;
height: 400px;
border: 2px black solid;
}
table, td, th {
border: solid;
border-collapse: collapse;
}
body {
font-family: Arial, sans-serif;
background-color: #323438;
margin: 0;
padding: 0;
color: #f1f1f1;
}
h1, h2, h3 {
color: #ffffff;
}
p {
font-size: 1.1em;
line-height: 1.6;
}
figure {
text-align: center;
margin: 50px auto;
}
figure img {
max-width: 100%;
height: auto;
border: 3px solid #333;
}
figcaption {
font-size: 1.2em;
margin-top: 10px;
}
/********************************************************************************/
/*Navbar css*/
.navbar {
background-color: #0e6ab9;
padding: 15px;
display: flex;
justify-content: center;
position: sticky;
}
.navbar-list {
list-style-type : non;
margin: 0;
padding: 0;
display: flex;
gap: 20px;
}
.navbar-list li {
display: inline;
z-index: 200;
}
.navbar-list a {
color: white;
text-decoration: none;
font-size: 1.2em;
padding: 10px 15px;
transition: background-color 0.3 ease;
}
.navbar-list a:hover {
background-color: #fff;
color: #0e6ab9;
border-radius: 5px;
}
/********************************************************************************/
/* Css for the gallery (general) */
.title_gallery {
font-size: 2rem;
color: #f0f0f0;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
margin-bottom: 20px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.title_gallery::after {
content: '';
display: block;
width: 80px;
height: 4px;
background-color: #f0f0f0;
margin: 10px auto 0;
}
.title_gallery {
background: rgba(0, 0, 0, 0.3);
padding: 10px 20px;
border-radius: 5px;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
padding: 20px;
}
.gallery_video {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
position: relative;
}
.gallery a {
display: inline-block;
border: 2px solid #ccc;
padding: 5px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.gallery a:hover {
transform: scale(1.1);
border-color: #333;
}
.gallery img {
display: block;
width: 150px;
height: 100px;
object-fit: cover;
}
.video-item {
width: 400px;
height: 240px;
margin: 10px;
overflow: hidden;
position: relative;
z-index: 1;
}
.video-item video {
width: 100%;
height: 100%;
transition: transform 0.3s ease, z-index 0.3s ease;
cursor: pointer;
position: relative;
z-index: 1;
}
.video-item:hover video {
width: 1200px;
height: 700px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
.video-item:not(:hover) {
z-index: 0;
}
.gallery_video figcaption {
text-align: left;
color: white;
}
#video_categorie {
text-align: center;
margin-top: 20px;
}