Add a note component

This highlights a specific piece of text.
This commit is contained in:
Tom Willemse 2022-03-20 21:25:26 -07:00
parent d36261a563
commit de402ded78

View file

@ -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 {
font-size: 0.9rem;
margin: 0;