diff --git a/src/css/stylish.css b/src/css/stylish.css index 9423524..b58a87a 100644 --- a/src/css/stylish.css +++ b/src/css/stylish.css @@ -12,19 +12,26 @@ body { } .button-container { - margin: 10px auto; width: 90%; + margin: 5%; } .button { - background-color: #4CAF50; /* Green */ + display: block; border: none; + width: 100%; + border-radius: 3px; + background-color: #4CAF50; /* Green */ color: white; - padding: 15px 32px; + padding: 10px; text-align: center; text-decoration: none; - display: inline-block; font-size: 16px; + margin-bottom: 5%; +} + +#hide-filter-button { + background-color: black; } .hidden { @@ -32,10 +39,12 @@ body { } #date-selector-container { + font-size: 16px; display: grid; - justify-content: center; - grid-template-rows: repeat(5, 25px); - grid-template-columns: 25% 25%; + margin-left: 5%; + margin-bottom: 5%; + grid-template-rows: repeat(5, auto); + grid-template-columns: auto auto; grid-auto-flow: column; grid-auto-columns: 50% 50%; } @@ -124,90 +133,6 @@ body { } -/* Modal stuff */ - -.modal { - position: fixed; /* Stay in place */ - z-index: 1; /* Sit on top */ - padding-top: 100px; /* Location of the box */ - left: 0; - top: 0; - width: 100%; /* Full width */ - height: 100%; /* Full height */ - overflow: auto; /* Enable scroll if needed */ - background-color: rgb(0,0,0); /* Fallback color */ - background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ -} - -/* Modal Content */ -.modal-content { - position: relative; - background-color: #fefefe; - margin: auto; - padding: 0; - border: 1px solid #888; - width: 80%; - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); - -webkit-animation-name: animatetop; - -webkit-animation-duration: 0.4s; - animation-name: animatetop; - animation-duration: 0.4s -} - -/* Add Animation */ -@-webkit-keyframes animatetop { - from {top:-300px; opacity:0} - to {top:0; opacity:1} -} - -@keyframes animatetop { - from {top:-300px; opacity:0} - to {top:0; opacity:1} -} - -/* The Close Button */ -.close-filter-modal { - color: white; - float: right; - font-size: 28px; - font-weight: bold; -} - -.close-filter-modal:hover, -.close-filter-modal:focus { - color: #000; - text-decoration: none; - cursor: pointer; -} - -.modal-header { - padding: 5px ; - background-color: #5cb85c; - color: white; - height: 35px; - font-size: 20px; -} - -.modal-body {padding: 2px 16px;} - -.modal-footer { - padding: 2px 16px; - background-color: #5cb85c; - color: white; -} - -#filterModal .buttons { - display: flex; - justify-content: space-evenly; - padding: 20px; - text-align: center; -} - -#filterModal .buttons a { - margin: 20px; -} - - /* Media */ @media only screen and (max-device-width: 580px) { @@ -249,8 +174,24 @@ body { font-size: 64px; } - #filterModal .buttons { - display: flex; - flex-direction: column; - } +} + +/* Checkbox larger */ + +@supports (zoom:2) { + input[type=checkbox]{ + zoom: 1.5; + } +} +@supports not (zoom:2) { + input[type=checkbox]{ + transform: scale(1.5); + margin: 15px; + } +} +label{ + /* fix vertical align issues */ + display: inline-block; + vertical-align: top; + margin-top: 10px; } diff --git a/src/index.html b/src/index.html index 5114862..3817864 100644 --- a/src/index.html +++ b/src/index.html @@ -31,40 +31,28 @@
- -