style: format code with prettier
This commit is contained in:
1 parent
887bb289ef
commit
d80af86cdc
1 file changed
+18
-29
@@ -47,8 +47,7 @@
|
|||||||
@base: #eff1f5;
|
@base: #eff1f5;
|
||||||
@mantle: #e6e9ef;
|
@mantle: #e6e9ef;
|
||||||
@crust: #dce0e8;
|
@crust: #dce0e8;
|
||||||
}
|
};
|
||||||
;
|
|
||||||
@frappe: {
|
@frappe: {
|
||||||
@rosewater: #f2d5cf;
|
@rosewater: #f2d5cf;
|
||||||
@flamingo: #eebebe;
|
@flamingo: #eebebe;
|
||||||
@@ -76,8 +75,7 @@
|
|||||||
@base: #303446;
|
@base: #303446;
|
||||||
@mantle: #292c3c;
|
@mantle: #292c3c;
|
||||||
@crust: #232634;
|
@crust: #232634;
|
||||||
}
|
};
|
||||||
;
|
|
||||||
@macchiato: {
|
@macchiato: {
|
||||||
@rosewater: #f4dbd6;
|
@rosewater: #f4dbd6;
|
||||||
@flamingo: #f0c6c6;
|
@flamingo: #f0c6c6;
|
||||||
@@ -105,8 +103,7 @@
|
|||||||
@base: #24273a;
|
@base: #24273a;
|
||||||
@mantle: #1e2030;
|
@mantle: #1e2030;
|
||||||
@crust: #181926;
|
@crust: #181926;
|
||||||
}
|
};
|
||||||
;
|
|
||||||
@mocha: {
|
@mocha: {
|
||||||
@rosewater: #f5e0dc;
|
@rosewater: #f5e0dc;
|
||||||
@flamingo: #f2cdcd;
|
@flamingo: #f2cdcd;
|
||||||
@@ -134,9 +131,8 @@
|
|||||||
@base: #1e1e2e;
|
@base: #1e1e2e;
|
||||||
@mantle: #181825;
|
@mantle: #181825;
|
||||||
@crust: #11111b;
|
@crust: #11111b;
|
||||||
}
|
};
|
||||||
;
|
};
|
||||||
}
|
|
||||||
|
|
||||||
#catppuccin(@lookup, @accent) {
|
#catppuccin(@lookup, @accent) {
|
||||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||||
@@ -170,13 +166,9 @@
|
|||||||
background-color: @mantle !important;
|
background-color: @mantle !important;
|
||||||
border-bottom-color: @blue;
|
border-bottom-color: @blue;
|
||||||
}
|
}
|
||||||
;
|
|
||||||
|
|
||||||
.mw-parser-output {
|
.mw-parser-output {
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
}
|
}
|
||||||
;
|
|
||||||
|
|
||||||
.mw-page-container {
|
.mw-page-container {
|
||||||
background-color: @mantle !important;
|
background-color: @mantle !important;
|
||||||
}
|
}
|
||||||
@@ -185,7 +177,6 @@
|
|||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#content a:not([role="button"]):not(.new),
|
#content a:not([role="button"]):not(.new),
|
||||||
header.mw-header li:not(.new) a:not([role="button"]):not(.new),
|
header.mw-header li:not(.new) a:not([role="button"]):not(.new),
|
||||||
#mw-panel-toc a:not([role="button"]):not(.new),
|
#mw-panel-toc a:not([role="button"]):not(.new),
|
||||||
@@ -198,16 +189,15 @@
|
|||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
html.client-darkmode {
|
html.client-darkmode {
|
||||||
background-color: @base
|
background-color: @base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.vector-feature-zebra-design-disabled,
|
.vector-feature-zebra-design-disabled,
|
||||||
.body {
|
.body {
|
||||||
background-color: @base
|
background-color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.archwiki-template-box-tip {
|
.archwiki-template-box-tip {
|
||||||
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
|
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
|
||||||
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
|
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
|
||||||
@@ -217,7 +207,7 @@
|
|||||||
.archwiki-template-box-note {
|
.archwiki-template-box-note {
|
||||||
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
|
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
|
||||||
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
|
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
|
||||||
color: @subtext1
|
color: @subtext1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archwiki-template-box-warning {
|
.archwiki-template-box-warning {
|
||||||
@@ -231,7 +221,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
border-color: @overlay0
|
border-color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content pre:not([class*="CodeMirror"]),
|
#content pre:not([class*="CodeMirror"]),
|
||||||
@@ -239,11 +229,11 @@
|
|||||||
#content tt {
|
#content tt {
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
color: @text;
|
color: @text;
|
||||||
border-color: @overlay0
|
border-color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vector-pinned-container {
|
.vector-pinned-container {
|
||||||
border-color: @overlay0 !important
|
border-color: @overlay0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vector-pinnable-header-label {
|
.vector-pinnable-header-label {
|
||||||
@@ -287,12 +277,12 @@
|
|||||||
.plainlinks,
|
.plainlinks,
|
||||||
.archwiki-template-man,
|
.archwiki-template-man,
|
||||||
.external text {
|
.external text {
|
||||||
color: multiply( @blue, #555)
|
color: multiply(@blue, #555);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdx-button:enabled.cdx-button--weight-quiet,
|
.cdx-button:enabled.cdx-button--weight-quiet,
|
||||||
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet {
|
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet {
|
||||||
background-color: @surface0
|
background-color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archnavbar ul li.anb-selected a {
|
#archnavbar ul li.anb-selected a {
|
||||||
@@ -312,7 +302,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archwiki-template-meta-related-articles {
|
.archwiki-template-meta-related-articles {
|
||||||
background-color: @surface0
|
background-color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archwiki-template-meta-related-articles p {
|
.archwiki-template-meta-related-articles p {
|
||||||
@@ -337,10 +327,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mw-footer li {
|
.mw-footer li {
|
||||||
color: @text
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.vector-main-menu,
|
.vector-main-menu,
|
||||||
.vector-pinnable-element {
|
.vector-pinnable-element {
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
@@ -367,7 +356,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mw-footer li a {
|
.mw-footer li a {
|
||||||
color: @blue
|
color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-body {
|
.mw-body {
|
||||||
@@ -383,11 +372,11 @@
|
|||||||
.cdx-button:enabled,
|
.cdx-button:enabled,
|
||||||
.cdx-button.cdxbutton--fake-button--enabled {
|
.cdx-button.cdxbutton--fake-button--enabled {
|
||||||
color: @text;
|
color: @text;
|
||||||
background-color: @mantle
|
background-color: @mantle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdx-menu {
|
.cdx-menu {
|
||||||
background-color: @surface0
|
background-color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdx-menu:hover {
|
.cdx-menu:hover {
|
||||||
|
|||||||
Reference in new issue
Block a user