summaryrefslogtreecommitdiff
path: root/html/toys/euler-golf/css
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-07-05 12:42:44 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-07-05 12:42:44 -0700
commit94b912b649150b9863a62096ba4740b2cc8ad21a (patch)
tree1882236fc980fa5946d3089a2f2e4670f3a70580 /html/toys/euler-golf/css
parentab0ddcaeb1fc37351d14b89100e07d3a343ba9e1 (diff)
downloadlizdotcoffee-94b912b649150b9863a62096ba4740b2cc8ad21a.tar.gz
lizdotcoffee-94b912b649150b9863a62096ba4740b2cc8ad21a.zip
Factor
Diffstat (limited to 'html/toys/euler-golf/css')
-rw-r--r--html/toys/euler-golf/css/styles.css81
1 files changed, 81 insertions, 0 deletions
diff --git a/html/toys/euler-golf/css/styles.css b/html/toys/euler-golf/css/styles.css
new file mode 100644
index 0000000..219012d
--- /dev/null
+++ b/html/toys/euler-golf/css/styles.css
@@ -0,0 +1,81 @@
+body {
+ margin: 0;
+ padding: 0;
+ overflow: scroll;
+ font-family: Lucida Console, Lucida Sans Typewriter, monaco,
+ Bitstream Vera Sans Mono, monospace;
+ width: 100vw;
+ height: 100vh;
+ background: rgb(238, 174, 202);
+ background: radial-gradient(
+ circle,
+ rgba(238, 174, 202, 1) 0%,
+ rgba(148, 187, 233, 1) 100%
+ );
+}
+
+.canvas {
+ padding: 0;
+ margin: auto;
+ display: block;
+ border: 1px solid black;
+
+ width: 100vw;
+ height: 100vw;
+}
+
+button {
+ border-radius: 5px;
+ padding: 5px;
+ cursor: pointer;
+ margin-left: 5px;
+}
+
+.controls {
+ cursor: pointer;
+ padding: 12px;
+ position: fixed;
+ bottom: 0;
+ right: 0;
+ background-color: rgba(255, 255, 255, 0.8);
+ border: 1px solid white;
+ border-radius: 8px;
+ margin-right: 6px;
+ margin-bottom: 6px;
+}
+
+.buttons {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+}
+
+.modal {
+ display: flex;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+
+ width: 80vw;
+ max-width: 500px;
+ min-height: 200px;
+
+ padding: 12px;
+
+ background-color: rgba(255, 255, 255, 0.8);
+ border: 1px solid black;
+ border-radius: 15px;
+}
+
+.modal-body {
+ display: flex;
+ justify-content: center;
+}
+
+.slider {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 3px;
+}