aboutsummaryrefslogtreecommitdiffstats
path: root/index.css
blob: 3ec2051fdc382a72636b17de1c9ec7fac34601f3 (plain) (blame)
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
*{
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

menu > li {
	display: inline;
	list-style: none;
	margin: 0.5rem;
}

@media screen{
	html {
		color-scheme: light dark;
		height: 90vh;
	}

	body {
		display: grid;
		grid-template-areas:
		"head head"
		"main  output";
		grid-template-rows: fit-content(1rem) auto;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
		height: 100%;
	}

	header {
		grid-area: head;
		background: rgb(117, 117, 117);
		color-scheme: light;
		color: white;
	}

	pre {
		border: 1px solid;
		height: 100%;
		padding: 1rem;
		overflow: scroll;
	}

	#editor {
		grid-area: main;
	}

	#output {
		grid-area: output;
	}
}