Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/sass/_theme/configuration/colors.sass
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $color-dark-selection-background: rgba($color-dark-text, .7) !default

$body-color: var(--color-text) !default
$body-background-color: var(--color-background) !default
$link-color: var(--color-text) !default
$link-color: inherit !default

$backdrop-color: rgba(255, 255, 255, 0.80) !default
$backdrop: blur(5px) !default
7 changes: 0 additions & 7 deletions assets/sass/_theme/design-system/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@
.button--large
@include button-large

@mixin link-icon($icon: false)
@include button-reset
line-height: $body-line-height
white-space: nowrap
@if $icon
@include icon-block($icon, after)

.dropdown-share
--btn-min-width: #{pxToRem(140)}
position: relative
Expand Down
3 changes: 2 additions & 1 deletion assets/sass/_theme/design-system/typography.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ body
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
font-size: var(--body-size)
line-height: var(--body-line-height)
font-variant-ligatures: common-ligatures
font-weight: $body-weight
line-height: var(--body-line-height)
text-rendering: optimizelegibility

// Experimental, not implemented yet
Expand Down
1 change: 1 addition & 0 deletions assets/sass/_theme/sections/files/single.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.file-hero-download
margin-top: var(--grid-gutter)
a[download]
--color-border: currentcolor
@include icon-frame(download-2-line, $hoverable: true)
align-items: center
display: flex
Expand Down
4 changes: 2 additions & 2 deletions layouts/_partials/blocks/templates/testimonials/list.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{ if .testimonials }}
{{ $layout := .layout }}
{{ $attributes := "" }}
{{ if eq $layout "carousel" }}
{{ $attributes = printf "data-slider='%s'" ( site.Params.blocks.testimonials.slider | encoding.Jsonify ) }}
{{ if and (eq $layout "carousel") (gt .testimonials 1) }}
{{ $attributes = printf "data-slider='%s'" ( site.Params.blocks.testimonials.slider | encoding.Jsonify ) }}
{{ end }}

<ul class="testimonials testimonials--{{ $layout }}" {{ $attributes | safeHTMLAttr }}>
Expand Down
Loading