mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Improve note block style
This commit is contained in:
@@ -81,7 +81,7 @@ html {
|
||||
--border-color-section-basic-io: #99ff99;
|
||||
|
||||
// colors with transparency that work for both light and dark mode
|
||||
--background-color-note: #00ff0010;
|
||||
--background-color-note: #00ff001a;
|
||||
--border-color-note: #00ff0050;
|
||||
}
|
||||
|
||||
@@ -873,10 +873,14 @@ a.zola-anchor:hover {
|
||||
padding: .7rem 1rem;
|
||||
margin: 1rem .2rem;
|
||||
border: 2px solid var(--border-color-note);
|
||||
border-radius: 5px;
|
||||
border-radius: 3px;
|
||||
background-color: var(--background-color-note);
|
||||
}
|
||||
|
||||
.note p:first-of-type {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.note p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user