style: format code with prettier

This commit is contained in:
nekowinston authored and GitHub Action committed 2023-07-25 00:46:23 +00:00
1 parent 2e6fbb10cd
commit 2baba93a9d
33 files changed
+5856 -5396

No files matched your search

+35 -13
View File
@@ -12,7 +12,8 @@
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
==/UserStyle== */
@-moz-document url-prefix("https://news.ycombinator.com") {
@-moz-document url-prefix("https://news.ycombinator.com")
{
@catppuccin: {
@latte: {
@rosewater: #dc8a78;
@@ -41,7 +42,7 @@
@base: #eff1f5;
@mantle: #e6e9ef;
@crust: #dce0e8;
}
};
@frappe: {
@rosewater: #f2d5cf;
@flamingo: #eebebe;
@@ -69,7 +70,7 @@
@base: #303446;
@mantle: #292c3c;
@crust: #232634;
}
};
@macchiato: {
@rosewater: #f4dbd6;
@flamingo: #f0c6c6;
@@ -97,7 +98,7 @@
@base: #24273a;
@mantle: #1e2030;
@crust: #181926;
}
};
@mocha: {
@rosewater: #f5e0dc;
@flamingo: #f2cdcd;
@@ -125,8 +126,8 @@
@base: #1e1e2e;
@mantle: #181825;
@crust: #11111b;
}
}
};
};
#catppuccin(@flavor);
@@ -167,22 +168,29 @@
background-color: @base;
}
/* Background of the FAQ and main page */
body > center > table > tbody > tr > td {
background-color: @base;
color: @text;
}
/* Top bar */
#hnmain > tbody > tr:nth-child(1) > td {
background-color: @peach;
}
/* Hacker News text in top bar */
#hnmain > tbody > tr:nth-child(1) > td > table > tbody > tr > td:nth-child(2) > span > b > a {
#hnmain
> tbody
> tr:nth-child(1)
> td
> table
> tbody
> tr
> td:nth-child(2)
> span
> b
> a {
color: @surface0;
}
@@ -192,7 +200,15 @@
}
/* Separator characters around logged-in user karma */
#hnmain > tbody > tr:nth-child(1) > td > table > tbody > tr > td:nth-child(3) > span {
#hnmain
> tbody
> tr:nth-child(1)
> td
> table
> tbody
> tr
> td:nth-child(3)
> span {
color: @surface1;
}
@@ -267,7 +283,13 @@
}
/* Search bar text field */
#hnmain > tbody > tr:nth-child(4) > td > center:nth-child(6) > form > input[type=text] {
#hnmain
> tbody
> tr:nth-child(4)
> td
> center:nth-child(6)
> form
> input[type="text"] {
background-color: @surface0;
}
@@ -300,4 +322,4 @@
height: 8;
}
}
}
}