diff --git a/css/main.css b/css/main.css index 74f1ea0..610c6bb 100644 --- a/css/main.css +++ b/css/main.css @@ -1,34 +1,123 @@ -.name { - font-size: 20pt; - justify-self: start; -} - -.unit { - font-size: 25pt; - justify-self: end; -} - -.value { - font-size: 50pt; - justify-self: center; - grid-column: 1 / -1; -} - - -.cards { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); - grid-auto-rows: auto; - grid-gap: 1rem; -} - -.card { - display: grid; - grid-template-columns: 1fr 1fr; - grid-auto-rows: auto; - grid-gap: 1rem; - - border: 2px solid #e7e7e7; - border-radius: 4px; - padding: .5rem; +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: Arial, sans-serif; + line-height: 1.6; + color: #333; + background-color: #e6eeff; +} + +h1, h2 { + font-weight: bold; + color: #333; +} + +button { + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; + background-color: #4CAF50; + color: #fff; +} + +button:hover { + background-color: #3e8e41; +} + +footer { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + height: 40px; + background-color: #b3cbff; + text-align: center; + padding: 10px; + color: #333; + font-size: 12px; +} + +footer a { + color: #333; + text-decoration: none; + cursor: pointer; +} + +footer a:hover { + text-decoration: underline; +} + +/* Responsive Styles */ + +@media (max-width: 768px) { + /* For mobile devices */ + video { + width: 90%; + height: auto; + } + + #bleConnectionButton { + width: 100%; + padding: 10px 20px; + } +} + +@media (min-width: 992px) { + /* For tablets and desktop devices */ + video { + width: 80%; + height: auto; + } + + #bleConnectionButton { + width: 100%; + padding: 10px 20px; + } +} + +.name { + font-size: 20pt; + justify-self: start; +} + +.unit { + font-size: 25pt; + justify-self: end; +} + +.value { + font-size: 50pt; + justify-self: center; + grid-column: 1 / -1; +} + +.cards { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); + grid-auto-rows: auto; + grid-gap: 1rem; +} + +.card { + display: grid; + grid-template-columns: 1fr 1fr; + grid-auto-rows: auto; + grid-gap: 1rem; + + border: 2px solid #e7e7e7; + border-radius: 6px; + padding: .5rem; +} + +.training { + display: none; +} + +.video-js.vjs-has-started .vjs-tech { + pointer-events: none; } \ No newline at end of file