-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (71 loc) · 1.39 KB
/
style.css
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
82
83
84
body {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
height: 100vh;
background-color: #191c20;
color: #abb2bf;
font-family: 'Courier New', Courier, monospace;
}
.editor-container {
display: flex;
flex-grow: 1;
}
#editor {
width: 50vw;
height: 100%;
border: 2px solid #61afef;
border-radius: 5px;
font-size: 1.2rem; /* Set the font size explicitly */
}
button {
padding: 12px;
cursor: pointer;
background-color: #61afef;
color: #ffffff;
border: none;
border-radius: 5px;
margin: 10px;
transition: background-color 0.3s;
}
button:hover {
background-color: #0073ff;
color: white;
}
.output-container {
flex-grow: 1;
padding: 10px;
}
pre {
background-color: #2f3133;
padding: 15px;
border-radius: 5px;
white-space: pre-wrap;
overflow-wrap: break-word;
}
@media screen and (max-width: 1200px) {
#editor {
width: 300%;
}
button {
width: 50%;
}
}
@media screen and (max-width: 768px) {
#editor {
width: 300%;
}
button {
width: 50%;
}
}
@media screen and (max-width: 450px) {
#editor {
width: 300%;
font-size: 1rem; /* Adjust font size for smaller screens */
}
button {
width: 50%;
}
}