Smaller padding in menu and sections on small resolutions
This commit is contained in:
parent
a703b26ac2
commit
28c0121c89
|
@ -40,6 +40,7 @@ export default {
|
||||||
// and we end up with CSS rules not applied,
|
// and we end up with CSS rules not applied,
|
||||||
// see https://github.com/webpack/webpack/issues/215
|
// see https://github.com/webpack/webpack/issues/215
|
||||||
@import 'semantic/semantic.css';
|
@import 'semantic/semantic.css';
|
||||||
|
@import 'style/vendor/media';
|
||||||
|
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
|
@ -56,11 +57,11 @@ export default {
|
||||||
.main-pusher {
|
.main-pusher {
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0;
|
||||||
}
|
}
|
||||||
#footer {
|
.ui.stripe.segment, #footer {
|
||||||
padding: 4em;
|
padding: 2em;
|
||||||
}
|
@include media(">tablet") {
|
||||||
.ui.stripe.segment {
|
padding: 4em;
|
||||||
padding: 4em;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.small.text.container {
|
.ui.small.text.container {
|
||||||
|
|
|
@ -22,8 +22,12 @@ export default {
|
||||||
|
|
||||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@import '../../style/vendor/media';
|
||||||
|
|
||||||
.library.pusher > .ui.secondary.menu {
|
.library.pusher > .ui.secondary.menu {
|
||||||
margin: 0 2.5rem;
|
@include media(">tablet") {
|
||||||
|
margin: 0 2.5rem;
|
||||||
|
}
|
||||||
.item {
|
.item {
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
padding-bottom: 1.5em;
|
padding-bottom: 1.5em;
|
||||||
|
@ -37,7 +41,10 @@ export default {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
.segment-content {
|
.segment-content {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 4em;
|
padding: 2em;
|
||||||
|
@include media(">tablet") {
|
||||||
|
padding: 4em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.with-background {
|
&.with-background {
|
||||||
.header {
|
.header {
|
||||||
|
|
Loading…
Reference in New Issue