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
|
||||
src="{{ site.url }}/images/{{ include.path }}.{{ include.extension }}"
|
||||
srcset="{{ site.url }}/images/{{ include.path }}.{{ include.extension }} 1x,
|
||||
{{ site.url }}/images/{{ include.path }}@2x.{{ include.extension }} 2x,
|
||||
{{ site.url }}/images/{{ include.path }}@3x.{{ include.extension }} 3x"
|
||||
src="{{ site.url }}/assets/images/{{ include.path }}.{{ include.extension }}"
|
||||
srcset="{{ site.url }}/assets/images/{{ include.path }}.{{ include.extension }} 1x,
|
||||
{{ site.url }}/assets/images/{{ include.path }}@2x.{{ include.extension }} 2x"
|
||||
alt="{{ include.alt }}"
|
||||
width="{{ include.width }}"
|
||||
height="{{ include.height }}">
|
||||
|
@ -1,6 +1,8 @@
|
||||
<h3 class="bd-menu-heading js-menu-heading">
|
||||
<span class="icon">
|
||||
<i class="{{ include.icon }}"></i>
|
||||
</span>
|
||||
{% if include.icon %}
|
||||
<span class="icon">
|
||||
<i class="{{ include.icon }}"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
<strong>{{ include.label }}</strong>
|
||||
</h3>
|
||||
|
@ -62,4 +62,18 @@
|
||||
{% include docs/menu-heading.html icon="fa-brands fa-css3" label="CSS Helpers" %}
|
||||
{% include docs/menu-list.html category_id="helpers" %}
|
||||
</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>
|
||||
|
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;
|
||||
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-name: anim-slow-intro;
|
||||
align-self: center;
|
||||
background-color: cv.getVar("scheme-main");
|
||||
border-color: cv.getVar("success-80");
|
||||
box-shadow: 0px 0.25em 0.5em 0px
|
||||
hsla(
|
||||
cv.getVar("success-h"),
|
||||
cv.getVar("success-s"),
|
||||
cv.getVar("success-l"),
|
||||
0.08
|
||||
);
|
||||
color: cv.getVar("success-40");
|
||||
background-color: cv.getVar("success-soft");
|
||||
border: none;
|
||||
color: cv.getVar("success");
|
||||
font-size: calc(var(--scale) * 1.25em);
|
||||
transform-origin: center;
|
||||
|
||||
|
@ -34941,10 +34941,9 @@ has-background-moon.is-hoverable:active {
|
||||
animation-delay: 0.4s;
|
||||
animation-name: anim-slow-intro;
|
||||
align-self: center;
|
||||
background-color: var(--bulma-scheme-main);
|
||||
border-color: var(--bulma-success-80);
|
||||
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-40);
|
||||
background-color: var(--bulma-success-soft);
|
||||
border: none;
|
||||
color: var(--bulma-success);
|
||||
font-size: calc(var(--scale) * 1.25em);
|
||||
transform-origin: center;
|
||||
}
|
||||
@ -36854,6 +36853,15 @@ has-background-moon.is-hoverable:active {
|
||||
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 {
|
||||
--bulma-notification-h: var(--bulma-scheme-h);
|
||||
--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