mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
Add embrace
This commit is contained in:
parent
44fc1cd61b
commit
61683eb6a7
@ -33,16 +33,14 @@
|
|||||||
.expo
|
.expo
|
||||||
padding-bottom: 3rem
|
padding-bottom: 3rem
|
||||||
padding-top: 3rem
|
padding-top: 3rem
|
||||||
.website:not(:last-child)
|
.website
|
||||||
margin-bottom: 3rem
|
margin-top: 3rem
|
||||||
|
&:nth-child(1),
|
||||||
|
&:nth-child(2)
|
||||||
|
margin-top: 0
|
||||||
.website-image
|
.website-image
|
||||||
margin-bottom: 3rem
|
margin-bottom: 3rem
|
||||||
|
|
||||||
+desktop
|
|
||||||
.expo
|
|
||||||
padding-bottom: 6rem
|
|
||||||
padding-top: 6rem
|
|
||||||
|
|
||||||
+widescreen
|
+widescreen
|
||||||
.websites
|
.websites
|
||||||
display: flex
|
display: flex
|
||||||
|
@ -61,10 +61,6 @@
|
|||||||
background-color: $background
|
background-color: $background
|
||||||
border-radius: $radius
|
border-radius: $radius
|
||||||
padding: 1.5rem
|
padding: 1.5rem
|
||||||
&:not(:first-child)
|
|
||||||
margin-top: 1.5rem
|
|
||||||
&:not(:last-child)
|
|
||||||
margin-bottom: 1.5rem
|
|
||||||
|
|
||||||
+mobile
|
+mobile
|
||||||
.love
|
.love
|
||||||
@ -73,6 +69,10 @@
|
|||||||
margin: 1.5rem
|
margin: 1.5rem
|
||||||
.embrace
|
.embrace
|
||||||
text-align: center
|
text-align: center
|
||||||
|
&:not(:first-child)
|
||||||
|
margin-top: 1.5rem
|
||||||
|
&:not(:last-child)
|
||||||
|
margin-bottom: 1.5rem
|
||||||
.embrace-button
|
.embrace-button
|
||||||
margin-top: 0.75rem
|
margin-top: 0.75rem
|
||||||
|
|
||||||
@ -84,6 +84,10 @@
|
|||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
justify-content: center
|
justify-content: center
|
||||||
|
&:not(:first-child)
|
||||||
|
margin-top: 3rem
|
||||||
|
&:not(:last-child)
|
||||||
|
margin-bottom: 3rem
|
||||||
.embrace-button
|
.embrace-button
|
||||||
margin-left: 1.5rem
|
margin-left: 1.5rem
|
||||||
.hugs
|
.hugs
|
||||||
|
@ -30,7 +30,3 @@ html
|
|||||||
\::selection
|
\::selection
|
||||||
background: $primary
|
background: $primary
|
||||||
color: $primary-invert
|
color: $primary-invert
|
||||||
|
|
||||||
@debug "hsl(294, 71%, 79%)"
|
|
||||||
@debug colorLuminance(hsl(294, 71%, 79%))
|
|
||||||
@debug findColorInvert(hsl(294, 71%, 79%))
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
fulltitle: "Expo: great uses of Bulma"
|
fulltitle: "Expo: beautiful websites designed Bulma"
|
||||||
layout: default
|
layout: default
|
||||||
route: expo
|
route: expo
|
||||||
other:
|
other:
|
||||||
@ -47,6 +47,29 @@ websites:
|
|||||||
date: "31 Mar 2016"
|
date: "31 Mar 2016"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{% capture embrace_expo %}
|
||||||
|
<div class="embrace is-expo">
|
||||||
|
<p class="embrace-text">
|
||||||
|
Did you design a gorgeous website with Bulma too? <strong>Tell us about it!</strong> <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">🤗</span>
|
||||||
|
</p>
|
||||||
|
<p class="embrace-button">
|
||||||
|
<a class="tw-button button"
|
||||||
|
data-social-network="Twitter"
|
||||||
|
data-social-action="tweet"
|
||||||
|
data-social-target="{{ site.url }}"
|
||||||
|
target="_blank"
|
||||||
|
href="https://twitter.com/intent/tweet?text={{ 'Here is my lovely website!' | urlencode }}&hashtags=madewithbulma&url={{ site.url }}">
|
||||||
|
<span class="icon">
|
||||||
|
<i class="fa fa-twitter"></i>
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
#madewithbulma
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% include navbar.html id="ExpoHero" %}
|
{% include navbar.html id="ExpoHero" %}
|
||||||
</div>
|
</div>
|
||||||
@ -60,7 +83,7 @@ websites:
|
|||||||
Expo
|
Expo
|
||||||
</h1>
|
</h1>
|
||||||
<p class="subtitle">
|
<p class="subtitle">
|
||||||
How people used Bulma to design beautiful websites
|
How people used Bulma to design beautiful websites <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">😍</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
@ -73,6 +96,8 @@ websites:
|
|||||||
|
|
||||||
<main class="expo">
|
<main class="expo">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
{{ embrace_expo }}
|
||||||
|
|
||||||
<div class="websites">
|
<div class="websites">
|
||||||
{% for website in page.websites %}
|
{% for website in page.websites %}
|
||||||
<article class="website {% if website.highlighted %}is-highlighted{% endif %}">
|
<article class="website {% if website.highlighted %}is-highlighted{% endif %}">
|
||||||
@ -94,25 +119,6 @@ websites:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="embrace">
|
{{ embrace_expo }}
|
||||||
<p class="embrace-text">
|
|
||||||
Did you design a <strong>gorgeous website</strong> with Bulma too? <strong>Tell us</strong> about it! <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">🤗</span>
|
|
||||||
</p>
|
|
||||||
<p class="embrace-button">
|
|
||||||
<a class="tw-button button"
|
|
||||||
data-social-network="Twitter"
|
|
||||||
data-social-action="tweet"
|
|
||||||
data-social-target="{{ site.url }}"
|
|
||||||
target="_blank"
|
|
||||||
href="https://twitter.com/intent/tweet?text={{ 'Here is my lovely website!' | urlencode }}&hashtags=madewithbulma&url={{ site.url }}">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa fa-twitter"></i>
|
|
||||||
</span>
|
|
||||||
<span>
|
|
||||||
#madewithbulma
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
@ -33,7 +33,7 @@ route: love
|
|||||||
|
|
||||||
<div class="embrace">
|
<div class="embrace">
|
||||||
<p class="embrace-text">
|
<p class="embrace-text">
|
||||||
Are you a <strong>Bulma fan</strong> too? Show your <strong>support</strong>! <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">🤗</span>
|
Are you a Bulma fan too? <strong>Show your support!</strong> <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">🤗</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="embrace-button">
|
<p class="embrace-button">
|
||||||
{% include elements/tw-button.html label="Tweet #bulmaio" %}
|
{% include elements/tw-button.html label="Tweet #bulmaio" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user