MagicMirror/css/main.css
2014-02-25 15:41:44 +01:00

117 lines
1.5 KiB
CSS

body, html {
background: #000;
padding: 0px;
margin: 0px;
width:100%;
height: 100%;
font-family: "helvetica-neue";
font-weight: 200px;
color: #fff;
font-size: 75px;
}
.top
{
position: absolute;
top: 50px;
}
.left
{
position: absolute;
left: 50px;
}
.right
{
position: absolute;
right: 50px;
text-align: right;
}
.center-ver
{
position: absolute;
top: 50%;
height: 200px;
margin-top: -100px;
line-height: 100px;
}
.center-hor
{
position: absolute;
right: 50px;
left: 50px;
text-align: center;
}
.bottom
{
position: absolute;
bottom: 50px;
}
.xsmall
{
font-size: 25px;
}
.small
{
font-size: 35px;
}
.xdimmed
{
color: #fff;
}
.dimmed
{
color: #fff;
}
.icon
{
position: relative;
top :-10px;
display: inline-block;
font-size: 35px;
padding-right: 5px;
font-weight: 100;
margin-right: 10px;
}
.forecast-table {
float: right;
text-align: right;
font-size: 20px;
}
.forecast-table .day, .forecast-table .temp-min, .forecast-table .temp-max
{
width: 50px;
text-align: right;
}
.forecast-table .temp-max
{
width: 60px;
}
.forecast-table .day
{
color: #eee;
}
@font-face {
font-family: 'helvetica-neue';
src: url('font/helvetica-neue-webfont.eot');
src: url('font/helvetica-neue-webfont.eot?#iefix') format('embedded-opentype'),
url('font/helvetica-neue-webfont.woff') format('woff'),
url('font/helvetica-neue-webfont.ttf') format('truetype'),
url('font/helvetica-neue-webfont.svg#helvetica-neue-webfontRg') format('svg');
font-weight: normal;
font-style: normal;
}