mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-07 05:18:03 +00:00
Move fourcolumns CSS class as multicolumns to tw5-styles for reuse (#7318)
This commit is contained in:
@@ -33,29 +33,17 @@ Note the various places you need to indicate the number of columns
|
|||||||
|
|
||||||
```
|
```
|
||||||
@@.fourcolumns
|
@@.fourcolumns
|
||||||
<$list filter="[tag[Filter Operators]]" variable="foo"><br>
|
<$list filter="[tag[Filter Operators]]" variable="foo">
|
||||||
<<foo>>
|
<<foo>><br>
|
||||||
</$list>
|
</$list>
|
||||||
@@
|
@@
|
||||||
```
|
```
|
||||||
|
|
||||||
!! Example showing partial list of filter operators
|
!! Example showing partial list of filter operators
|
||||||
|
|
||||||
<style>
|
|
||||||
.fourcolumns {
|
|
||||||
display:block;
|
|
||||||
column-count:4;
|
|
||||||
column-gap:1em;
|
|
||||||
-moz-column-count:4;
|
|
||||||
-moz-column-gap:1em;
|
|
||||||
-webkit-column-count: 4;
|
|
||||||
-webkit-column-gap:1em;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
@@.fourcolumns
|
@@.fourcolumns
|
||||||
<$list filter="[tag[Filter Operators]limit[24]]" variable="foo"><br>
|
<$list filter="[tag[Filter Operators]limit[24]]" variable="foo">
|
||||||
<<foo>>
|
<<foo>><br>
|
||||||
</$list>
|
</$list>
|
||||||
@@
|
@@
|
||||||
|
|
||||||
|
@@ -325,3 +325,22 @@ type: text/vnd.tiddlywiki
|
|||||||
.tc-btn-download:active {
|
.tc-btn-download:active {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* WikiText rules */
|
||||||
|
|
||||||
|
.multi-columns,
|
||||||
|
.fourcolumns {
|
||||||
|
display: block;
|
||||||
|
column-count: 4;
|
||||||
|
column-gap: 1em;
|
||||||
|
-moz-column-count: 4;
|
||||||
|
-moz-column-gap: 1em;
|
||||||
|
-webkit-column-count: 4;
|
||||||
|
-webkit-column-gap: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
||||||
|
.multi-columns {
|
||||||
|
column-count: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user