1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-02-22 08:12:37 +01:00

fix(containers.scss): fix title position when use is-rounded

fix #104
This commit is contained in:
BcRikko 2018-12-07 23:42:46 +09:00
parent 878a818611
commit 469863ca62
4 changed files with 16 additions and 6 deletions

View File

@ -585,12 +585,16 @@ button,
background-color: #fff;
}
.container.with-title.is-rounded > .title {
margin-top: -2.4rem;
}
.container.with-title.is-center > .title {
margin: -2rem auto 1rem;
margin: -2.4rem auto 1rem;
}
.container.with-title.is-right > .title {
margin: -2rem 0 1rem auto;
margin: -2.4rem 0 1rem auto;
}
.container.is-dark::before {

File diff suppressed because one or more lines are too long

2
css/nes.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -91,15 +91,21 @@
background-color: $background-color;
}
&.is-rounded {
> .title {
margin-top: -2.4rem;
}
}
&.is-center {
> .title {
margin: -2rem auto 1rem;
margin: -2.4rem auto 1rem;
}
}
&.is-right {
> .title {
margin: -2rem 0 1rem auto;
margin: -2.4rem 0 1rem auto;
}
}
}