Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +56 -31
static/style.css
CHANGED
|
@@ -1,47 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
margin: 0;
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
color: #fff;
|
| 6 |
}
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
padding: 16px;
|
| 12 |
}
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
padding: 10px;
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
background: #6c63ff;
|
| 34 |
-
color: #fff;
|
| 35 |
border: none;
|
| 36 |
-
|
| 37 |
-
font-size:
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
-
|
| 41 |
-
margin-top: 20px;
|
| 42 |
-
background: #111;
|
| 43 |
padding: 12px;
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
| 47 |
}
|
|
|
|
| 1 |
+
* {
|
| 2 |
+
box-sizing: border-box;
|
| 3 |
+
font-family: system-ui, sans-serif;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
body {
|
| 7 |
margin: 0;
|
| 8 |
+
background: #0f172a;
|
| 9 |
+
color: #e5e7eb;
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
+
.app {
|
| 13 |
+
display: flex;
|
| 14 |
+
height: 100vh;
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
+
/* Sidebar */
|
| 18 |
+
.sidebar {
|
| 19 |
+
width: 35%;
|
| 20 |
+
max-width: 260px;
|
| 21 |
+
background: #020617;
|
| 22 |
+
overflow-y: auto;
|
| 23 |
+
border-right: 1px solid #1e293b;
|
| 24 |
}
|
| 25 |
|
| 26 |
+
.sidebar-header {
|
| 27 |
+
padding: 12px;
|
| 28 |
+
font-weight: bold;
|
| 29 |
+
border-bottom: 1px solid #1e293b;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.file, .folder {
|
| 33 |
+
padding: 10px 14px;
|
| 34 |
+
cursor: pointer;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.file:hover, .folder:hover {
|
| 38 |
+
background: #1e293b;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
/* Editor */
|
| 42 |
+
.editor {
|
| 43 |
+
flex: 1;
|
| 44 |
+
display: flex;
|
| 45 |
+
flex-direction: column;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.editor-header {
|
| 49 |
padding: 10px;
|
| 50 |
+
background: #020617;
|
| 51 |
+
border-bottom: 1px solid #1e293b;
|
| 52 |
+
font-size: 14px;
|
| 53 |
}
|
| 54 |
|
| 55 |
+
textarea {
|
| 56 |
+
flex: 1;
|
| 57 |
+
background: #020617;
|
| 58 |
+
color: #e5e7eb;
|
|
|
|
|
|
|
| 59 |
border: none;
|
| 60 |
+
padding: 12px;
|
| 61 |
+
font-size: 14px;
|
| 62 |
+
resize: none;
|
| 63 |
+
outline: none;
|
| 64 |
}
|
| 65 |
|
| 66 |
+
button {
|
|
|
|
|
|
|
| 67 |
padding: 12px;
|
| 68 |
+
background: #2563eb;
|
| 69 |
+
color: white;
|
| 70 |
+
border: none;
|
| 71 |
+
font-size: 15px;
|
| 72 |
}
|