1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 01:39:50 +02:00

fix(containers.scss): fix alignment without title

fix #102
This commit is contained in:
BcRikko
2018-12-07 23:13:11 +09:00
parent 19022ce1da
commit 7bf08ab7f3
4 changed files with 18 additions and 14 deletions

View File

@@ -72,6 +72,14 @@
}
}
&.is-center {
text-align: center;
}
&.is-right {
text-align: right;
}
&.with-title {
padding-top: 2rem;
@@ -84,16 +92,12 @@
}
&.is-center {
text-align: center;
> .title {
margin: -2rem auto 1rem;
}
}
&.is-right {
text-align: right;
> .title {
margin: -2rem 0 1rem auto;
}