Diary feature V1
This commit is contained in:
@@ -345,6 +345,54 @@ textarea:focus {
|
||||
color: #ffb300;
|
||||
}
|
||||
|
||||
/* === Diary views === */
|
||||
.diary-section {
|
||||
margin: 2rem 0;
|
||||
padding-top: 1.5rem;
|
||||
border-top: 1px dashed #0a0;
|
||||
}
|
||||
|
||||
.diary-section:first-child {
|
||||
border-top: none;
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.diary-heading {
|
||||
font-size: 1.2rem;
|
||||
color: white;
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.diary-photo-count {
|
||||
color: #888;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.diary-photo-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.diary-photo-grid a {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.diary-photo-grid img {
|
||||
width: 100%;
|
||||
height: 140px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.diary-section .content {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
/* === Empty state === */
|
||||
.empty {
|
||||
padding: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user