css + resolution de bug php
This commit is contained in:
BIN
ci/assets/SpotiFly-removebg-preview.png
Normal file
BIN
ci/assets/SpotiFly-removebg-preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
42
ci/assets/album.css
Normal file
42
ci/assets/album.css
Normal file
@@ -0,0 +1,42 @@
|
||||
/* assets/albums_style.css */
|
||||
.container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.album {
|
||||
box-sizing: border-box;
|
||||
width: 18%;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
background-color: #f9f9f9;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.album img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 10px 10px 0 0;
|
||||
}
|
||||
|
||||
.album-title {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.album:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
|
||||
25
ci/assets/bouton.js
Normal file
25
ci/assets/bouton.js
Normal file
@@ -0,0 +1,25 @@
|
||||
function scrollToTop() {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
|
||||
// Afficher ou masquer le bouton de scroll en fonction de la position dans la page
|
||||
document.addEventListener('scroll', function () {
|
||||
const scrollTopBtn = document.getElementById('scrollTopBtn');
|
||||
if (window.scrollY > 200) {
|
||||
scrollTopBtn.style.display = 'block';
|
||||
} else {
|
||||
scrollTopBtn.style.display = 'none';
|
||||
}
|
||||
});
|
||||
// Menu burger
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const burgerMenu = document.querySelector('.burger-menu');
|
||||
const navLinks = document.querySelector('.nav-links');
|
||||
|
||||
burgerMenu.addEventListener('click', function () {
|
||||
navLinks.classList.toggle('show');
|
||||
});
|
||||
});
|
||||
BIN
ci/assets/img/SpotiFly.png
Normal file
BIN
ci/assets/img/SpotiFly.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
ci/assets/img/Statistique.png
Normal file
BIN
ci/assets/img/Statistique.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
ci/assets/img/argent.png
Normal file
BIN
ci/assets/img/argent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
ci/assets/img/fond.jpeg
Normal file
BIN
ci/assets/img/fond.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
BIN
ci/assets/img/logo_noir.png
Normal file
BIN
ci/assets/img/logo_noir.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -1,20 +1,278 @@
|
||||
section.list
|
||||
{
|
||||
display : flex;
|
||||
justify-content : space-between;
|
||||
flex-wrap:wrap;
|
||||
}
|
||||
section.list > div
|
||||
{
|
||||
width : 30%;
|
||||
}
|
||||
section.list img {
|
||||
display:inline-block;
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
font-size: 16px;
|
||||
|
||||
}
|
||||
.short-text {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
.navbar a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin: 0 5px;
|
||||
|
||||
}
|
||||
.navbar {
|
||||
background-color: black;
|
||||
padding: 20px; /* Ajuste la valeur de padding selon tes besoins */
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
.bouton a{
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
.bouton {
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
background-color: #1ed860;
|
||||
font-weight: bold;
|
||||
padding: 12px;
|
||||
border-radius: 60px;
|
||||
border: 2px;
|
||||
margin: 0 40px;
|
||||
}
|
||||
.user{
|
||||
margin-right: 50px;
|
||||
padding-left: center;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.menu ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #FFF;
|
||||
font-family: Open Sans, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.menu_déroulant {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.menu_déroulant_content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
background-color: black;
|
||||
min-width: 170px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.menu_déroulant:hover .menu_déroulant_content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.menu_déroulant_content a {
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.menu_déroulant_content a:hover {
|
||||
color: #1ed860;
|
||||
}
|
||||
#Page {
|
||||
text-align: center;
|
||||
padding: 50px 0;
|
||||
background: url(img/fond.jpeg);
|
||||
}
|
||||
|
||||
#Page img {
|
||||
width: 400px;
|
||||
height: 400PX;
|
||||
}
|
||||
|
||||
.text-page {
|
||||
border-top: 2px solid #1ed860;
|
||||
margin-top: 100px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#header {
|
||||
background-color: #1ed860;
|
||||
padding: 2px 0;
|
||||
}
|
||||
|
||||
.content {
|
||||
max-width: 1200px;
|
||||
margin: 80px auto 0;
|
||||
padding: 20px;
|
||||
}
|
||||
.mention_legale h2{
|
||||
color: #1ed860;
|
||||
font-size: 2em;
|
||||
margin-left: 400px;
|
||||
}
|
||||
.mention_legale{
|
||||
background-color: white;
|
||||
border-radius: 20px;
|
||||
margin: 60px auto 0;
|
||||
padding: 40px;
|
||||
}
|
||||
.box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 50px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
.box-img {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.box .box-img img{
|
||||
width: 250px;
|
||||
height: 150px;
|
||||
border-radius: 8px;
|
||||
padding-right: 50px;
|
||||
margin-left: 100px;
|
||||
object-fit: initial;
|
||||
}
|
||||
.box-content{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.text-content{
|
||||
flex: 1;
|
||||
}
|
||||
.box p{
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.box h2 {
|
||||
color: #81b71a;
|
||||
font-weight: bold;
|
||||
font-family: 'Open Sans', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
||||
font-size: 3.5em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.box h3{
|
||||
color: #1ed860;
|
||||
font-weight: bold;
|
||||
font-size: 2em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.box p{
|
||||
text-align: justify;
|
||||
}
|
||||
.box img {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
margin-right: 50px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
.content-section h2 {
|
||||
color: #1ed860;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
.logo img {
|
||||
padding-left: 10px;
|
||||
width: 200px;
|
||||
height: 80px;
|
||||
margin-right: auto;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.footer {
|
||||
background-color: black;
|
||||
color: white;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.footer-section {
|
||||
text-align: center;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.logo-reseaux {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.logo-reseaux img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.footer-section h3 {
|
||||
margin-bottom: 10px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.footer-section a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.footer-section img {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#scrollTopBtn {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
background-color: #1ed860;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-size: 25px;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user