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.

77 lines
974 B

  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. .header 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. .header a.text {
  21. font-size: 25px;
  22. font-weight: bold;
  23. }
  24. .header a:hover {
  25. background-color: #ddd;
  26. color: black;
  27. }
  28. .header a.active {
  29. background-color: dodgerblue;
  30. color: white;
  31. }
  32. .header-right {
  33. float: right;
  34. }
  35. @media screen and (max-width: 500px) {
  36. .header a {
  37. float: none;
  38. display: block;
  39. text-align: left;
  40. }
  41. .header-right {
  42. float: none;
  43. }
  44. }
  45. .column {
  46. float: left;
  47. width: 50%;
  48. padding: 10px;
  49. height: calc(100vh - 89px)
  50. }
  51. .row:after {
  52. content: "";
  53. display: table;
  54. clear: both;
  55. }
  56. .row {
  57. margin-left: 15px;
  58. margin-right: 15px;
  59. }
  60. @media screen and (max-width: 600px) {
  61. .column {
  62. width: 100%;
  63. }
  64. }