1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 17:51:46 +02:00

align container title with .is-right and .is-center

This commit is contained in:
Abdallah Samman
2018-12-03 12:51:04 +02:00
parent 7328502b30
commit 78c2bc4ca4
4 changed files with 24 additions and 6 deletions

View File

@@ -85,10 +85,18 @@
&.is-center {
text-align: center;
> .title {
margin: -2rem auto 1rem;
}
}
&.is-right {
text-align: right;
> .title {
margin: -2rem 0 1rem auto;
}
}
}
@@ -101,9 +109,11 @@
border-color: #fff;
}
> .title {
color: $background-color;
background-color: $base-color;
&.with-title {
> .title {
color: $background-color;
background-color: $base-color;
}
}
}
}