Rename shrine info class

This commit is contained in:
Helen Chong 2024-04-18 23:04:14 +08:00
parent d5e06309f6
commit bdbb33823a
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<aside class="right-sidebar">
<div class="sidebar-nav sidebar--sticky">
<div class="shrine__info sidebar--sticky">
<h2>About</h2>
<p>Welcome to Leilukin's shrine for <cite>A Summers End — Hong Kong 1986</cite>, an indie visual novel developed by Oracle and Bone. Set in 1980s Hong Kong, it tells of a love story between two women.</p>
<h3>Links</h3>
@ -18,21 +18,21 @@
font-size: clamp(0.9rem, 0.9rem + 3vw, 1rem);
}
.sidebar-nav {
.shrine__info {
padding: 1rem;
}
.sidebar-nav h2 {
.shrine__info h2 {
font-size: clamp(1.5rem, 1rem + 3vw, 1.7rem);
margin-bottom: 0.2em;
}
.sidebar-nav h3 {
.shrine__info h3 {
font-size: clamp(1.3rem, 1rem + 3vw, 1.5rem);
margin-top: 1em;
}
.sidebar-nav ul {
.shrine__info ul {
margin-top: 0.5em;
}
</style>