MediaWiki:Common.css: Difference between revisions
Style labeled award rack captions under ribbons |
Styles for premise strip, books filters, soldier needs |
||
| Line 1,830: | Line 1,830: | ||
font-weight: 600; | font-weight: 600; | ||
margin-right: 0.25em; | margin-right: 0.25em; | ||
} | |||
/* Premise strip + books filters + family needs */ | |||
.home-premise { | |||
max-width: 42rem; | |||
margin: 0.75rem 0 1.25rem; | |||
padding: 0.85rem 1rem; | |||
border-left: 4px solid #6b3a2a; | |||
background: linear-gradient(90deg, rgba(107,58,42,0.08), transparent); | |||
} | |||
.home-premise-title { | |||
font-weight: 700; | |||
font-size: 1.05rem; | |||
margin-bottom: 0.35rem; | |||
} | |||
.home-premise-links { | |||
margin: 0.5rem 0 0; | |||
font-size: 0.95rem; | |||
} | |||
.books-filters { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.4rem; | |||
margin: 0.75rem 0 1rem; | |||
} | |||
.books-filter { | |||
border: 1px solid #bbb; | |||
background: #f7f7f7; | |||
padding: 0.35rem 0.7rem; | |||
cursor: pointer; | |||
font: inherit; | |||
} | |||
.books-filter.is-active { | |||
background: #6b3a2a; | |||
color: #fff; | |||
border-color: #6b3a2a; | |||
} | |||
.notable-slide-card.is-book-hidden { | |||
display: none !important; | |||
} | |||
.soldier-needs { | |||
margin: 0.75rem 0 1rem; | |||
padding: 0.65rem 0.85rem; | |||
border: 1px solid #c9b49a; | |||
background: #fbf6ee; | |||
max-width: 40rem; | |||
} | |||
.soldier-needs-title { | |||
font-weight: 700; | |||
margin-bottom: 0.25rem; | |||
} | |||
.soldier-needs ul { | |||
margin: 0.25rem 0 0.35rem 1.1rem; | |||
} | |||
.soldier-related-media { | |||
margin: 0.5rem 0 0.85rem; | |||
} | |||
.class-story { | |||
margin: 0.6rem 0 0.9rem; | |||
padding: 0.5rem 0.75rem; | |||
background: #f3f0ea; | |||
border-left: 3px solid #6b3a2a; | |||
} | } | ||