File size: 3,095 Bytes
8bdd018 | 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 182 183 184 185 186 187 188 189 190 | @import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap");
:root {
--bg: #f4f1e8;
--bg-2: #e6f2ef;
--ink: #1f2a22;
--muted: #4b5a50;
--brand: #0a8f6a;
--brand-deep: #0c5b49;
--warn: #ad1f1f;
--card: rgba(255, 255, 255, 0.78);
--line: rgba(31, 42, 34, 0.2);
--shadow: 0 20px 60px rgba(6, 48, 38, 0.16);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--ink);
font-family: "Space Grotesk", system-ui, sans-serif;
background:
radial-gradient(circle at 15% 10%, rgba(10, 143, 106, 0.16), transparent 45%),
radial-gradient(circle at 85% 0%, rgba(255, 138, 61, 0.14), transparent 35%),
linear-gradient(140deg, var(--bg), var(--bg-2));
min-height: 100vh;
}
.page {
max-width: 1200px;
margin: 0 auto;
padding: 28px 18px 36px;
}
.hero {
margin-bottom: 18px;
animation: rise 0.55s ease;
}
.hero h1 {
margin: 0;
font-size: clamp(1.6rem, 3vw, 2.4rem);
letter-spacing: -0.02em;
}
.hero p {
margin: 6px 0 0;
color: var(--muted);
}
.grid {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: 16px;
align-items: start;
}
.card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 14px;
padding: 14px;
backdrop-filter: blur(8px);
box-shadow: var(--shadow);
animation: rise 0.6s ease;
}
.card h2,
.card h3 {
margin: 0 0 12px;
}
.row {
display: grid;
gap: 6px;
margin-bottom: 10px;
}
.row label {
font-size: 0.84rem;
font-weight: 600;
color: var(--muted);
}
.row.inline {
display: flex;
align-items: center;
gap: 8px;
}
input,
select,
textarea,
button {
width: 100%;
font: inherit;
}
input,
select,
textarea {
border: 1px solid var(--line);
border-radius: 10px;
padding: 9px 10px;
background: rgba(255, 255, 255, 0.94);
color: var(--ink);
}
textarea {
resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
outline: 2px solid rgba(10, 143, 106, 0.28);
border-color: rgba(10, 143, 106, 0.7);
}
.row.inline input[type="checkbox"] {
width: auto;
}
.run {
margin-top: 4px;
border: 0;
border-radius: 10px;
padding: 11px 12px;
font-weight: 700;
color: #fff;
cursor: pointer;
background: linear-gradient(120deg, var(--brand), var(--brand-deep));
}
.run:disabled {
opacity: 0.68;
cursor: not-allowed;
}
pre,
.mono {
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
pre {
white-space: pre-wrap;
word-break: break-word;
max-height: 320px;
overflow: auto;
background: rgba(20, 35, 29, 0.92);
color: #f4fffa;
padding: 10px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.error {
margin: 10px 0;
color: var(--warn);
font-weight: 600;
}
.mono {
font-size: 0.9rem;
overflow-wrap: anywhere;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 980px) {
.grid {
grid-template-columns: 1fr;
}
.card {
padding: 12px;
}
}
|