Skip to content

Commit b9d72f1

Browse files
committed
move css to global
1 parent 9e2add5 commit b9d72f1

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

assets/website/src/app.scss

+22
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,26 @@
4242

4343
body, h1, h2, h3, h4, h5, h6 {
4444
font-family: "Roboto Mono", monospace;
45+
}
46+
47+
48+
49+
50+
.highlight {
51+
background-color: #e7f3fe;
52+
padding: 0.2em 0.5em;
53+
border-radius: 0.2em;
54+
}
55+
.image-container {
56+
text-align: center;
57+
margin: 1em 0;
58+
}
59+
60+
summary {
61+
font-weight: bold;
62+
margin-left: -1.1rem;
63+
}
64+
65+
details {
66+
padding: 0.5em 1.5em;
4567
}

assets/website/src/routes/+page.svelte

+2-19
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,6 @@
55
</script>
66

77
<style>
8-
.highlight {
9-
background-color: #e7f3fe;
10-
padding: 0.2em 0.5em;
11-
border-radius: 0.2em;
12-
}
13-
.image-container {
14-
text-align: center;
15-
margin: 1em 0;
16-
}
17-
18-
summary {
19-
font-weight: bold;
20-
margin-left: -1.1rem;
21-
}
22-
23-
details {
24-
padding: 0.5em 1.5em;
25-
}
268
</style>
279

2810
<article>
@@ -85,7 +67,8 @@
8567
{@html m.sunny_novel_tuna_cut()}
8668
</details>
8769
<details>
88-
{@html m.tough_spare_myna_approve()}
70+
{@html
71+
m.tough_spare_myna_approve()}
8972
</details>
9073
</section>
9174
</article>

0 commit comments

Comments
 (0)