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.

89 lines
1.1 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.text {
  31. font-size: 25px;
  32. font-weight: bold;
  33. }
  34. a:hover {
  35. background-color: #ddd;
  36. color: black;
  37. }
  38. a.active {
  39. background-color: dodgerblue;
  40. color: white;
  41. }
  42. .header-right {
  43. float: right;
  44. }
  45. @media screen and (max-width: 500px) {
  46. .header a {
  47. float: none;
  48. display: block;
  49. text-align: left;
  50. }
  51. .header-right {
  52. float: none;
  53. }
  54. }
  55. .column {
  56. float: left;
  57. width: 50%;
  58. padding: 10px;
  59. height: calc(100vh - 149px)
  60. }
  61. .row:after {
  62. content: "";
  63. display: table;
  64. clear: both;
  65. }
  66. .row {
  67. margin-left: 0px;
  68. margin-right: 0px;
  69. }
  70. @media screen and (max-width: 600px) {
  71. .column {
  72. width: 100%;
  73. height: calc((100vh - 198px)*0.5)
  74. }
  75. }