r52 vs r53
......
666666
=== 대괄호 ===
667667
대괄호 ({{{#!wiki style="display:inline-block; font-family:monospace"
668668
\{}}}, {{{#!wiki style="display:inline-block; font-family:monospace"
669
\}}}})는 컴퓨터가 어디부터 어디까지 읽는 영역을 표시하는 기호이므로, 많은 내용을 한 줄에 넣고 싶다면 대괄호 사이에 굳이 개행을 할 필요 없이 wiki style 문법으로 한 줄 속성을 적듯이 만들면 된다. 이를테면 앞의 내용인
669
\}}}})는 컴퓨터가 어디부터 어디까지 읽는 영역을 표시하는 기호이므로, 많은 내용을 한 줄에 넣고 싶다면 대괄호 사이에 굳이 개행을 할 필요 없이 wiki style 문법으로 속성을 한 줄 안에 적듯이 만들면 된다. 이를테면 앞의 내용인
670670
>{{{#!wiki style="display: inline; font-family: monospace;"
671671
\{{{#!style
672672
/* scoped styles are not supported */
......
698698
\}}}\ }}}
699699
부분을 줄여서
700700
>{{{#!wiki style="display: inline; font-family: monospace;"
701
\{{{#!if s="table.colored > tbody > tr", n=":nth-of-type"
702
\}}}\{{{#!style
701
\{{{#!style
703702
/* scoped styles are not supported */
704
table.colored > tbody > tr > td:first-of-type {font-weight: bold;}
705
table.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {color: red;}
706
table.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {color: lime;}
707
table.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {color: blue;}
703
.colored > tbody > tr > td:first-of-type {font-weight: bold;}
704
.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {color: red;}
705
.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {color: lime;}
706
.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {color: blue;}
708707
709708
/* media query is not supported */
710709
@theseed-dark-mode {
711
table.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {color: maroon;}
712
table.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {color: green;}
713
table.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {color: navy;}
710
.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {color: maroon;}
711
.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {color: green;}
712
.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {color: navy;}
714713
}
715714
\}}}\ }}}
716715
식으로 줄여도 된다.
......