diff --git a/_site/index.html b/_site/index.html index d9caebb..21a0561 100644 --- a/_site/index.html +++ b/_site/index.html @@ -11,21 +11,115 @@ .main { width: fit-content; margin: auto; + + } + + .dark-mode { + background-color: rgb(19, 20, 46); + color: white; + } + + .light-mode { + background-color: white; + color: rgb(19, 20, 46); } + + .switch { + position: relative; + display: inline-block; + width: 30px; + height: 15px; +} + +.switch input { + opacity: 0; + width: 0; + height: 0; +} + +.slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + -webkit-transition: .4s; + transition: .4s; +} + +.slider:before { + position: absolute; + content: ""; + height: 13px; + width: 13px; + left: 1px; + bottom: 1px; + background-color: white; + -webkit-transition: .4s; + transition: .4s; +} + +input:checked + .slider { + background-color: #2196F3; +} + +input:focus + .slider { + box-shadow: 0 0 1px #2196F3; +} + +input:checked + .slider:before { + -webkit-transform: translateX(15px); + -ms-transform: translateX(15px); + transform: translateX(15px); +} + +/* Rounded sliders */ +.slider.round { + border-radius: 15px; +} + +.slider.round:before { + border-radius: 50%; +} -
+ + + + +

CYD 3.5" Klipper

An implementation of a Klipper status display on an ESP32 + screen.
Uses Moonraker to fetch data.

- GitHub repo + GitHub repo

Install

Note: You may need to hold the 'BOOT' button on the device while pressing install

- +
+

+ + +