aboutsummaryrefslogtreecommitdiff
path: root/src/app.css
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-04 06:51:02 -0800
committerFuwn <[email protected]>2024-01-04 06:51:02 -0800
commite25e9f2e65bb815b292c9ca9a0f24bdfe1845e5b (patch)
tree1cfac84e0750480299960a70e1c1c679c536e4be /src/app.css
parentfix(hovercover): image height overflow (diff)
downloaddue.moe-e25e9f2e65bb815b292c9ca9a0f24bdfe1845e5b.tar.xz
due.moe-e25e9f2e65bb815b292c9ca9a0f24bdfe1845e5b.zip
feat: cool styles
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
new file mode 100644
index 00000000..f6b051d7
--- /dev/null
+++ b/src/app.css
@@ -0,0 +1,47 @@
+details {
+ background-color: var(--base001);
+ padding: 1rem;
+ border-radius: 4px;
+}
+
+ul {
+ margin: 0;
+}
+
+input,
+select {
+ cursor: pointer;
+ position: relative;
+ background-color: #fff;
+ /* margin: 0; */
+ /* width: 1.15em;
+ height: 1.15em; */
+ padding: 0.25em;
+ border: none;
+ border-radius: 4px;
+ transform: translateY(0.175em);
+ place-content: center;
+}
+
+select {
+ transform: translateY(0em);
+ margin-top: 0.25em;
+ margin-bottom: 0.25em;
+}
+
+input[type='checkbox'] {
+ -webkit-appearance: none;
+ appearance: none;
+ margin: 0;
+ width: 1.15em;
+ height: 1.15em;
+}
+
+input[type='checkbox']:checked:before {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ content: '†';
+ color: black;
+}