Add Page Roman
This commit is contained in:
parent
d4300b6963
commit
c63d1cc49e
BIN
assets/C9EED782-8F3C-40E5-87C0-5E2032ADAB72.jpeg
Normal file
BIN
assets/C9EED782-8F3C-40E5-87C0-5E2032ADAB72.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
51
assets/Roman.html
Normal file
51
assets/Roman.html
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||||
|
<title>To Hide Is To Be Seen</title>
|
||||||
|
<link rel="stylesheet" href="stylesrom.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<header class="page-header">
|
||||||
|
<a href="front.html" class="logo-container">
|
||||||
|
<img src="logo.png" alt="Logo" class="logo" />
|
||||||
|
</a>
|
||||||
|
<h1 class="title">To Hide Is To Be Seen</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<main class="vinyl-container">
|
||||||
|
|
||||||
|
<div class="vinyl" id="vinyl">
|
||||||
|
<img src="C9EED782-8F3C-40E5-87C0-5E2032ADAB72.jpeg" alt="Pochette" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2 class="title-under">
|
||||||
|
<span class="song-title">To Hide Is To Be Seen</span><br>
|
||||||
|
<span class="artist-name">Roman</span>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<div class="progress-container">
|
||||||
|
<input type="range" id="progress" value="0" />
|
||||||
|
|
||||||
|
<div class="time-wrapper">
|
||||||
|
<div id="currentTime" class="time">0:00</div>
|
||||||
|
<div id="duration" class="time">1:36</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="buttons-container">
|
||||||
|
<button id="backward">- 10s</button>
|
||||||
|
<button id="loop">LOOP</button>
|
||||||
|
<button id="forward">10s +</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<audio id="audio" src="song to song v4.mp3"></audio>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script src="script.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -40,6 +40,14 @@
|
|||||||
<p>Corb Nurk</p>
|
<p>Corb Nurk</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a href="Roman.html" class="music-card">
|
||||||
|
<img src="C9EED782-8F3C-40E5-87C0-5E2032ADAB72.jpeg" alt="ToHideIsToBeSeen">
|
||||||
|
<div class="music-info">
|
||||||
|
<h3>To Hide Is To Be Seen</h3>
|
||||||
|
<p>Roman</p>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
|
||||||
<!-- Ajoute autant de titres que nécessaire -->
|
<!-- Ajoute autant de titres que nécessaire -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
BIN
assets/song to song v4.mp3
Normal file
BIN
assets/song to song v4.mp3
Normal file
Binary file not shown.
@ -8,7 +8,7 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: linear-gradient(to bottom, #3d78a8, #19222b);
|
background: linear-gradient(to bottom, #3d78a8, #00182e);
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
196
assets/stylesrom.css
Normal file
196
assets/stylesrom.css
Normal file
@ -0,0 +1,196 @@
|
|||||||
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: linear-gradient(to bottom, #000e33, #002f96);
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.page-header {
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
pointer-events: none; /* pour que seul le logo reste cliquable */
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-container {
|
||||||
|
position: absolute;
|
||||||
|
left: 20px;
|
||||||
|
pointer-events: auto; /* permet au logo d'être cliquable malgré pointer-events: none plus haut */
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
width: 120px;
|
||||||
|
height: auto;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
color: white;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.vinyl-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Titre du bas avec un <br> stylé */
|
||||||
|
|
||||||
|
.title-under {
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.song-title {
|
||||||
|
font-size: 30px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.artist-name {
|
||||||
|
margin: none;
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: 400;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vinyl {
|
||||||
|
width: 600px;
|
||||||
|
height: 600px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: radial-gradient(circle at center, #444 0%, #111 60%, #000 100%);
|
||||||
|
animation: spin 5s linear infinite paused;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
overflow: hidden;
|
||||||
|
cursor: pointer;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vinyl img {
|
||||||
|
width: 40%;
|
||||||
|
border-radius: 50%;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style pour la barre de progression */
|
||||||
|
.progress-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
width: 80%;
|
||||||
|
max-width: 500px;
|
||||||
|
margin-inline: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress {
|
||||||
|
width: 100%;
|
||||||
|
height: 6px;
|
||||||
|
background: rgba(255, 255, 255, 0.3);
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress::-webkit-slider-thumb {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: white;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress::-moz-range-thumb {
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: white;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Position des timestamps */
|
||||||
|
|
||||||
|
.time-wrapper {
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 20px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px; /* <-- ajoute ceci pour écarter duration du bouton */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.buttons-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 10px;
|
||||||
|
width: 80%;
|
||||||
|
max-width: 500px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
flex: 1;
|
||||||
|
font-size: 16px;
|
||||||
|
background: none;
|
||||||
|
border: 1px solid white;
|
||||||
|
color: white;
|
||||||
|
padding: 6px 14px;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
from {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.vinyl {
|
||||||
|
width: 70vw;
|
||||||
|
height: 70vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vinyl img {
|
||||||
|
width: 45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress {
|
||||||
|
width: 85vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-container {
|
||||||
|
width: 85vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user