|
@@ -87,13 +87,29 @@ body {
|
|
|
--gap: 0.5rem;
|
|
|
}
|
|
|
|
|
|
+.section {
|
|
|
+ padding-block-start: var(--flow-space, 1rem);
|
|
|
+ padding-inline: calc(var(--flow-space, 1rem) / 2);
|
|
|
+}
|
|
|
+
|
|
|
/* Utility */
|
|
|
|
|
|
.emphasis {
|
|
|
- font-size: 1.2rem;
|
|
|
+ font-size: 1.125rem;
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
+.center {
|
|
|
+ text-align: center;
|
|
|
+ margin-inline: auto;
|
|
|
+}
|
|
|
+
|
|
|
+button {
|
|
|
+ border-radius: 100vmax;
|
|
|
+ padding-block: 0.25rem;
|
|
|
+ border: 1px solid var(--highlight);
|
|
|
+}
|
|
|
+
|
|
|
/* Block */
|
|
|
|
|
|
body {
|
|
@@ -101,32 +117,28 @@ body {
|
|
|
background-color: var(--background);
|
|
|
accent-color: var(--highlight);
|
|
|
transition: accent-color 250ms, color 250ms, background-color 250ms;
|
|
|
+
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: 14rem 1fr 8rem;
|
|
|
}
|
|
|
|
|
|
-.sidebar {
|
|
|
- position: fixed;
|
|
|
- width: 14rem;
|
|
|
- height: 100%;
|
|
|
- border-right: 1px solid var(--highlight);
|
|
|
- padding-block-start: var(--flow-space, 1rem);
|
|
|
- padding-inline: calc(var(--flow-space, 1rem) / 2);
|
|
|
+body > * + * {
|
|
|
+ border-inline-start: 1px solid var(--highlight);
|
|
|
}
|
|
|
|
|
|
-main {
|
|
|
- position: relative;
|
|
|
- width: calc(100% - 14rem);
|
|
|
- padding-inline: calc(var(--flow-space, 1rem) / 2);
|
|
|
- float: right;
|
|
|
+#prevColors button {
|
|
|
+ width: 100%;
|
|
|
+ margin-block-end: 0.5ch;
|
|
|
+ background-color: var(--button-bg);
|
|
|
+ transition: background-color 100ms;
|
|
|
}
|
|
|
|
|
|
-#colorSelect label {
|
|
|
- text-align: center;
|
|
|
+#prevColors button:hover {
|
|
|
+ background-color: var(--button-bg-hover);
|
|
|
}
|
|
|
|
|
|
-#colorSelect button {
|
|
|
- border-radius: 100vmax;
|
|
|
- padding-block: 0.25rem;
|
|
|
- border: 1px solid var(--highlight);
|
|
|
+#colorSelect label {
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
#colorSelect input[type="text"] {
|