Add a note component
This highlights a specific piece of text.
This commit is contained in:
parent
d36261a563
commit
de402ded78
1 changed files with 16 additions and 0 deletions
|
@ -32,6 +32,22 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note {
|
||||||
|
margin-left: 3rem;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
padding: 0 1rem;
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: #1f2c3f;
|
||||||
|
border-color: #547ea8;
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
background-color: #547ea8;
|
||||||
|
border-color: #1f2c3f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in a new issue