mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 20:15:25 +00:00
style: fix aside to appear same as alert
This commit is contained in:
1 parent
b57c5f87b8
commit
15e7aa01c3
1 file changed
+6
-4
@@ -532,6 +532,12 @@ table > tbody > tr:hover > th {
|
||||
* Article Alerts (Shortcode) and Asides (Mmark)
|
||||
**************************************************/
|
||||
|
||||
/* Style asides as Bootstrap alerts. */
|
||||
.article-style aside {
|
||||
@extend .alert;
|
||||
}
|
||||
|
||||
/* Asides use <p> block element whereas alerts use <div>. */
|
||||
.article-style aside p,
|
||||
div.alert > div {
|
||||
position: relative;
|
||||
@@ -539,10 +545,6 @@ div.alert > div {
|
||||
font-size: 1rem;
|
||||
margin-left: 2rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* No bottom margin for Alert boxes and but not Asides (use default `p` style). */
|
||||
div.alert > div {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user