-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (70 loc) · 1.11 KB
/
style.css
File metadata and controls
81 lines (70 loc) · 1.11 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
html,
body {
height: 100%;
margin: 0;
}
.editor-container {
display: flex;
position: relative;
flex-direction: column;
height: 100%;
}
@media (min-width: 768px) {
.editor-container {
flex-direction: row;
}
}
#input,
#output {
width: 100%;
height: 50%;
}
@media (min-width: 768px) {
#input,
#output {
width: 50%;
height: 100%;
}
}
#input {
border: none;
outline: none;
resize: none;
padding: 1rem;
}
#input:focus {
outline: none;
box-shadow: none;
}
#output {
padding: 1rem;
overflow: auto;
}
@media (max-width: 767.98px) {
#output {
border-top: 1px solid #ccc;
}
}
@media (min-width: 768px) {
#output {
border-left: 1px solid #ccc;
}
}
#themeToggle {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
z-index: 1000;
}
#counter {
position: absolute;
bottom: 10px;
right: 10px;
background-color: rgba(0, 0, 0, 0.2);
color: white;
padding: 0.25 rem 0.5 rem;
font-size: 0.9rem;
border-radius: 0.25rem;
z-index: 1000;
}