Spaces:
Running
Running
File size: 1,548 Bytes
b06d6b7 c65a1a8 |
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 |
body {
font-family: sans-serif;
margin: 0;
padding: 20px;
}
h1 {
text-align: center;
color: #333;
}
.playground {
display: flex;
flex-direction: column;
gap: 20px;
max-width: 800px;
margin: 0 auto;
background-color: #f7f7f7;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
.playground {
flex-direction: row;
}
.input-section, .result-section {
flex: 1;
}
}
.input-section, .result-section {
padding: 15px;
background-color: white;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
select, input, button {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
#result {
font-size: 24px;
font-weight: bold;
color: #333;
margin: 20px 0;
padding: 10px;
background-color: #f0f0f0;
border-radius: 4px;
text-align: center;
}
#formula-code {
font-family: monospace;
background-color: #f5f5f5;
padding: 10px;
border-radius: 4px;
overflow-x: auto;
}
.param-container {
margin-bottom: 10px;
}
.param-label {
display: block;
margin-bottom: 5px;
font-weight: bold;
} |