-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyles.css
108 lines (93 loc) · 1.67 KB
/
styles.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
background-color: #1e1e1e;
color: #fff;
}
.container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto 1fr;
gap: 10px;
padding: 20px;
height: 100vh;
}
.header {
grid-column: 1 / -1;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #2d2d2d;
border-radius: 5px;
}
.header-controls {
display: flex;
align-items: center;
gap: 15px;
}
.editor-container {
display: flex;
flex-direction: column;
gap: 10px;
}
.editor-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 10px;
background-color: #2d2d2d;
border-radius: 5px 5px 0 0;
}
.editor {
flex-grow: 1;
border: 1px solid #3d3d3d;
border-radius: 0 0 5px 5px;
overflow: hidden;
}
.CodeMirror {
height: 100%;
background-color: #1e1e1e;
color: #fff;
}
.preview {
background-color: #fff;
border-radius: 5px;
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
border: none;
background-color: #fff;
}
button {
padding: 5px 15px;
background-color: #007acc;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #005999;
}
.language {
color: #007acc;
font-weight: bold;
}
.auto-run-label {
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
user-select: none;
}
.auto-run-label input {
cursor: pointer;
}