mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Fix sidebar
This commit is contained in:
parent
3d5f7a6ad3
commit
bdd96cae8c
@ -1,8 +1,7 @@
|
|||||||
<img
|
<img
|
||||||
src="{{ site.url }}/images/{{ include.path }}.{{ include.extension }}"
|
src="{{ site.url }}/assets/images/{{ include.path }}.{{ include.extension }}"
|
||||||
srcset="{{ site.url }}/images/{{ include.path }}.{{ include.extension }} 1x,
|
srcset="{{ site.url }}/assets/images/{{ include.path }}.{{ include.extension }} 1x,
|
||||||
{{ site.url }}/images/{{ include.path }}@2x.{{ include.extension }} 2x,
|
{{ site.url }}/assets/images/{{ include.path }}@2x.{{ include.extension }} 2x"
|
||||||
{{ site.url }}/images/{{ include.path }}@3x.{{ include.extension }} 3x"
|
|
||||||
alt="{{ include.alt }}"
|
alt="{{ include.alt }}"
|
||||||
width="{{ include.width }}"
|
width="{{ include.width }}"
|
||||||
height="{{ include.height }}">
|
height="{{ include.height }}">
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<h3 class="bd-menu-heading js-menu-heading">
|
<h3 class="bd-menu-heading js-menu-heading">
|
||||||
|
{% if include.icon %}
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="{{ include.icon }}"></i>
|
<i class="{{ include.icon }}"></i>
|
||||||
</span>
|
</span>
|
||||||
|
{% endif %}
|
||||||
<strong>{{ include.label }}</strong>
|
<strong>{{ include.label }}</strong>
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -62,4 +62,18 @@
|
|||||||
{% include docs/menu-heading.html icon="fa-brands fa-css3" label="CSS Helpers" %}
|
{% include docs/menu-heading.html icon="fa-brands fa-css3" label="CSS Helpers" %}
|
||||||
{% include docs/menu-list.html category_id="helpers" %}
|
{% include docs/menu-list.html category_id="helpers" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bd-menu-section is-sponsr">
|
||||||
|
{% include docs/menu-heading.html label="Sponsor" %}
|
||||||
|
<a class="bd-side-sponsor" href="https://password.link/" target="_blank">
|
||||||
|
{%
|
||||||
|
include docs/elements/responsive-image.html
|
||||||
|
path="amis/passwordlink"
|
||||||
|
extension="png"
|
||||||
|
alt="Password.link"
|
||||||
|
width="332"
|
||||||
|
height="96"
|
||||||
|
%}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
14
docs/_includes/docs/side-sponsr.html
Normal file
14
docs/_includes/docs/side-sponsr.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<div class="bd-side-sponsrs">
|
||||||
|
<p class="bd-side-sponsor-label">Sponsors</p>
|
||||||
|
|
||||||
|
<a class="bd-side-sponsor" href="https://password.link/" target="_blank">
|
||||||
|
{%
|
||||||
|
include docs/elements/responsive-image.html
|
||||||
|
path="amis/passwordlink"
|
||||||
|
extension="png"
|
||||||
|
alt="Password.link"
|
||||||
|
width="332"
|
||||||
|
height="96"
|
||||||
|
%}
|
||||||
|
</a>
|
||||||
|
</div>
|
@ -170,3 +170,13 @@
|
|||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
line-height: 1.25rem;
|
line-height: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bd-side-sponsor {
|
||||||
|
display: flex;
|
||||||
|
margin: 0.5rem;
|
||||||
|
margin-top: 0;
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -63,16 +63,9 @@ $delay: 0.2s;
|
|||||||
animation-delay: $delay * 2;
|
animation-delay: $delay * 2;
|
||||||
animation-name: anim-slow-intro;
|
animation-name: anim-slow-intro;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
background-color: cv.getVar("scheme-main");
|
background-color: cv.getVar("success-soft");
|
||||||
border-color: cv.getVar("success-80");
|
border: none;
|
||||||
box-shadow: 0px 0.25em 0.5em 0px
|
color: cv.getVar("success");
|
||||||
hsla(
|
|
||||||
cv.getVar("success-h"),
|
|
||||||
cv.getVar("success-s"),
|
|
||||||
cv.getVar("success-l"),
|
|
||||||
0.08
|
|
||||||
);
|
|
||||||
color: cv.getVar("success-40");
|
|
||||||
font-size: calc(var(--scale) * 1.25em);
|
font-size: calc(var(--scale) * 1.25em);
|
||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
|
|
||||||
|
@ -34941,10 +34941,9 @@ has-background-moon.is-hoverable:active {
|
|||||||
animation-delay: 0.4s;
|
animation-delay: 0.4s;
|
||||||
animation-name: anim-slow-intro;
|
animation-name: anim-slow-intro;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
background-color: var(--bulma-scheme-main);
|
background-color: var(--bulma-success-soft);
|
||||||
border-color: var(--bulma-success-80);
|
border: none;
|
||||||
box-shadow: 0px 0.25em 0.5em 0px hsla(var(--bulma-success-h), var(--bulma-success-s), var(--bulma-success-l), 0.08);
|
color: var(--bulma-success);
|
||||||
color: var(--bulma-success-40);
|
|
||||||
font-size: calc(var(--scale) * 1.25em);
|
font-size: calc(var(--scale) * 1.25em);
|
||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
}
|
}
|
||||||
@ -36854,6 +36853,15 @@ has-background-moon.is-hoverable:active {
|
|||||||
line-height: 1.25rem;
|
line-height: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bd-side-sponsor {
|
||||||
|
display: flex;
|
||||||
|
margin: 0.5rem;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.bd-side-sponsor img {
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.bd-notification {
|
.bd-notification {
|
||||||
--bulma-notification-h: var(--bulma-scheme-h);
|
--bulma-notification-h: var(--bulma-scheme-h);
|
||||||
--bulma-notification-s: var(--bulma-scheme-s);
|
--bulma-notification-s: var(--bulma-scheme-s);
|
||||||
|
2
docs/assets/css/website.min.css
vendored
2
docs/assets/css/website.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
docs/assets/images/amis/passwordlink.png
Normal file
BIN
docs/assets/images/amis/passwordlink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
BIN
docs/assets/images/amis/passwordlink@2x.png
Normal file
BIN
docs/assets/images/amis/passwordlink@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Loading…
Reference in New Issue
Block a user