ajout menu déroulant + bouton +
This commit is contained in:
@@ -10,7 +10,7 @@ body {
|
||||
|
||||
/* Conteneur principal */
|
||||
.container {
|
||||
width: 80%;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -14,12 +14,3 @@ document.addEventListener('scroll', function () {
|
||||
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');
|
||||
});
|
||||
});
|
||||
83
ci/assets/connexion.css
Normal file
83
ci/assets/connexion.css
Normal file
@@ -0,0 +1,83 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Arial', sans-serif;
|
||||
background-color: #1DB954;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
background-color: #191414;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.login-box {
|
||||
max-width: 400px;
|
||||
margin: auto;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.login-box h1 {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.textbox {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.textbox input {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background-color: #333;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.btn.social-btn {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.apple {
|
||||
background-color: #A3AAAE;
|
||||
}
|
||||
|
||||
.google {
|
||||
background-color: #DB4437;
|
||||
}
|
||||
|
||||
.facebook {
|
||||
background-color: #3B5998;
|
||||
}
|
||||
|
||||
.alt-login p {
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #333;
|
||||
margin: 20px 0;
|
||||
}
|
||||
@@ -16,7 +16,27 @@
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.short-text {
|
||||
.song-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.song-name {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.add-to-playlist {
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.add-to-playlist:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ body {
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
font-size: 16px;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
.navbar a {
|
||||
@@ -75,19 +76,21 @@ body {
|
||||
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 {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background-color: black;
|
||||
min-width: 170px;
|
||||
border-radius: 5px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.menu_déroulant_content a {
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
@@ -198,11 +201,12 @@ body {
|
||||
.content-section h2 {
|
||||
color: #1ed860;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
}
|
||||
.logo img {
|
||||
padding-left: 10px;
|
||||
@@ -215,6 +219,7 @@ img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
.footer {
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
||||
Reference in New Issue
Block a user