Template:Featured In/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
box-shadow: var(--color-amaranth-legacy-scope) 0 0 10px; |
box-shadow: var(--color-amaranth-legacy-scope) 0 0 10px; |
||
text-align: center; |
text-align: center; |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
| Line 15: | Line 22: | ||
cursor: pointer; |
cursor: pointer; |
||
user-select: none; |
user-select: none; |
||
padding: var(--space- |
padding: var(--space-xs); |
||
} |
} |
||
| Line 22: | Line 29: | ||
} |
} |
||
.template-featured_in-title |
.template-featured_in[open] .template-featured_in-title { |
||
border-bottom: var(--color-amaranth-legacy-scope) solid 4px; |
|||
content: ""; |
|||
box-shadow: var(--color-amaranth-legacy-scope) 0 0 10px; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
.template-featured_in-content { |
.template-featured_in-content { |
||
| ⚫ | |||
flex-direction: column; |
|||
gap: var(--space-xs); |
|||
padding: var(--space-sm); |
padding: var(--space-sm); |
||
padding-top: 0; |
|||
} |
} |
||
.template-featured_in-header { |
.template-featured_in-section-header { |
||
font-size: var(--font-size |
font-size: var(--font-size-large); |
||
font-weight: bold; |
|||
line-height: var(--line-height-x-large); |
|||
margin-block-end: var(--space-xxs); |
|||
} |
} |
||
| ⚫ | |||
| ⚫ | |||
margin-block: 0; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
Latest revision as of 03:32, July 4, 2025
.template-featured_in {
width: 300px;
max-width: 100%;
margin-block: var(--space-sm);
background: var(--color-surface-2);
border: var(--color-amaranth-legacy-scope) solid 4px;
box-shadow: var(--color-amaranth-legacy-scope) 0 0 10px;
text-align: center;
}
@media screen and (max-width: 639px) {
.template-featured_in {
margin-right: auto;
margin-left: auto;
}
}
.template-featured_in-title {
font-size: var(--font-size-xx-large);
font-weight: bold;
text-align: center;
cursor: pointer;
user-select: none;
padding: var(--space-xs);
}
.template-featured_in-title:hover {
background: var(--background-color-button-quiet--hover);
}
.template-featured_in[open] .template-featured_in-title {
border-bottom: var(--color-amaranth-legacy-scope) solid 4px;
box-shadow: var(--color-amaranth-legacy-scope) 0 0 10px;
}
.template-featured_in-content {
display: flex;
flex-direction: column;
gap: var(--space-xs);
padding: var(--space-sm);
}
.template-featured_in-section-header {
font-size: var(--font-size-large);
font-weight: bold;
margin-block-end: var(--space-xxs);
}
.template-featured_in-section-content p {
margin-block: 0;
}