X-Git-Url: https://git.r.bdr.sh/rbdr/lissajous/blobdiff_plain/5f6ef99eae91f53239f08143cead1249893fef81..362f91160b243453578633e3f9af67ce40179d8c:/style.css?ds=sidebyside diff --git a/style.css b/style.css index c389fd8..d961e98 100644 --- a/style.css +++ b/style.css @@ -3,6 +3,152 @@ margin: 0; } -canvas, body { +body { + color: #80FFCC; background-color: #0F261F; + font-family: 'IBM 3270 Narrow', 'IBM 3270', 'Andale Mono', Courier, monospace; + font-size: 12px; + overflow: hidden; +} + +#settings { + position: absolute; + top: 5px; + right: 5px; +} + +h1, h2, h3 { + font-weight: normal; +} + +h1 { + font-size: 18px; +} + +h2 { + font-size: 16px; +} + +h3 { + font-size: 14px; +} + +input[type="range"] { + -webkit-appearance: none; + background-color: transparent; + height: 16px; + display: inline-block; + margin: 0 4px; + width: 128px; +} + +input[type="range"]:focus { + outline: none; +} + +input[type="range"]::-webkit-slider-runnable-track { + background: #fff; + height: 2px; +} + +input[type="range"]::-moz-range-track { + background: #fff; + height: 2px; +} + +input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; + height: 16px; + width: 16px; + background-color: #80FFCC; + margin-top: -8px; + border-radius: 50%; +} + +input[type="range"]::-moz-range-thumb { + height: 16px; + width: 16px; + background-color: #80FFCC; + margin-top: -8px; + border-radius: 50%; +} + + +.slider::before, +.slider::after { + content: ''; + background-color: #80FFCC; + height: 16px; + width: 16px; + display: inline-block; +} + +.slider { + margin: 4px 0; + position: relative; +} + +label { + display: inline-block; + position: relative; + width: 0; + height: 16px; + right: 32px; + top: -5px; +} + +.slider.lineLength::before { + mask-image: url('/images/short.svg'); +} + +.slider.lineLength::after { + mask-image: url('/images/long.svg'); +} + +.slider.radius::before { + mask-image: url('/images/near.svg'); +} + +.slider.radius::after { + mask-image: url('/images/far.svg'); +} + +.slider.rotation-x::before { + mask-image: url('/images/no-pitch.svg'); +} + +.slider.rotation-x::after { + mask-image: url('/images/fast-pitch.svg'); +} + +.slider.rotation-y::before { + mask-image: url('/images/no-yaw.svg'); +} + +.slider.rotation-y::after { + mask-image: url('/images/fast-yaw.svg'); +} + +.slider.rotation-z::before { + mask-image: url('/images/no-roll.svg'); +} + +.slider.rotation-z::after { + mask-image: url('/images/fast-roll.svg'); +} + +.slider.frequency::before { + mask-image: url('/images/lf.svg'); +} + +.slider.frequency::after { + mask-image: url('/images/hf.svg'); +} + +.slider.amplitude::before { + mask-image: url('/images/la.svg'); +} + +.slider.amplitude::after { + mask-image: url('/images/ha.svg'); }