aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 15:50:17 -0800
committerFuwn <[email protected]>2026-03-01 15:50:45 -0800
commit87693d8b99fcbe9a0d64af51f1c786dc62dffd4a (patch)
tree65ae6f17ce98af76de782ba7fb5ff3466861a618 /src
parentchore(biome): enable formatting for sample media json (diff)
downloaddue.moe-87693d8b99fcbe9a0d64af51f1c786dc62dffd4a.tar.xz
due.moe-87693d8b99fcbe9a0d64af51f1c786dc62dffd4a.zip
chore(biome): enable css formatting
Diffstat (limited to 'src')
-rw-r--r--src/app.css18
-rw-r--r--src/lib/List/covers.css2
-rw-r--r--src/lib/Tools/Wrapped/wrapped.css4
-rw-r--r--src/styles/card.css2
-rw-r--r--src/styles/input.css28
-rw-r--r--src/styles/normalise.css2
-rw-r--r--src/styles/typography.css14
7 files changed, 30 insertions, 40 deletions
diff --git a/src/app.css b/src/app.css
index dd6d3f49..46f6b621 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,9 +1,9 @@
-@import './styles/card.css';
-@import './styles/typography.css';
-@import './styles/input.css';
-@import './styles/normalise.css';
-@import './styles/badge.css';
-@import './styles/colours.css';
-@import './styles/features.css';
-@import './styles/scroll.css';
-@import './styles/popup.scss';
+@import "./styles/card.css";
+@import "./styles/typography.css";
+@import "./styles/input.css";
+@import "./styles/normalise.css";
+@import "./styles/badge.css";
+@import "./styles/colours.css";
+@import "./styles/features.css";
+@import "./styles/scroll.css";
+@import "./styles/popup.scss";
diff --git a/src/lib/List/covers.css b/src/lib/List/covers.css
index 0993a5c8..f2bf45ca 100644
--- a/src/lib/List/covers.css
+++ b/src/lib/List/covers.css
@@ -41,7 +41,7 @@
}
.entry::after {
- content: '';
+ content: "";
display: table;
clear: both;
}
diff --git a/src/lib/Tools/Wrapped/wrapped.css b/src/lib/Tools/Wrapped/wrapped.css
index c73d34c3..72ea09fc 100644
--- a/src/lib/Tools/Wrapped/wrapped.css
+++ b/src/lib/Tools/Wrapped/wrapped.css
@@ -1,5 +1,5 @@
-@import url('https://proxy.due.moe/?q=https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
-@import url('https://proxy.due.moe/?q=https://fonts.googleapis.com/css?family=Overpass:400,600,700,800');
+@import url("https://proxy.due.moe/?q=https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");
+@import url("https://proxy.due.moe/?q=https://fonts.googleapis.com/css?family=Overpass:400,600,700,800");
.categories-grid {
display: flex;
diff --git a/src/styles/card.css b/src/styles/card.css
index aca9e4e4..3a0cd609 100644
--- a/src/styles/card.css
+++ b/src/styles/card.css
@@ -1,4 +1,4 @@
-@import './details.scss';
+@import "./details.scss";
details,
.card {
diff --git a/src/styles/input.css b/src/styles/input.css
index b8ae7574..a66eb009 100644
--- a/src/styles/input.css
+++ b/src/styles/input.css
@@ -35,26 +35,26 @@ button {
/* color: var(--base05); */
}
- input[type='number']::-webkit-inner-spin-button,
- input[type='number']::-webkit-outer-spin-button {
+ input[type="number"]::-webkit-inner-spin-button,
+ input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
- input[type='number'] {
+ input[type="number"] {
appearance: textfield;
}
- input[type='file'] {
+ input[type="file"] {
color: var(--base02);
}
}
-input[type='text'],
-input[type='number'],
-input[type='date'],
-input[type='time'],
-input[type='file'],
+input[type="text"],
+input[type="number"],
+input[type="date"],
+input[type="time"],
+input[type="file"],
button {
padding: 0.25em 0.5em;
}
@@ -69,7 +69,7 @@ select {
padding: 0.25em 0.5em;
}
-input[type='checkbox'] {
+input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
margin: 0;
@@ -80,23 +80,23 @@ input[type='checkbox'] {
transform 0.15s ease-in-out;
}
-input[type='checkbox']:checked {
+input[type="checkbox"]:checked {
background-color: var(--base0C);
}
-input[type='checkbox']:checked:before {
+input[type="checkbox"]:checked:before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
-input[type='checkbox']:active {
+input[type="checkbox"]:active {
transform: scale(1);
transition: transform 0.15s ease-in-out;
}
-input[type='checkbox']:hover {
+input[type="checkbox"]:hover {
background-color: var(--base0A);
}
diff --git a/src/styles/normalise.css b/src/styles/normalise.css
index f077c7e3..0eca8660 100644
--- a/src/styles/normalise.css
+++ b/src/styles/normalise.css
@@ -28,5 +28,5 @@ h3:before,
h4:before,
h5:before,
h6:before {
- content: '' !important;
+ content: "" !important;
}
diff --git a/src/styles/typography.css b/src/styles/typography.css
index e063695e..4c3c3052 100644
--- a/src/styles/typography.css
+++ b/src/styles/typography.css
@@ -3,18 +3,8 @@
body {
font-family:
- 'DM Sans',
- system-ui,
- -apple-system,
- BlinkMacSystemFont,
- 'Segoe UI',
- Roboto,
- Oxygen,
- Ubuntu,
- Cantarell,
- 'Open Sans',
- 'Helvetica Neue',
- sans-serif;
+ "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
+ Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1em;
line-height: 1.5;
/* font-weight: 300; */