-
+
- + + Fri 01 January 1999 + +
- + + misc + +
- + + Vitaly Potyarkin +
Vitaly Potyarkin Articles +
++
diff --git a/archives.html b/archives.html index 9e96040..d29e2a8 100755 --- a/archives.html +++ b/archives.html @@ -67,6 +67,8 @@
+
+ A magical ✨ Pelican theme
+
+
+ A magical ✨ Pelican theme
+| Head 1 | diff --git a/posts/testing-rst-admonitions.html b/posts/testing-rst-admonitions.html new file mode 100755 index 0000000..017228b --- /dev/null +++ b/posts/testing-rst-admonitions.html @@ -0,0 +1,156 @@ + + + + + + + + +
|---|
| #admonitions | +1 | +||
| #bootstrap | 1 | @@ -73,6 +77,10 @@#html | 1 |
| #markup | +1 | +||
| #planets | 1 | @@ -81,6 +89,10 @@#post | 1 |
| #rst | +1 | +||
| #sample | 2 | diff --git a/theme/css/theme.css b/theme/css/theme.css index e7ede5f..2933323 100755 --- a/theme/css/theme.css +++ b/theme/css/theme.css @@ -90,6 +90,38 @@ hr { text-decoration: underline } +.admonition { + border: thin solid gray; + background-color: lightgrey; + padding: .25em .5em; + margin-bottom: 1rem; +} + +.admonition .admonition-title { + font-weight: bold; + background-color: rgba(255,255,255,0.66); + text-align: center; +} + +.admonition p.last { + margin-bottom: 0; +} + +.admonition.important, .admonition.note, .admonition.warning { + border-color: goldenrod; + background-color: lightgoldenrodyellow; +} + +.admonition.attention, .admonition.caution, .admonition.danger, .admonition.error { + border-color: red; + background-color: lightpink; +} + +.admonition.hint, .admonition.tip { + border-color: limegreen; + background-color: palegreen; +} + @media (min-width: 576px) { .header .title { font-size: 3rem; @@ -109,4 +141,4 @@ hr { .teaser header li:not(:last-child) { margin-right: 10px; } -} +} \ No newline at end of file