aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-04 20:01:59 -0800
committerFuwn <[email protected]>2024-01-04 20:01:59 -0800
commitc22bb16c915e5f09d2e4ce039017a14826675913 (patch)
tree515019a43a3ff3c9c2f0903bfc0208cbf76c13c2 /src
parentfeat(css): default marker (diff)
downloaddue.moe-c22bb16c915e5f09d2e4ce039017a14826675913.tar.xz
due.moe-c22bb16c915e5f09d2e4ce039017a14826675913.zip
feat(css): new font
Diffstat (limited to 'src')
-rw-r--r--src/app.css11
-rw-r--r--src/routes/+layout.svelte14
2 files changed, 11 insertions, 14 deletions
diff --git a/src/app.css b/src/app.css
index 6834a7be..ce29948a 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,9 +1,20 @@
+/* Kosugi, M PLUS 1 Code */
+@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;550;700;800&display=swap');
+
+body {
+ font-family: 'Lato', sans-serif;
+}
+
details {
background-color: var(--base001);
padding: 1rem;
border-radius: 4px;
}
+summary {
+ font-weight: 550;
+}
+
ul,
ol {
margin: 0;
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 738c81f7..78dc121f 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -28,9 +28,6 @@
currentUserIdentity = JSON.parse($userIdentity);
currentUserIdentity.name = currentUserIdentity.name;
-
- // document.getElementsByTagName('html')[0].classList.add('limit-height');
- // document.getElementsByTagName('body')[0].classList.add('limit-height');
}
});
</script>
@@ -73,13 +70,6 @@
</div>
<style>
- /* Kosugi, M PLUS 1 Code */
- @import url('https://fonts.googleapis.com/css2?family=Kosugi:wght@300;400;500;700;800&display=swap');
-
- :global(body) {
- font-family: 'Kosugi', monospace;
- }
-
:global(html.light-theme) {
filter: invert(0);
}
@@ -88,10 +78,6 @@
filter: invert(0);
}
- :global(.limit-height) {
- height: 100%;
- }
-
#container {
height: 100%;
display: flex;