Ero sivun ”Malline:JwFloat” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
− | <includeonly><div | + | <includeonly><style scoped> |
+ | |||
+ | .jw-float-{{{1|left}}}-width-{{{2|67}}} { | ||
+ | float: none; | ||
+ | width: calc( 100% + 2.5rem ); | ||
+ | margin: 0 -1.25rem; | ||
+ | } | ||
+ | |||
+ | @media ( min-width: 500p x) { | ||
+ | |||
+ | .jw-float-{{{1|left}}}-width-{{{2|67}}} { | ||
+ | float: {{{1|left}}}; | ||
+ | width: calc( {{{2|67}}}% + 1rem ); | ||
+ | margin-{{{1|left}}}: -1.25rem; | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </style> | ||
+ | <div class="jw-float-width-{{{2|67}}" Xstyle="float: {{{1|left}}}; width: calc( {{{2|67}}}% + 1rem ); margin-{{{1|left}}}: -1.25rem;">{{{3|}}}</div></includeonly> |