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

* {box-sizing: border-box;}
body {
margin: 0;
}
.header {
overflow: hidden;
background-color: #f1f1f1;
padding: 20px 10px;
}
a {
float: left;
color: black;
text-align: center;
padding: 12px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
a.none {
float: none;
color: dodgerblue;
text-align: inherit;
padding: 0px;
text-decoration: none;
font-size: 16px;
line-height: 0px;
border-radius: 0px;
}
a.text {
font-size: 25px;
font-weight: bold;
}
a:hover {
background-color: #ddd;
color: black;
}
a.active {
background-color: dodgerblue;
color: white;
}
.header-right {
float: right;
}
@media screen and (max-width: 500px) {
.header a {
float: none;
display: block;
text-align: left;
}
.header-right {
float: none;
}
}
.column {
float: left;
width: 50%;
padding: 10px;
height: calc(100vh - 178px)
}
.row:after {
content: "";
display: table;
clear: both;
}
.row {
margin-left: 0px;
margin-right: 0px;
}
@media screen and (max-width: 600px) {
.column {
width: 100%;
height: calc((100vh - 276px)*0.5)
}
}