added style for RST admonitions
parent
74825583e1
commit
fd70e764b4
|
@ -90,6 +90,38 @@ hr {
|
||||||
text-decoration: underline
|
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) {
|
@media (min-width: 576px) {
|
||||||
.header .title {
|
.header .title {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
|
@ -109,4 +141,4 @@ hr {
|
||||||
.teaser header li:not(:last-child) {
|
.teaser header li:not(:last-child) {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue