| r52 vs r53 | ||
|---|---|---|
| ... | ... | |
| 666 | 666 | === 대괄호 === |
| 667 | 667 | 대괄호 ({{{#!wiki style="display:inline-block; font-family:monospace" |
| 668 | 668 | \{}}}, {{{#!wiki style="display:inline-block; font-family:monospace" |
| 669 | \}}}})는 컴퓨터가 어디부터 어디까지 읽는 영역을 표시하는 기호이므로, 많은 내용을 한 줄에 넣고 싶다면 대괄호 사이에 굳이 개행을 할 필요 없이 wiki style 문법으로 한 줄 | |
| 669 | \}}}})는 컴퓨터가 어디부터 어디까지 읽는 영역을 표시하는 기호이므로, 많은 내용을 한 줄에 넣고 싶다면 대괄호 사이에 굳이 개행을 할 필요 없이 wiki style 문법으로 속성을 한 줄 안에 적듯이 만들면 된다. 이를테면 앞의 내용인 | |
| 670 | 670 | >{{{#!wiki style="display: inline; font-family: monospace;" |
| 671 | 671 | \{{{#!style |
| 672 | 672 | /* scoped styles are not supported */ |
| ... | ... | |
| 698 | 698 | \}}}\ }}} |
| 699 | 699 | 부분을 줄여서 |
| 700 | 700 | >{{{#!wiki style="display: inline; font-family: monospace;" |
| 701 | \{{{#! | |
| 702 | ||
| 701 | \{{{#!style | |
| 703 | 702 | /* scoped styles are not supported */ |
| 704 | ||
| 705 | ||
| 706 | ||
| 707 | ||
| 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;} | |
| 708 | 707 | |
| 709 | 708 | /* media query is not supported */ |
| 710 | 709 | @theseed-dark-mode { |
| 711 | ||
| 712 | ||
| 713 | ||
| 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;} | |
| 714 | 713 | } |
| 715 | 714 | \}}}\ }}} |
| 716 | 715 | 식으로 줄여도 된다. |
| ... | ... |