code / public /styles.css
fast72's picture
Update public/styles.css
8138a51 verified
raw
history blame contribute delete
726 Bytes
@font-face {
font-family: 'CodeFont';
src: url('/font/code.woff') format('woff');
}
body {
margin: 0;
padding: 10px;
background: #1e1e1e;
color: white;
font-family: Arial, sans-serif;
}
.editor-container {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}
select, button, label {
padding: 8px;
font-size: 16px;
background: #2d2d2d;
color: white;
cursor: pointer;
border: none;
border-radius: 4px;
transition: 0.3s;
}
select:hover, button:hover {
background: #444;
}
.CodeMirror {
height: 500px;
font-size: 16px;
font-family: 'CodeFont', monospace;
border-radius: 4px;
border: 1px solid #555;
}
button {
font-weight: bold;
}
label {
cursor: pointer;
}