File tree Expand file tree Collapse file tree
assets/css/shortcode-caniuse Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @charset " utf-8" ;
2+
3+ .ciu-embed :empty ::after {
4+ content : ' Data on support for the ' attr (data-feature ) ' feature across the major browsers from caniuse.com' ;
5+ color : var (--fi-secondary );
6+ display : block ;
7+ text-align : center ;
8+ font-size : 12px ;
9+ }
Original file line number Diff line number Diff line change 11{{- if .HasShortcode "caniuse" -}}
22 {{- $fingerprint := .Scratch.Get "fingerprint" -}}
33
4+ {{- /* shortcode-caniuse.min.css */ -}}
5+ {{- $options := dict "Source" "css/shortcode-caniuse/index.scss" "Fingerprint" $fingerprint -}}
6+ {{- $toCSS := dict "targetPath" "css/shortcode-caniuse.min.css" "enableSourceMap" true -}}
7+ {{- $options = dict "Context" . "ToCSS" $toCSS | merge $options -}}
8+ {{- partial "plugin/style.html" $options -}}
9+
410 {{- /* embed.js */ -}}
511 {{- $source := resources.Get "lib/shortcode-caniuse/embed.js" -}}
612 {{- if hugo.IsProduction | and .Site.Params.cdn -}}
You can’t perform that action at this time.
0 commit comments