]> git.r.bdr.sh - rbdr/lissajous/blobdiff - style.css
Add a few comments
[rbdr/lissajous] / style.css
index 6871f4c9a7c6aaf0b3bcba70c8d69731e785ba08..2cda519ee74dbf857411684ed42cace5470ecc13 100644 (file)
--- a/style.css
+++ b/style.css
@@ -122,6 +122,11 @@ input[type="range"]:focus::-webkit-slider-thumb {
   display: inline-block;
 }
 
+.slider::before {
+  position: relative;
+  left: 16px;
+}
+
 .slider {
   margin: 4px 0;
   position: relative;
@@ -129,11 +134,10 @@ input[type="range"]:focus::-webkit-slider-thumb {
 
 label {
   display: inline-block;
+  width: 16px;
   position: relative;
-  width: 0;
-  height: 16px;
-  right: 32px;
-  top: -5px;
+  left: -16px;
+  top: -2px;
 }
 
 .slider.lineLength::before {
@@ -191,3 +195,11 @@ label {
 .slider.amplitude::after {
   mask-image: url('/images/ha.svg');
 }
+
+.slider.phase::before {
+  mask-image: url('/images/unphased.svg');
+}
+
+.slider.phase::after {
+  mask-image: url('/images/phased.svg');
+}