mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
notice: fix margin if box starts with a table #411
This commit is contained in:
parent
ea6c8ff3e4
commit
0373d34e91
1 changed files with 7 additions and 5 deletions
|
@ -466,18 +466,20 @@ div.box > .box-label {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box > .box-content {
|
div.box > .box-content {
|
||||||
padding-bottom: .1rem;
|
padding-top: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body div.box > .box-content > :first-child {
|
#body div.box > .box-content > :first-child,
|
||||||
|
#body div.box > .box-content > :first-child :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-top: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#body div.box > .box-content > :last-child {
|
#body div.box > .box-content > :last-child,
|
||||||
margin-bottom: 1rem;
|
#body div.box > .box-content > :last-child :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* attachments shortcode */
|
/* attachments shortcode */
|
||||||
|
|
Loading…
Reference in a new issue