mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 10:14:29 -07:00
Fix sidebar
This commit is contained in:
@@ -1,12 +1,8 @@
|
|||||||
<a class="bd-banner is-fortyfour" href="https://jgthms.com/css-in-44-minutes-ebook" target="_blank">
|
<a class="bd-banner is-fortyfour" href="https://jgthms.com/css-in-44-minutes-ebook" target="_blank">
|
||||||
<p class="bd-banner-title">
|
<p class="bd-banner-label">
|
||||||
New ebook!
|
New ebook!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="bd-banner-text">
|
|
||||||
My 44-page ebook "<strong>CSS in 44 minutes</strong>" is out! <span class="bd-emoji-bis">😃</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<figure class="bd-banner-image">
|
<figure class="bd-banner-image">
|
||||||
{%
|
{%
|
||||||
include elements/responsive-image.html
|
include elements/responsive-image.html
|
||||||
@@ -18,7 +14,11 @@
|
|||||||
%}
|
%}
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
<p class="bd-banner-text">
|
||||||
|
My 44-page ebook "<strong>CSS in 44 minutes</strong>" is out! <span class="bd-emoji-bis">😃</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
<span class="button is-success is-rounded">
|
<span class="button is-success is-rounded">
|
||||||
<strong>Get it now →</strong>
|
<strong>Buy now →</strong>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -30,7 +30,12 @@
|
|||||||
<span class="icon has-text-primary">
|
<span class="icon has-text-primary">
|
||||||
<i class="fas fa-book"></i>
|
<i class="fas fa-book"></i>
|
||||||
</span>
|
</span>
|
||||||
<span>Documentation</span>
|
<span class="is-hidden-touch is-hidden-widescreen">
|
||||||
|
Docs
|
||||||
|
</span>
|
||||||
|
<span class="is-hidden-desktop-only">
|
||||||
|
Documentation
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% for item in site.data.global.navbar_items %}
|
{% for item in site.data.global.navbar_items %}
|
||||||
@@ -38,6 +43,7 @@
|
|||||||
<span class="icon {{ item.color }}">
|
<span class="icon {{ item.color }}">
|
||||||
<i class="{{ item.fa_type }} {{ item.fa_icon }}"></i>
|
<i class="{{ item.fa_type }} {{ item.fa_icon }}"></i>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span>{{ item.title }}</span>
|
<span>{{ item.title }}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -47,6 +53,7 @@
|
|||||||
<a class="navbar-link" href="{{ site.url }}{{ link.path }}">
|
<a class="navbar-link" href="{{ site.url }}{{ link.path }}">
|
||||||
{{ link.name }}
|
{{ link.name }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div id="moreDropdown" class="navbar-dropdown">
|
<div id="moreDropdown" class="navbar-dropdown">
|
||||||
{% for link_id in site.data.links.more %}
|
{% for link_id in site.data.links.more %}
|
||||||
{% assign link = site.data.links.by_id[link_id] %}
|
{% assign link = site.data.links.by_id[link_id] %}
|
||||||
@@ -69,16 +76,18 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="navbar-end">
|
<div class="navbar-end">
|
||||||
<a class="navbar-item is-hidden-mobile" href="{{ site.data.meta.github }}" target="_blank">
|
<a class="navbar-item is-hidden-touch is-hidden-desktop-only" href="{{ site.data.meta.github }}" target="_blank">
|
||||||
<span class="icon" style="color: #333;">
|
<span class="icon" style="color: #333;">
|
||||||
<i class="fab fa-lg fa-github-alt"></i>
|
<i class="fab fa-lg fa-github-alt"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item is-hidden-mobile" href="{{ site.data.meta.twitter }}" target="_blank">
|
|
||||||
|
<a class="navbar-item is-hidden-touch is-hidden-desktop-only" href="{{ site.data.meta.twitter }}" target="_blank">
|
||||||
<span class="icon" style="color: #55acee;">
|
<span class="icon" style="color: #55acee;">
|
||||||
<i class="fab fa-lg fa-twitter"></i>
|
<i class="fab fa-lg fa-twitter"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
<div class="field is-grouped is-grouped-multiline">
|
<div class="field is-grouped is-grouped-multiline">
|
||||||
<p class="control">
|
<p class="control">
|
||||||
|
|||||||
@@ -167,11 +167,11 @@
|
|||||||
.bd-header-carbon
|
.bd-header-carbon
|
||||||
margin-top: 1.5rem
|
margin-top: 1.5rem
|
||||||
|
|
||||||
+mobile
|
+touch
|
||||||
.bd-side-background
|
.bd-side-background
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
+tablet
|
+desktop
|
||||||
.bd-duo
|
.bd-duo
|
||||||
display: flex
|
display: flex
|
||||||
.bd-lead
|
.bd-lead
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
.bd-side-sponsors
|
.bd-side-sponsors
|
||||||
margin-top: 1.5rem
|
margin-top: 3rem
|
||||||
|
text-align: center
|
||||||
|
|
||||||
.bd-side-sponsor-label
|
.bd-side-sponsor-label,
|
||||||
|
.bd-banner-label
|
||||||
color: $grey-light
|
color: $grey-light
|
||||||
font-size: 0.75rem
|
font-size: 0.75rem
|
||||||
margin-bottom: 0.75rem
|
margin-bottom: 0.75rem
|
||||||
@@ -17,9 +19,8 @@
|
|||||||
.bd-banner
|
.bd-banner
|
||||||
border-radius: $radius-large
|
border-radius: $radius-large
|
||||||
display: block
|
display: block
|
||||||
overflow: hidden
|
margin-top: 3rem
|
||||||
margin-top: 1.5rem
|
padding-bottom: 1.5rem
|
||||||
padding: 1.5rem
|
|
||||||
position: relative
|
position: relative
|
||||||
text-align: center
|
text-align: center
|
||||||
transition-duration: $speed
|
transition-duration: $speed
|
||||||
@@ -31,9 +32,9 @@
|
|||||||
&.is-patreon
|
&.is-patreon
|
||||||
background-color: $patreon-blue
|
background-color: $patreon-blue
|
||||||
color: $white
|
color: $white
|
||||||
&.is-fortyfour
|
// &.is-fortyfour
|
||||||
background-color: $white
|
// background-color: $white
|
||||||
border: 2px solid $background
|
// border: 2px solid $background
|
||||||
.button
|
.button
|
||||||
transform-origin: center
|
transform-origin: center
|
||||||
transition-duration: $speed
|
transition-duration: $speed
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
.bd-banner-title
|
.bd-banner-title
|
||||||
color: currentColor
|
color: currentColor
|
||||||
.button
|
.button
|
||||||
transform: scale(1.1)
|
transform: scale(1.05)
|
||||||
|
|
||||||
.bd-banner-background
|
.bd-banner-background
|
||||||
+overlay
|
+overlay
|
||||||
@@ -61,9 +62,10 @@
|
|||||||
margin-bottom: 0.25em
|
margin-bottom: 0.25em
|
||||||
|
|
||||||
.bd-banner-text
|
.bd-banner-text
|
||||||
|
display: none
|
||||||
font-size: 0.875em
|
font-size: 0.875em
|
||||||
line-height: 1.25
|
line-height: 1.25
|
||||||
padding: 0 0.5em
|
margin-bottom: 0.5rem
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
.bd-banner-image
|
.bd-banner-image
|
||||||
@@ -72,6 +74,8 @@
|
|||||||
margin-top: 1rem
|
margin-top: 1rem
|
||||||
img
|
img
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
// left: -8px
|
||||||
|
// position: relative
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
|
|
||||||
.bd-banner-button
|
.bd-banner-button
|
||||||
|
|||||||
@@ -10396,13 +10396,13 @@ label.panel-block:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 1087px) {
|
||||||
.bd-side-background {
|
.bd-side-background {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px), print {
|
@media screen and (min-width: 1088px) {
|
||||||
.bd-duo {
|
.bd-duo {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@@ -13390,10 +13390,12 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bd-side-sponsors {
|
.bd-side-sponsors {
|
||||||
margin-top: 1.5rem;
|
margin-top: 3rem;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-side-sponsor-label {
|
.bd-side-sponsor-label,
|
||||||
|
.bd-banner-label {
|
||||||
color: #b5b5b5;
|
color: #b5b5b5;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
@@ -13413,9 +13415,8 @@ svg {
|
|||||||
.bd-banner {
|
.bd-banner {
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
margin-top: 3rem;
|
||||||
margin-top: 1.5rem;
|
padding-bottom: 1.5rem;
|
||||||
padding: 1.5rem;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition-duration: 86ms;
|
transition-duration: 86ms;
|
||||||
@@ -13435,11 +13436,6 @@ svg {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-banner.is-fortyfour {
|
|
||||||
background-color: white;
|
|
||||||
border: 2px solid whitesmoke;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bd-banner .button {
|
.bd-banner .button {
|
||||||
-webkit-transform-origin: center;
|
-webkit-transform-origin: center;
|
||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
@@ -13459,8 +13455,8 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bd-banner:hover .button {
|
.bd-banner:hover .button {
|
||||||
-webkit-transform: scale(1.1);
|
-webkit-transform: scale(1.05);
|
||||||
transform: scale(1.1);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-banner-background {
|
.bd-banner-background {
|
||||||
@@ -13479,9 +13475,10 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bd-banner-text {
|
.bd-banner-text {
|
||||||
|
display: none;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
padding: 0 0.5em;
|
margin-bottom: 0.5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
docs/css/bulma-docs.min.css
vendored
2
docs/css/bulma-docs.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user