aboutsummaryrefslogtreecommitdiff
path: root/src/styles
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/styles
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/styles')
-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
4 files changed, 18 insertions, 28 deletions
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; */