ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. html {
  2. font-size: 16px;
  3. font-family: sans-serif, Arial, Helvetica;
  4. background-color: #d4d4d4;
  5. }
  6. .topbar {
  7. padding: 1em;
  8. background-color: #1f1f1f;
  9. color: white;
  10. font-size: x-large;
  11. text-align: center;
  12. }
  13. .control {
  14. padding: 1em;
  15. }
  16. .ueberschrift{
  17. color: #ffffff;
  18. font-size: 50px;
  19. width: 100%;
  20. text-align: center;
  21. }
  22. .regler{
  23. -webkit-appearance: none;
  24. height: 30px;
  25. width: 98%;
  26. border-radius: 20px;
  27. outline: black;
  28. background-color: rgb(176, 188, 228);
  29. }
  30. .regler::-webkit-slider-thumb{
  31. -webkit-appearance: none;
  32. appearance: none;
  33. width: 5%;
  34. height: 20px;
  35. border-radius: 10px;
  36. background-color: rgb(107, 122, 192);
  37. cursor:pointer;
  38. }
  39. input[type=range]::-webkit-slider-thumb{
  40. -webkit-appearance: none;
  41. border:none;
  42. height: 30px;
  43. width: 4%;
  44. border-radius: 30px;
  45. }
  46. .kopfzeile{
  47. color: #1f1f1f;
  48. font-size: 50px;
  49. width: 100%;
  50. background-color: #8d8a8a;
  51. }
  52. p, li {
  53. font-size: 16px;
  54. line-height: 2;
  55. letter-spacing: 1px;
  56. }
  57. body {
  58. margin: 0 auto;
  59. border: none;
  60. border-radius: 3;
  61. background-image: url('Background.png');
  62. background-repeat: no-repeat;
  63. background-size: 100% 100%;
  64. }
  65. /* The switch - the box around the slider */
  66. .switch {
  67. position: relative;
  68. display: inline-block;
  69. width: 60px;
  70. height: 34px;
  71. }
  72. /* Hide default HTML checkbox */
  73. .switch input {
  74. opacity: 0;
  75. width: 0;
  76. height: 0;
  77. }
  78. /* The slider */
  79. .slider {
  80. width: 100%;
  81. }
  82. /*.slider:before {
  83. position: absolute;
  84. content: "";
  85. height: 26px;
  86. width: 26px;
  87. left: 4px;
  88. bottom: 4px;
  89. background-color: white;
  90. -webkit-transition: .4s;
  91. transition: .4s;
  92. }*/
  93. input:checked + .slider {
  94. background-color: #04AA6D;
  95. }
  96. input:focus + .slider {
  97. box-shadow: 0 0 1px #04AA6D;
  98. }
  99. input:checked + .slider:before {
  100. -webkit-transform: translateX(26px);
  101. -ms-transform: translateX(26px);
  102. transform: translateX(26px);
  103. }
  104. /* Rounded sliders */
  105. .slider.round {
  106. border-radius: 34px;
  107. }
  108. .slider.round:before {
  109. border-radius: 50%;
  110. }