Ero sivun ”Widget:JwFloatStyle” versioiden välillä
Järvi-meriwikistä
Rivi 3: | Rivi 3: | ||
.jw-float-<!--{$float|escape:'html'}-->-width-<!--{$width|escape:'html'}--> { | .jw-float-<!--{$float|escape:'html'}-->-width-<!--{$width|escape:'html'}--> { | ||
float: none; | float: none; | ||
− | width: calc( 100% + | + | width: calc( 100% + 1.25rem ); |
margin: 0 -1.25rem; | margin: 0 -1.25rem; | ||
} | } | ||
Rivi 11: | Rivi 11: | ||
.jw-float-<!--{$float|escape:'html'}-->-width-<!--{$width|escape:'html'}--> { | .jw-float-<!--{$float|escape:'html'}-->-width-<!--{$width|escape:'html'}--> { | ||
float: <!--{$float|escape:'html'}-->; | float: <!--{$float|escape:'html'}-->; | ||
− | width: calc( <!--{$width|escape:'html'}-->% + | + | width: calc( <!--{$width|escape:'html'}-->% + 1.25rem ); |
margin-<!--{$float|escape:'html'}-->: -1.25rem; | margin-<!--{$float|escape:'html'}-->: -1.25rem; | ||
} | } |