Fix section

This commit is contained in:
Jeremy Thomas 2016-12-22 19:51:52 +00:00
parent 7dd8463348
commit 6883fac7de
5 changed files with 13 additions and 8 deletions

View File

@ -3439,7 +3439,7 @@ a.box:active {
.menu-label { .menu-label {
color: #7a7a7a; color: #7a7a7a;
font-size: 0.8em; font-size: 0.8em;
letter-spacing: 1px; letter-spacing: 0.1em;
text-transform: uppercase; text-transform: uppercase;
} }
@ -3776,6 +3776,7 @@ a.box:active {
} }
.modal-card-body { .modal-card-body {
-webkit-overflow-scrolling: touch;
background-color: white; background-color: white;
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
@ -6280,15 +6281,15 @@ label.panel-block:hover {
.section { .section {
background-color: white; background-color: white;
padding: 40px 20px; padding: 3rem 1.5rem;
} }
@media screen and (min-width: 980px) { @media screen and (min-width: 980px) {
.section.is-medium { .section.is-medium {
padding: 120px 20px; padding: 9rem 1.5rem;
} }
.section.is-large { .section.is-large {
padding: 240px 20px; padding: 18rem 1.5rem;
} }
} }

View File

@ -24,7 +24,7 @@
.menu-label .menu-label
color: $text-light color: $text-light
font-size: 0.8em font-size: 0.8em
letter-spacing: 1px letter-spacing: 0.1em
text-transform: uppercase text-transform: uppercase
&:not(:first-child) &:not(:first-child)
margin-top: 1em margin-top: 1em

View File

@ -61,6 +61,7 @@
margin-right: 10px margin-right: 10px
.modal-card-body .modal-card-body
+overflow-touch
background-color: $white background-color: $white
flex-grow: 1 flex-grow: 1
flex-shrink: 1 flex-shrink: 1

View File

@ -1,10 +1,10 @@
.section .section
background-color: $white background-color: $white
padding: 40px 20px padding: 3rem 1.5rem
// Responsiveness // Responsiveness
+desktop +desktop
// Sizes // Sizes
&.is-medium &.is-medium
padding: 120px 20px padding: 9rem 1.5rem
&.is-large &.is-large
padding: 240px 20px padding: 18rem 1.5rem

View File

@ -147,6 +147,9 @@
position: relative position: relative
width: 1rem width: 1rem
=overflow-touch
-webkit-overflow-scrolling: touch
=overlay($offset: 0) =overlay($offset: 0)
bottom: $offset bottom: $offset
left: $offset left: $offset