aboutsummaryrefslogtreecommitdiff
path: root/web/src/layouts/Content.astro
blob: 51ad0b82d14222bde0cf2fd0fc09dcb8e4c862f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
---

<div class="w-3/5 mx-auto px-2 firm-content my-5">
	<slot></slot>
</div>
<style is:global>
	.firm-content {
		min-width: 70%;
		width: 60em;
		max-width: 100%;
		line-height: 1.4;
	}

	.firm-content * {
		margin-bottom: 1em;
	}

	.firm-content pre {
		padding: 0.3em;
	}

	.firm-content h1 {
		font-size: 2em;
		line-height: 1.8;
		font-weight: bold;
	}

	.firm-content h2 {
		font-size: 1.7em;
		line-height: 1.8;
		font-weight: bold;
	}

	.firm-content h3 {
		font-size: 1.4em;
		line-height: 1.3;
		font-weight: bold;
	}

	.firm-content th {
		border-bottom: 1px solid aliceblue;
	}

	.firm-content tr:nth-child(2n) {
		background: #383b3c;
	}

	.firm-content h4 {
		font-size: 1.2em;
		line-height: 1.3;
		font-weight: bold;
	}

	.firm-content a {
		color: rgb(59 130 246);
		transition: 300ms ease-in-out;
	}

	.firm-content a:hover {
		color: rgb(96 165 250);
	}
</style>