Template:DSTimeline/style.css: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.timeline-hatnote { |
.timeline-hatnote { |
||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
background: rgba(255, 255, 255, 0.05); |
background: rgba(255, 255, 255, 0.05); |
||
border: 1px solid rgba(255, 255, 255, 0.12); |
border: 1px solid rgba(255, 255, 255, 0.12); |
||
| Line 12: | Line 15: | ||
margin-left: auto; |
margin-left: auto; |
||
margin-right: auto; |
margin-right: auto; |
||
gap: 1rem; |
|||
} |
|||
.timeline-content { |
|||
flex: 1; |
|||
} |
} |
||
| Line 26: | Line 34: | ||
font-size: 0.95rem; |
font-size: 0.95rem; |
||
line-height: 1.5; |
line-height: 1.5; |
||
color: #eee; |
|||
} |
} |
||
| Line 33: | Line 40: | ||
font-weight: 700; |
font-weight: 700; |
||
background: linear-gradient(to right, #aaa, #fff); |
background: linear-gradient(to right, #aaa, #fff); |
||
} |
|||
.timeline-icon { |
|||
font-size: 1.4rem; |
|||
opacity: 0.85; |
|||
flex-shrink: 0; |
|||
} |
} |
||
Revision as of 10:53, May 3, 2025
.timeline-hatnote {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
padding: 1rem;
font-family: 'Inter', sans-serif;
color: #eee;
margin-bottom: 1rem;
animation: fadeIn 0.6s ease-out;
backdrop-filter: blur(8px);
max-width: 600px;
margin-left: auto;
margin-right: auto;
gap: 1rem;
}
.timeline-content {
flex: 1;
}
.timeline-header {
font-size: 0.75rem;
letter-spacing: 0.15em;
text-transform: uppercase;
color: #ccc;
margin-bottom: 0.4rem;
font-weight: 600;
}
.timeline-body {
font-size: 0.95rem;
line-height: 1.5;
}
.timeline-century {
color: #000;
font-weight: 700;
background: linear-gradient(to right, #aaa, #fff);
}
.timeline-icon {
font-size: 1.4rem;
opacity: 0.85;
flex-shrink: 0;
}