Create styles.css
Browse files- public/styles.css +52 -0
public/styles.css
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@font-face {
|
| 2 |
+
font-family: 'CodeFont';
|
| 3 |
+
src: url('/font/code.woff') format('woff');
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
body {
|
| 7 |
+
margin: 0;
|
| 8 |
+
padding: 20px;
|
| 9 |
+
background: #1e1e1e;
|
| 10 |
+
color: white;
|
| 11 |
+
text-align: center;
|
| 12 |
+
font-family: Arial, sans-serif;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.editor-container {
|
| 16 |
+
width: 90%;
|
| 17 |
+
max-width: 900px;
|
| 18 |
+
margin: auto;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
select, button, label {
|
| 22 |
+
margin: 10px;
|
| 23 |
+
padding: 8px;
|
| 24 |
+
font-size: 16px;
|
| 25 |
+
background: #2d2d2d;
|
| 26 |
+
color: white;
|
| 27 |
+
cursor: pointer;
|
| 28 |
+
border: none;
|
| 29 |
+
border-radius: 4px;
|
| 30 |
+
transition: 0.3s ease-in-out;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
select:hover, button:hover {
|
| 34 |
+
background: #444;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.CodeMirror {
|
| 38 |
+
height: 500px;
|
| 39 |
+
font-size: 16px;
|
| 40 |
+
font-family: 'CodeFont', monospace;
|
| 41 |
+
border-radius: 4px;
|
| 42 |
+
border: 1px solid #555;
|
| 43 |
+
transition: all 0.3s ease-in-out;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
button {
|
| 47 |
+
font-weight: bold;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
label {
|
| 51 |
+
cursor: pointer;
|
| 52 |
+
}
|