mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Better placement
This commit is contained in:
parent
2e12d97ab4
commit
6dae52de42
@ -1,3 +1,5 @@
|
|||||||
|
{% include native.html %}
|
||||||
|
|
||||||
{% include book-banner.html %}
|
{% include book-banner.html %}
|
||||||
|
|
||||||
{% include newsletter.html %}
|
{% include newsletter.html %}
|
||||||
|
@ -59,8 +59,6 @@ route: documentation
|
|||||||
|
|
||||||
<section class="section bd-typo">
|
<section class="section bd-typo">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% include native.html %}
|
|
||||||
|
|
||||||
<p class="has-text-centered has-text-grey-light">
|
<p class="has-text-centered has-text-grey-light">
|
||||||
<a href="{{ site.url }}/made-with-bulma/">
|
<a href="{{ site.url }}/made-with-bulma/">
|
||||||
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
|
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
|
||||||
@ -75,4 +73,3 @@ route: documentation
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -47,7 +47,5 @@ route: blog
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include native.html %}
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
.native-js
|
.native-js
|
||||||
display: none
|
display: none
|
||||||
margin-left: auto
|
font-size: 1rem
|
||||||
margin-right: auto
|
|
||||||
max-width: 760px
|
|
||||||
opacity: 0
|
opacity: 0
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
&:not(:first-child)
|
|
||||||
margin-top: 3rem
|
|
||||||
&:not(:last-child)
|
|
||||||
margin-bottom: 3rem
|
|
||||||
|
|
||||||
.native-show
|
.native-show
|
||||||
display: block
|
display: block
|
||||||
@ -18,8 +12,8 @@
|
|||||||
.native-flex
|
.native-flex
|
||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
justify-content: space-between
|
justify-content: center
|
||||||
padding: 1.5rem
|
padding: 2em
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
|
||||||
.native-img
|
.native-img
|
||||||
@ -35,12 +29,13 @@
|
|||||||
|
|
||||||
.native-main
|
.native-main
|
||||||
align-items: center
|
align-items: center
|
||||||
flex-grow: 1
|
flex-grow: 0
|
||||||
flex-shrink: 1
|
flex-shrink: 1
|
||||||
|
max-width: 640px
|
||||||
|
|
||||||
.native-company
|
.native-company
|
||||||
display: block
|
display: block
|
||||||
font-size: 10px
|
font-size: 0.625em
|
||||||
letter-spacing: 2px
|
letter-spacing: 2px
|
||||||
margin-bottom: 4px
|
margin-bottom: 4px
|
||||||
text-transform: uppercase
|
text-transform: uppercase
|
||||||
@ -55,7 +50,7 @@
|
|||||||
display: inline-block
|
display: inline-block
|
||||||
flex-grow: 0
|
flex-grow: 0
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
font-size: $size-small
|
font-size: 0.75em
|
||||||
font-weight: $weight-normal
|
font-weight: $weight-normal
|
||||||
padding: 0.75em 1em
|
padding: 0.75em 1em
|
||||||
text-transform: uppercase
|
text-transform: uppercase
|
||||||
@ -74,16 +69,21 @@ $native-bp: 600px
|
|||||||
display: block
|
display: block
|
||||||
text-align: center
|
text-align: center
|
||||||
.native-main
|
.native-main
|
||||||
margin-bottom: 2rem
|
margin-bottom: 2em
|
||||||
.native-details
|
.native-details
|
||||||
margin: 1rem
|
margin: 1em
|
||||||
|
|
||||||
+from($native-bp)
|
+from($native-bp)
|
||||||
.native-flex
|
.native-flex
|
||||||
display: flex
|
display: flex
|
||||||
|
padding: 4em
|
||||||
text-align: left
|
text-align: left
|
||||||
.native-main
|
.native-main
|
||||||
display: flex
|
display: flex
|
||||||
margin-right: 2rem
|
margin-right: 2em
|
||||||
.native-details
|
.native-details
|
||||||
margin-left: 2rem
|
margin-left: 2em
|
||||||
|
|
||||||
|
+widescreen
|
||||||
|
.native-js
|
||||||
|
font-size: 1.25rem
|
@ -29,7 +29,5 @@ route: blog
|
|||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include native.html %}
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -13773,21 +13773,11 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
|
|
||||||
.native-js {
|
.native-js {
|
||||||
display: none;
|
display: none;
|
||||||
margin-left: auto;
|
font-size: 1rem;
|
||||||
margin-right: auto;
|
|
||||||
max-width: 760px;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.native-js:not(:first-child) {
|
|
||||||
margin-top: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.native-js:not(:last-child) {
|
|
||||||
margin-bottom: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.native-show {
|
.native-show {
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@ -13801,10 +13791,10 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-pack: justify;
|
-webkit-box-pack: center;
|
||||||
-ms-flex-pack: justify;
|
-ms-flex-pack: center;
|
||||||
justify-content: space-between;
|
justify-content: center;
|
||||||
padding: 1.5rem;
|
padding: 2em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13831,16 +13821,17 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex-positive: 1;
|
-ms-flex-positive: 0;
|
||||||
flex-grow: 1;
|
flex-grow: 0;
|
||||||
-ms-flex-negative: 1;
|
-ms-flex-negative: 1;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
|
max-width: 640px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.native-company {
|
.native-company {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 10px;
|
font-size: 0.625em;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@ -13861,7 +13852,7 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
-ms-flex-negative: 0;
|
-ms-flex-negative: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75em;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
padding: 0.75em 1em;
|
padding: 0.75em 1em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@ -13888,10 +13879,10 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.native-main {
|
.native-main {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
.native-details {
|
.native-details {
|
||||||
margin: 1rem;
|
margin: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13900,16 +13891,23 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding: 4em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.native-main {
|
.native-main {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-right: 2rem;
|
margin-right: 2em;
|
||||||
}
|
}
|
||||||
.native-details {
|
.native-details {
|
||||||
margin-left: 2rem;
|
margin-left: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1216px) {
|
||||||
|
.native-js {
|
||||||
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -493,6 +493,5 @@ fixed_navbar: true
|
|||||||
<span>Contribute</span>
|
<span>Contribute</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% include native.html %}
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user