-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
181 lines (165 loc) · 3.67 KB
/
Copy pathstyle.css
File metadata and controls
181 lines (165 loc) · 3.67 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* General body styling */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #222;
transition: background-color 0.3s ease;
overflow: hidden;
}
/* Main container */
.container {
width: 90%;
max-width: 1200px;
padding: 20px;
background-color: #333;
border-radius: 10px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
}
/* Title */
header {
display: flex;
justify-content: center;
width: 100%;
margin-bottom: 20px;
}
h1 {
font-family: 'Source Code Pro', monospace;
font-size: 2.5em;
color: #fff;
margin: 0;
}
/* Editors container: Align editors side by side */
.editors {
display: flex;
gap: 20px;
justify-content: center;
width: 100%;
margin-bottom: 20px;
}
/* Editor container styling */
.editor {
width: 30%;
border-radius: 5px;
display: flex;
flex-direction: column;
background-color: #444;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
padding: 10px;
}
/* Editor header */
.editor-header {
background-color: #28a745;
color: white;
padding: 10px;
font-size: 1.1em;
text-align: center;
border-radius: 5px 5px 0 0;
margin-bottom: 5px;
}
/* Textarea styling (for code) */
textarea {
width: 100%;
height: 300px;
font-family: 'Courier New', monospace;
font-size: 1.1em;
padding: 10px;
border: 1px solid #555;
border-radius: 5px;
resize: none;
background-color: #333;
color: #fff;
box-sizing: border-box;
}
/* Run Window Container */
.run-container {
width: 100%;
height: 500px;
margin-top: 20px;
border: 1px solid #555;
border-radius: 5px;
display: flex;
flex-direction: column;
background-color: #444;
padding: 10px;
z-index: 1; /* Ensure it stays above the grid overlay */
}
/* Run Window Styles */
.run-header {
background-color: #28a745;
color: white;
padding: 10px;
font-size: 1.2em;
text-align: center;
border-radius: 5px;
}
.run-window {
flex-grow: 1;
padding: 10px;
background-color: #333;
border-top: 1px solid #555;
overflow-y: auto;
box-sizing: border-box;
z-index: 1; /* Ensure it stays above the grid overlay */
}
/* Scale overlay - grid for visibility check */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2); /* Light background to not cover content */
pointer-events: none; /* Allow interaction with the page elements */
z-index: 0; /* Make sure overlay stays behind all content */
}
/* Horizontal and Vertical Lines */
body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
90deg,
rgba(255, 255, 255, 0.5) 0,
rgba(255, 255, 255, 0.5) 1px,
transparent 1px,
transparent 100%
),
repeating-linear-gradient(
180deg,
rgba(255, 255, 255, 0.5) 0,
rgba(255, 255, 255, 0.5) 1px,
transparent 1px,
transparent 100%
);
pointer-events: none; /* Allow interaction with the page elements */
z-index: 0; /* Make sure overlay stays behind all content */
}
/* Dark Mode - Now Only One Mode, So This Is Default */
body {
background-color: #222;
}
body h1 {
color: white;
}
/* Title in Dark Mode */
body h1 {
color: white;
}
/* Improved Responsiveness */
.container {
max-width: 1500px;
padding-bottom: 50px;
}