126 lines
1.9 KiB
CSS
126 lines
1.9 KiB
CSS
body {
|
|
font-family: 'Georgia', serif;
|
|
margin: 0;
|
|
background: #0d0d0d;
|
|
color: #eee;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
header {
|
|
background: #222;
|
|
padding: 1em;
|
|
text-align: center;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
nav a {
|
|
color: #ffcc66;
|
|
margin: 0 1em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.intro {
|
|
text-align: center;
|
|
padding: 3em 1em;
|
|
background: #111;
|
|
}
|
|
|
|
.character {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 3em 2em;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.character img {
|
|
width: 250px;
|
|
margin-right: 2em;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.character.alt {
|
|
flex-direction: row-reverse;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.character.alt img {
|
|
margin-right: 0;
|
|
margin-left: 2em;
|
|
}
|
|
|
|
.gallery {
|
|
padding: 3em 2em;
|
|
text-align: center;
|
|
}
|
|
|
|
.gallery .grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 1em;
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.gallery img {
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 1em;
|
|
background: #111;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* 📱 RESPONSIVE TWEAKS */
|
|
@media (max-width: 768px) {
|
|
.character {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.character img {
|
|
margin: 0 0 1.5em 0;
|
|
width: 70%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.character.alt {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.character.alt img {
|
|
margin: 0 0 1.5em 0;
|
|
}
|
|
|
|
nav a {
|
|
display: inline-block;
|
|
margin: 0.5em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
body {
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
nav a {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|