A rewrite of the Raspberry Pi Garage Door Opener using Flask
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.

100 lines
1.3 KiB

  1. * {box-sizing: border-box;}
  2. body {
  3. margin: 0;
  4. }
  5. .header {
  6. overflow: hidden;
  7. background-color: #f1f1f1;
  8. padding: 20px 10px;
  9. }
  10. a {
  11. float: left;
  12. color: black;
  13. text-align: center;
  14. padding: 12px;
  15. text-decoration: none;
  16. font-size: 18px;
  17. line-height: 25px;
  18. border-radius: 4px;
  19. }
  20. a.none {
  21. float: none;
  22. color: dodgerblue;
  23. text-align: inherit;
  24. padding: 0px;
  25. text-decoration: none;
  26. font-size: 16px;
  27. line-height: 24px;
  28. border-radius: 0px;
  29. }
  30. a.overridefloat {
  31. float: none;
  32. color: black;
  33. text-align: center;
  34. padding: 12px;
  35. text-decoration: none;
  36. font-size: 18px;
  37. line-height: 25px;
  38. border-radius: 4px;
  39. }
  40. a.text {
  41. font-size: 25px;
  42. font-weight: bold;
  43. }
  44. a:hover {
  45. background-color: #ddd;
  46. color: black;
  47. }
  48. a.active {
  49. background-color: dodgerblue;
  50. color: white;
  51. }
  52. .header-right {
  53. float: right;
  54. }
  55. @media screen and (max-width: 500px) {
  56. .header a {
  57. float: none;
  58. display: block;
  59. text-align: left;
  60. }
  61. .header-right {
  62. float: none;
  63. }
  64. }
  65. .column {
  66. float: left;
  67. width: 50%;
  68. padding: 10px;
  69. height: calc(100vh - 149px)
  70. }
  71. .row:after {
  72. content: "";
  73. display: table;
  74. clear: both;
  75. }
  76. .row {
  77. margin-left: 0px;
  78. margin-right: 0px;
  79. }
  80. @media screen and (max-width: 600px) {
  81. .column {
  82. width: 100%;
  83. height: calc((100vh - 198px)*0.5)
  84. }
  85. }