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.

76 lines
945 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. }
  50. .row:after {
  51. content: "";
  52. display: table;
  53. clear: both;
  54. }
  55. .row {
  56. margin-left: 15px;
  57. margin-right: 15px;
  58. }
  59. @media screen and (max-width: 600px) {
  60. .column {
  61. width: 100%;
  62. }
  63. }