사용자
nyangx3/a(비교)
| r45 vs r46 | ||
|---|---|---|
| 1 | {{{#!if style1='background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-size: .75rem; max-width: fit-content; font-family: | |
| 1 | {{{#!if style1='background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-size: .75rem; max-width: fit-content; font-family: Consolas,monospace" dark-style="background: #383b40' | |
| 2 | 2 | }}}{{{#!wiki style="display: block" dark-style="display: none" |
| 3 | 3 | [include(사용자:nyangx3/연습장, if=나무나무마크, input=\{\{\{#!wiki style="text-align: center"<br>\{\{\{+5 \'\'\'[[사용자:nyangx3/연습장|\{\{\{#373a3c\,#ddd 냥냥냥\}\}\}]]\'\'\'\}\}\}<br>\{\{\{-1 [[고양이]]는 신이야\}\}\}\{\{\{#!wiki style="word-break: keep-all"<br>\{\{\{-3 별 이유 없이 오셨다면\, 별 이유는 없고 사용자 문서에 별(\{\{\{#595c5f\,#e0e0e0 \{\{\{#!html <span style="font-family: Ionicons"></span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}}{{{#!wiki style="display: none" dark-style="display: block" |
| 4 | 4 | [include(사용자:nyangx3/연습장, if=나무나무마크, input=\{\{\{#!wiki style="text-align: center"<br>\{\{\{+5 \'\'\'[[사용자:nyangx3/연습장|\{\{\{#ddd 냥냥냥\}\}\}]]\'\'\'\}\}\}<br>\{\{\{-1 [[고양이|\{\{\{#e69720 고양이\}\}\}]]는 신이야\}\}\}\{\{\{#!wiki style="word-break: keep-all"<br>\{\{\{-3 별 이유 없이 오셨다면\, 별 이유는 없고 사용자 문서에 별(\{\{\{#e0e0e0 \{\{\{#!html <span style="font-family: Ionicons"></span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}} |
| 5 | 5 | [include(사용자:nyangx3/연습장, if=목차)] |
| 6 | 6 | [include(사용자:nyangx3/연습장, if=문단, 문단명=복사 붙여넣기, 문단번호=-1)] |
| 7 | 7 | ## {{{#!if (+if) == 2 |
| 8 | * '''다크 모드 대응''' | |
| 8 | * '''다크 모드 대응'''^^'''{{{-2 [[#정규식 치환|#사용법]]}}}'''^^ | |
| 9 | 9 | {{{#!wiki style="display: inline; @style1@" |
| 10 | ((color=)(#[a-f0-9]{3}|#[a-f0-9]{6} | |
| 11 | $2$6$3$7,$3$7$4$8}}} | |
| 10 | ((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\\{\\{\\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@" | |
| 11 | $2$6$3$7,$3$7$4$8}}} | |
| 12 | 12 | * 표 속 접기 문법 {{{#!wiki style="background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-family: ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; font-size: .75rem; max-width: fit-content" dark-style="background: #383b40" |
| 13 | 13 | {️{{#!wiki style="margin: 0 -10px -5px; min-height: calc(1.5em + 5px)" |
| 14 | 14 | {️{{#!folding [ 펼치기 · 접기 ] |
| 15 | 15 | {️{{#!wiki style="margin: -5px -1px -11px"}}} |
| 16 | * | |
| 17 | ||
| 18 | ||
| 19 | {️{{#! | |
| 20 | ||
| 21 | ||
| 22 | * 표(테이블) 라운딩: | |
| 16 | * 일반 라운딩: 둘러보기 틀에 자주 쓰인다.{{{#!wiki style="@style1@" | |
| 17 | {️{{#!wiki style="margin: auto; max-width: 700px; border-radius: 8px; overflow: hidden; background: #ddd; text-align: center; word-break: keep-all"}}} | |
| 18 | * 표(테이블) 라운딩: {{{-2 '''tablealign 속성을 지우고, 테이블 크기를 <tablewidth=100%>로 설정해 두어야 정상적으로 작동한다.'''}}} | |
| 23 | 19 | {{{#!wiki style="margin-left: -25px" |
| 24 | * 우측: {{{#!wiki style="@style1@" | |
| 25 | {️{{#!wiki style="max-width: | |
| 26 | {️{{#!wiki style="margin: -12px -2px"}}} | |
| 20 | * 좌/우측: {{{#!wiki style="@style1@" | |
| 21 | {️{{#!wiki style="max-width: 400px; overflow: hidden; float: right; border-radius: 8px; border: 2px #000 solid; word-break: keep-all" | |
| 22 | {️{{#!wiki style="margin: -12px -2px" | |
| 23 | ||<tablewidth=100%>}}} | |
| 27 | 24 | * 중앙: {{{#!wiki style="@style1@" |
| 28 | {️{{#!wiki style="te | |
| 29 | {️{{#!wiki style=" | |
| 30 | ||
| 25 | {️{{#!wiki style="max-width: 400px; overflow: hidden; margin: auto; border-radius: 8px; border: 2px #000 solid; word-break: keep-all" | |
| 26 | {️{{#!wiki style="margin: -12px -2px" | |
| 27 | ||<tablewidth=100%>}}}}}} | |
| 28 | * 글자 그라디엔트: {{{#!wiki style="@style1@" | |
| 29 | {️{{#!wiki style="display: inline; color: transparent; background: text linear-gradient(to right, '''[[#그라디엔트|gradient]]''')"}}} | |
| 30 | * 테두리 그라디엔트: {{{#!wiki style="@style1@" | |
| 31 | {️{{#!wiki style="border: 2px solid transparent; background: padding-box linear-gradient(#fff), border-box linear-gradient('''[[#그라디엔트|gradient]]'''); text-align: center; max-width: 700px" dark-style="background: padding-box linear-gradient(#1c1d1f), border-box linear-gradient('''[[#그라디엔트|gradient]]''')"}}} | |
| 31 | 32 | ####################################### |
| 32 | 33 | ## }}} |
| 33 | 34 | ---- |
| 34 | 35 | ## {{{#!if if == '자주안씀' |
| 35 | 36 | * 리터럴: {{{#!wiki style="@style1@" |
| 36 | font-family: | |
| 37 | font-family: Consolas,monospace}}} | |
| 37 | 38 | * 자간 조정: {{{#!wiki style="@style1@" |
| 38 | 39 | font: 1em/'''line_height''' monospace; font-family: revert}}} |
| 39 | 40 | ## }}} |
| ... | ... | |
| 54 | 55 | .*}}} 부분을 클릭하여 활성화한다.(정규식 모드) |
| 55 | 56 | 그 뒤 아래의 것들을 찾기/바꾸기 칸에 적절히 입력한 뒤, 바꾸기 칸 옆에 있는 '모두 바꾸기' 버튼을 누른다. |
| 56 | 57 | * 다크 모드 대응 {{{#!wiki style="display: inline; @style1@" |
| 57 | ((color=)(#[a-f0-9]{3}|#[a-f0-9]{6} | |
| 58 | $2$6$3$7,$3$7$4$8}}} | |
| 58 | ((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\{\{\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@" | |
| 59 | $2$6$3$7,$3$7$4$8}}} [a-z]{3,20}를 넣어 명명된 색상[* red, transparent 등]도 선택하게 할 수 있겠지만, 그럴 경우 고려사항이 많아진다. 굳이 넣겠다면 그냥 모든 명명된 색상을[*이렇게 aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent] 적어버리면 된다. | |
| 59 | 60 | * 년도 수정(0000. 00. 00.) {{{#!wiki style="display: inline; @style1@" |
| 60 | 61 | (\\d{4})\\.\\s?0?(\\d{1,2})\\.\\s?0?(\\d{1,2})\\.?}}} → {{{#!wiki style="display: inline; @style1@" |
| 61 | 62 | $1. $2. $3.}}} |
| ... | ... |