summaryrefslogtreecommitdiff
path: root/chapter-7/propagators.css
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-07-05 10:38:45 -0400
committerDavid Thompson <dthompson2@worcester.edu>2024-07-05 10:39:06 -0400
commitb33079617253f844db5d7352280504b8f1851483 (patch)
tree1772458c0bba9938ef7db823620fdca550dbceae /chapter-7/propagators.css
parent6c4ccbcc4b32fba80280cfbea253152acdbefec2 (diff)
Add propagator experiment.
Diffstat (limited to 'chapter-7/propagators.css')
-rw-r--r--chapter-7/propagators.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/chapter-7/propagators.css b/chapter-7/propagators.css
new file mode 100644
index 0000000..1b803e2
--- /dev/null
+++ b/chapter-7/propagators.css
@@ -0,0 +1,38 @@
+body {
+ font-family: sans;
+ background-color: #fbfbfb;
+ margin: auto;
+ max-width: 20em;
+}
+
+h1 {
+ text-align: center;
+}
+
+.preview {
+ width: 50%;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.hex {
+ text-align: center;
+ margin-top: 0.5em;
+}
+
+fieldset {
+ margin-bottom: 1em;
+ margin-top: 1em;
+}
+
+.color-block {
+ width: 100%;
+ aspect-ratio: 1;
+ border: 1px black solid;
+}
+
+.slider {
+ display: grid;
+ grid-template-columns: 35% max-content;
+ grip-gap: 1em;
+}