diff options
| author | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2024-08-02 21:20:29 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-04-03 00:19:37 +0300 |
| commit | 95d7fac30a9955fd1f846a650f2bfe0db4b261f8 (patch) | |
| tree | 06e7fafed7c21a894af5afdbe4cedffe01e42d0e /docs/theme/extra | |
| parent | 604f8c0d3a2f376f59a719097aeb49ec208fde1c (diff) | |
| download | meson-95d7fac30a9955fd1f846a650f2bfe0db4b261f8.tar.gz | |
Docs: Cleaner admonishment styling
Diffstat (limited to 'docs/theme/extra')
| -rw-r--r-- | docs/theme/extra/css/notes.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/theme/extra/css/notes.css b/docs/theme/extra/css/notes.css new file mode 100644 index 000000000..a9ef4973a --- /dev/null +++ b/docs/theme/extra/css/notes.css @@ -0,0 +1,41 @@ +.note { + border: 0.2rem solid; + border-left-width: 0.5rem; + border-radius: 0.2rem; + margin: 2rem 1rem; +} +.note-topbar { + padding: 0.4rem 1rem; + border-radius: 1rem; + position: relative; + top: -1rem; + left: -1rem; + margin-right: auto; + min-width: min-content; + font-weight: bold; + font-size: 120%; + color: #fff; +} +.note-topbar .glyphicon { + top: 2px; +} + +.note-content { + padding: 0 1rem; + margin-top: -0.5rem; +} + +/* Colors taken from hotdoc_bootstrap_theme */ +.note-info { + border-color: #3dced8; +} +.note-topbar-info { + background-color: #3dced8; +} + +.note-warning { + border-color: #e96506; +} +.note-topbar-warning { + background-color: #e96506; +} |
