Spoiler/styles.css: Difference between revisions
From The Canon of Nora Wiki
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
.spoiler-header { | .spoiler-header { | ||
background: #4a2545; | background: #4a2545; | ||
padding: 0.5em 1em; | padding: 0.5em 1em; | ||
font-family: 'Cormorant Garamond', serif; | font-family: 'Cormorant Garamond', serif; | ||
| Line 15: | Line 14: | ||
font-weight: 600; | font-weight: 600; | ||
cursor: pointer; | cursor: pointer; | ||
display: block; | |||
} | } | ||
.spoiler-content { | .spoiler-content { | ||
| Line 32: | Line 22: | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
. | .sp-collapsible-toggle { | ||
color: #f5e9d3; | color: #f5e9d3; | ||
} | |||
.sp-collapsible-toggle:hover { | |||
color: #c9a227; | |||
} | } | ||
Latest revision as of 03:24, 1 July 2026
.spoiler-box {
border: 1px solid #c9a227;
border-left: 4px solid #4a2545;
background: #faf6ef;
border-radius: 4px;
margin: 1em 0;
overflow: hidden;
}
.spoiler-header {
background: #4a2545;
padding: 0.5em 1em;
font-family: 'Cormorant Garamond', serif;
font-size: 1.15em;
font-weight: 600;
cursor: pointer;
display: block;
}
.spoiler-content {
padding: 1em;
color: #2e2e2e;
font-family: 'Source Sans Pro', sans-serif;
line-height: 1.6;
}
.sp-collapsible-toggle {
color: #f5e9d3;
}
.sp-collapsible-toggle:hover {
color: #c9a227;
}