thematic break styling
This commit is contained in:
parent
b17a6254a2
commit
a83e2a2f83
2 changed files with 21 additions and 6 deletions
|
@ -185,12 +185,6 @@ table tr:last-child td:last-child {
|
|||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 2px;
|
||||
border: none;
|
||||
background-color: var(--narrow-gray);
|
||||
}
|
||||
|
||||
math[display="block"] {
|
||||
position: relative;
|
||||
left: 0;
|
||||
|
@ -201,3 +195,23 @@ math[display="block"] {
|
|||
footer {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
/* This is the style for the traditional horizontal rule. */
|
||||
hr:not(.thematic) {
|
||||
height: 2px;
|
||||
border: none;
|
||||
background-color: var(--narrow-gray);
|
||||
}
|
||||
|
||||
hr.thematic {
|
||||
border: none; /* remove default line */
|
||||
text-align: center;
|
||||
margin: -0.5em;
|
||||
}
|
||||
|
||||
hr.thematic::before {
|
||||
content: '⬦⯁⬦';
|
||||
letter-spacing: 0.4em;
|
||||
color: var(--darker-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue