Seperate CSS for music
This commit is contained in:
@ -5,7 +5,6 @@
|
|||||||
<title>DGDN - Darnea | dangrubb.net</title>
|
<title>DGDN - Darnea | dangrubb.net</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
||||||
<link rel="stylesheet" href="../../../style.css">
|
|
||||||
<link rel="stylesheet" href="../../music.css">
|
<link rel="stylesheet" href="../../music.css">
|
||||||
<link rel="stylesheet" href="./player.css">
|
<link rel="stylesheet" href="./player.css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<title>Darnea - dangrubb.net</title>
|
<title>Darnea - dangrubb.net</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
||||||
<link rel="stylesheet" href="../../style.css">
|
|
||||||
<link rel="stylesheet" href="../music.css">
|
<link rel="stylesheet" href="../music.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<title>dangrubb.net Music</title>
|
<title>dangrubb.net Music</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
<link rel="icon" href="/src/img/favicon.ico" type="image/x-icon">
|
||||||
<link rel="stylesheet" href="../style.css">
|
|
||||||
<link rel="stylesheet" href="./music.css">
|
<link rel="stylesheet" href="./music.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
126
music/music.css
126
music/music.css
@ -1,9 +1,35 @@
|
|||||||
/* Music Platform Styling */
|
/* --- BASE STYLES (Merged from style.css) --- */
|
||||||
|
body {
|
||||||
|
background: #0d0a14;
|
||||||
|
padding: 40px 20px;
|
||||||
|
font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
|
||||||
|
color: #9d9aa4;
|
||||||
|
/* Fixed the no-scroll issue here: */
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #6be1e9;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus,
|
||||||
|
a:hover,
|
||||||
|
a:visited {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- MUSIC PLATFORM STYLING --- */
|
||||||
.music-container {
|
.music-container {
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 40px 20px;
|
padding: 40px 20px;
|
||||||
|
flex: 1; /* Allows container to grow and push footer down */
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-header {
|
.music-header {
|
||||||
@ -22,14 +48,9 @@
|
|||||||
|
|
||||||
.music-header h1 a {
|
.music-header h1 a {
|
||||||
color: #6be1e9;
|
color: #6be1e9;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-header h1 a:hover {
|
/* Artists/Albums Grid */
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Artists Grid */
|
|
||||||
.artists-grid,
|
.artists-grid,
|
||||||
.albums-grid {
|
.albums-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -68,17 +89,6 @@
|
|||||||
color: #9d9aa4;
|
color: #9d9aa4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.artist-card h2 a,
|
|
||||||
.album-card h3 a {
|
|
||||||
color: #6be1e9;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist-card h2 a:hover,
|
|
||||||
.album-card h3 a:hover {
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.artist-meta,
|
.artist-meta,
|
||||||
.album-meta {
|
.album-meta {
|
||||||
color: #6be1e9;
|
color: #6be1e9;
|
||||||
@ -106,47 +116,97 @@
|
|||||||
color: #9d9aa4;
|
color: #9d9aa4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer / Bottom Nav */
|
||||||
.music-footer {
|
.music-footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
padding-top: 20px;
|
padding: 20px 0;
|
||||||
border-top: 2px solid rgba(107, 225, 233, 0.3);
|
border-top: 2px solid rgba(107, 225, 233, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-footer p {
|
.bottom-nav {
|
||||||
margin: 0;
|
margin-top: auto;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-footer a {
|
.bottom-nav a {
|
||||||
color: #6be1e9;
|
margin: 0 10px;
|
||||||
text-decoration: none;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-footer a:hover {
|
/* --- BARD / IMAGE STYLES --- */
|
||||||
opacity: 0.8;
|
.bard {
|
||||||
|
margin: 0 auto 30px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 65em;
|
||||||
|
height: auto;
|
||||||
|
aspect-ratio: 1 / 0.95;
|
||||||
|
font-size: 2px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Responsive */
|
.bard img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- ANNOUNCEMENT & BLOG PREVIEW --- */
|
||||||
|
.announcement {
|
||||||
|
margin: 20px auto;
|
||||||
|
display: block;
|
||||||
|
border: 1px solid #ffff00;
|
||||||
|
padding: 10px 15px;
|
||||||
|
border-radius: 3px;
|
||||||
|
text-align: center;
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.announcement a {
|
||||||
|
color: #ffff00;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-preview-container {
|
||||||
|
margin: 30px auto;
|
||||||
|
max-width: 600px;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-preview {
|
||||||
|
border: 1px solid rgba(155, 169, 180, 0.3);
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 15px;
|
||||||
|
background: linear-gradient(135deg, rgba(13, 10, 20, 0.6), rgba(50, 30, 80, 0.3));
|
||||||
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- RESPONSIVE MEDIA QUERIES --- */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.music-container {
|
.music-container {
|
||||||
padding: 20px 10px;
|
padding: 20px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.music-header h1 {
|
.music-header h1 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.artists-grid,
|
.artists-grid,
|
||||||
.albums-grid {
|
.albums-grid {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.artist-banner {
|
.artist-banner {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.artist-detail h2 {
|
.artist-detail h2 {
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
}
|
}
|
||||||
}
|
.bard {
|
||||||
|
font-size: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user