사용자
nyangx3/a(비교)
| r145 vs r146 | ||
|---|---|---|
| ... | ... | |
| 1738 | 1738 | * [anchor(CSS Custom Property)]CSS Custom Property [[https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/--*|MDN]] |
| 1739 | 1739 | {{{#!wiki style="margin-left: -25px" |
| 1740 | 1740 | * espejo, liberty 스킨은 화이트 모든 배경색이 #fff로 같으나 다크 모드 배경색이 각각 #1c1d1f, #000로 다른데, 스타일 문법에서 background: var(--article-background-color)를 쓰는 방식으로 이를 가져올 수 있다. |
| 1741 | 그 외 color: var(-\-text-color)로 스킨 상관 없이 기본 텍스트 색[* espejo: #212529,#e0e0e0 / liberty: #373a3c,#ddd]을 가져올 수 있으며, espejo 스킨 한정으로 color: var(-\-link-color) 혹은 | |
| 1741 | 그 외 color: var(-\-text-color)로 스킨 상관 없이 기본 텍스트 색[* espejo: #212529,#e0e0e0 / liberty: #373a3c,#ddd]을 가져올 수 있으며, espejo 스킨 한정으로 color: var(-\-link-color) [* 혹은 var(-\-espejo-link-color)]로 기본 링크 색[* #0275d8,#e69720]을 가져올 수 있다. | |
| 1742 | 1742 | 그 외에도 있으나 따로 정리하기 귀찮고 쓸 일도 별로 없으니 아래 속성 이름과 값을 보고 알아서 유추하시길.. |
| 1743 | {{{-2 ※'''볼드체'''는 espejo/liberty 스킨 둘 다에서 정의된 변수.}}} | |
| 1743 | 1744 | {{{#!wiki style="font-size: .75rem; display: table" |
| 1744 | 1745 | {{{#!folding [ (espejo/색상) 펼치기 · 접기 ] |
| 1745 | 1746 | ##)] |
| ... | ... | |
| 1795 | 1796 | --espejo-brand1-color: #00a69c {{{#!wiki style="background: #00a69c; @a@ |
| 1796 | 1797 | }}} / #2e3033 {{{#!wiki style="background: #2e3033; @a@ |
| 1797 | 1798 | }}} |
| 1798 | →-\-brand-color-1: var(-\-espejo-brand1-color) | |
| 1799 | '''→-\-brand-color-1: var(-\-espejo-brand1-color)''' | |
| 1799 | 1800 | --espejo-brand2-color: #28b472 {{{#!wiki style="background: #28b472; @a@ |
| 1800 | 1801 | }}} / #2e3033 {{{#!wiki style="background: #2e3033; @a@ |
| 1801 | 1802 | }}} |
| 1802 | →-\-brand-color-2: var(-\-espejo-brand2-color) | |
| 1803 | '''→-\-brand-color-2: var(-\-espejo-brand2-color)''' | |
| 1803 | 1804 | --espejo-brand-bright1-color: #bfe9d5 {{{#!wiki style="background: #bfe9d5; @a@ |
| 1804 | 1805 | }}} / #c0c1c2 {{{#!wiki style="background: #c0c1c2; @a@ |
| 1805 | 1806 | }}} |
| 1806 | →-\-brand-bright-color-1: var(-\-espejo-brand-bright1-color) | |
| 1807 | '''→-\-brand-bright-color-1: var(-\-espejo-brand-bright1-color)''' | |
| 1807 | 1808 | --espejo-brand-bright2-color: #d4f0e3 {{{#!wiki style="background: #d4f0e3; @a@ |
| 1808 | 1809 | }}} / #c0c1c2 {{{#!wiki style="background: #c0c1c2; @a@ |
| 1809 | 1810 | }}} |
| 1810 | →-\-brand-bright-color-2: var(-\-espejo-brand-bright2-color) | |
| 1811 | '''→-\-brand-bright-color-2: var(-\-espejo-brand-bright2-color)''' | |
| 1811 | 1812 | --espejo-card-background-color: #fff {{{#!wiki style="background: #fff; @a@ |
| 1812 | 1813 | }}} / #1c1d1f {{{#!wiki style="background: #1c1d1f; @a@ |
| 1813 | 1814 | }}} |
| ... | ... | |
| 2085 | 2086 | -\-toast-area-offset-x: calc(var(-\-espejo-nav-control-gutter-x-var) + env(safe-area-inset-right) - 0.5rem) |
| 2086 | 2087 | -\-toast-area-offset-y: calc(var(-\-espejo-nav-control-gutter-y-var) + env(safe-area-inset-bottom) + 6rem) |
| 2087 | 2088 | -\-scrollbar-width: 0px; |
| 2088 | ||
| 2089 | -\-csstools-color-schee-\-dark: / initial | |
| 2089 | -\-visual-viewport-height: (사용자의 화면 높이); | |
| 2090 | '''-\-csstools-color-schee-\-dark: / initial''' | |
| 2090 | 2091 | }}}}}}{{{#!wiki style="font-size: .75rem; display: table" |
| 2091 | 2092 | {{{#!folding [ (liberty/나무위키 기준) 펼치기 · 접기 ] |
| 2092 | 2093 | ##)] |
| 2093 | 2094 | --liberty-brand-color: #008275 {{{#!wiki style="background: #008275; @a@ |
| 2094 | 2095 | }}} / #2d2f34 {{{#!wiki style="background: #2d2f34; @a@ |
| 2095 | 2096 | }}} |
| 2096 | →-\-brand-color-1: var(--liberty-brand-color) | |
| 2097 | →-\-brand-color-2: var(--liberty-brand-color) | |
| 2097 | '''→-\-brand-color-1: var(--liberty-brand-color)''' | |
| 2098 | '''→-\-brand-color-2: var(--liberty-brand-color)''' | |
| 2098 | 2099 | --liberty-brand-dark-color: #00413b {{{#!wiki style="background: #00413b; @a@ |
| 2099 | 2100 | }}} / #16171a {{{#!wiki style="background: #16171a; @a@ |
| 2100 | 2101 | }}} |
| 2101 | 2102 | --liberty-brand-bright-color: #80c1ba {{{#!wiki style="background: #80c1ba; @a@ |
| 2102 | 2103 | }}} / #383b40 {{{#!wiki style="background: #383b40; @a@ |
| 2103 | 2104 | }}} |
| 2104 | →-\-brand-bright-color-1: var(--liberty-brand-bright-color) | |
| 2105 | →-\-brand-bright-color-2: var(--liberty-brand-bright-color) | |
| 2105 | '''→-\-brand-bright-color-1: var(--liberty-brand-bright-color)''' | |
| 2106 | '''→-\-brand-bright-color-2: var(--liberty-brand-bright-color)''' | |
| 2106 | 2107 | --liberty-navbar-logo-image: url(https://namu.wiki/liberty_namu_logo.png); |
| 2107 | 2108 | --liberty-navbar-logo-minimum-width: 6rem; |
| 2108 | --text-color: #373a3c {{{#!wiki style="background: #373a3c; @a@ | |
| 2109 | }}} / #ddd {{{#!wiki style="background: #ddd; @a@ | |
| 2109 | '''--text-color: #373a3c''' {{{#!wiki style="background: #373a3c; @a@ | |
| 2110 | }}} '''/ #ddd''' {{{#!wiki style="background: #ddd; @a@ | |
| 2110 | 2111 | }}} |
| 2111 | --article-background-color: #fff {{{#!wiki style="background: #fff; @a@ | |
| 2112 | }}} / #000 {{{#!wiki style="background: #000; @a@ | |
| 2112 | '''--article-background-color: #fff''' {{{#!wiki style="background: #fff; @a@ | |
| 2113 | }}} '''/ #000''' {{{#!wiki style="background: #000; @a@ | |
| 2113 | 2114 | }}} |
| 2114 | 2115 | -\-csstools-color-schee-\-dark: / initial |
| 2115 | 2116 | }}}}}}}}} |
| ... | ... |