icl-iot-weather/site/views/css/style.css
2020-10-21 11:25:13 +01:00

63 lines
866 B
CSS

* {
margin: 0;
padding: 0;
text-decoration: none;
}
@font-face{
font-family: os;
src: url(../fonts/ops.ttf);
}
@font-face{
font-family: osl;
src: url(../fonts/opsl.ttf);
}
:root {
--background: whitesmoke;
}
body {
background: var(--background);
margin-left: auto;
margin-right: auto;
font-family: os;
/* max-width: 1200px; */
padding: 1rem;
}
.container {
background-color: dodgerblue;
color: white;
padding: 1rem;
height: 400px;
}
.containers {
max-width: 1300px;
margin: 0 auto;
display: grid;
grid-gap: 1rem;
}
.chart {
height: 400px;
}
@media (min-width: 900px) {
.containers { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-device-width: 480px) {
.containers { grid-template-columns: repeat(1, 1fr); }
}
main svg {
position: relative;
left: 50%;
transform: translate(-50%);
}