+{% include native.html %}
+
{% include book-banner.html %}
{% include newsletter.html %}
<section class="section bd-typo">
<div class="container">
- {% include native.html %}
-
<p class="has-text-centered has-text-grey-light">
<a href="{{ site.url }}/made-with-bulma/">
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
</p>
</div>
</section>
-
</nav>
</div>
</div>
-
- {% include native.html %}
</div>
</section>
.native-js
display: none
- margin-left: auto
- margin-right: auto
- max-width: 760px
+ font-size: 1rem
opacity: 0
visibility: hidden
- &:not(:first-child)
- margin-top: 3rem
- &:not(:last-child)
- margin-bottom: 3rem
.native-show
display: block
.native-flex
align-items: center
display: flex
- justify-content: space-between
- padding: 1.5rem
+ justify-content: center
+ padding: 2em
text-decoration: none
.native-img
.native-main
align-items: center
- flex-grow: 1
+ flex-grow: 0
flex-shrink: 1
+ max-width: 640px
.native-company
display: block
- font-size: 10px
+ font-size: 0.625em
letter-spacing: 2px
margin-bottom: 4px
text-transform: uppercase
display: inline-block
flex-grow: 0
flex-shrink: 0
- font-size: $size-small
+ font-size: 0.75em
font-weight: $weight-normal
padding: 0.75em 1em
text-transform: uppercase
display: block
text-align: center
.native-main
- margin-bottom: 2rem
+ margin-bottom: 2em
.native-details
- margin: 1rem
+ margin: 1em
+from($native-bp)
.native-flex
display: flex
+ padding: 4em
text-align: left
.native-main
display: flex
- margin-right: 2rem
+ margin-right: 2em
.native-details
- margin-left: 2rem
+ margin-left: 2em
+
++widescreen
+ .native-js
+ font-size: 1.25rem
\ No newline at end of file
</article>
{% endfor %}
</div>
-
- {% include native.html %}
</div>
</section>
.native-js {
display: none;
- margin-left: auto;
- margin-right: auto;
- max-width: 760px;
+ font-size: 1rem;
opacity: 0;
visibility: hidden;
}
-.native-js:not(:first-child) {
- margin-top: 3rem;
-}
-
-.native-js:not(:last-child) {
- margin-bottom: 3rem;
-}
-
.native-show {
display: block;
opacity: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- padding: 1.5rem;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ padding: 2em;
text-decoration: none;
}
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
+ -webkit-box-flex: 0;
+ -ms-flex-positive: 0;
+ flex-grow: 0;
-ms-flex-negative: 1;
flex-shrink: 1;
+ max-width: 640px;
}
.native-company {
display: block;
- font-size: 10px;
+ font-size: 0.625em;
letter-spacing: 2px;
margin-bottom: 4px;
text-transform: uppercase;
flex-grow: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
- font-size: 0.75rem;
+ font-size: 0.75em;
font-weight: 400;
padding: 0.75em 1em;
text-transform: uppercase;
text-align: center;
}
.native-main {
- margin-bottom: 2rem;
+ margin-bottom: 2em;
}
.native-details {
- margin: 1rem;
+ margin: 1em;
}
}
display: -webkit-box;
display: -ms-flexbox;
display: flex;
+ padding: 4em;
text-align: left;
}
.native-main {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
- margin-right: 2rem;
+ margin-right: 2em;
}
.native-details {
- margin-left: 2rem;
+ margin-left: 2em;
+ }
+}
+
+@media screen and (min-width: 1216px) {
+ .native-js {
+ font-size: 1.25rem;
}
}
<span>Contribute</span>
</a>
</div>
- {% include native.html %}
</div>
</section>