mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 19:11:03 +08:00
notice: fix layout when content starts with heading #275
This commit is contained in:
parent
5991d32a02
commit
b4c37fd525
@ -482,12 +482,12 @@ div.box > .box-content {
|
|||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box > .box-content > :first-child {
|
#body div.box > .box-content > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box > .box-content > :last-child {
|
#body div.box > .box-content > :last-child {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user