MagicMirror/css/main.css

148 lines
2.9 KiB
CSS
Raw Normal View History

2014-02-19 16:45:36 +01:00
body, html {
background: #000;
padding: 0px;
margin: 0px;
width:100%;
height: 100%;
2014-02-25 16:34:20 +01:00
font-family: "HelveticaNeue-Light";
letter-spacing: -3px;
2014-02-19 16:45:36 +01:00
color: #fff;
font-size: 75px;
2014-02-25 16:04:55 +01:00
-webkit-font-smoothing: antialiased;
2014-02-19 16:45:36 +01:00
}
2014-02-24 11:19:51 +01:00
.top
2014-02-19 16:45:36 +01:00
{
position: absolute;
top: 50px;
2014-02-24 11:19:51 +01:00
}
.left
{
position: absolute;
2014-02-19 16:45:36 +01:00
left: 50px;
}
2014-02-24 11:19:51 +01:00
.right
2014-02-19 16:45:36 +01:00
{
position: absolute;
right: 50px;
2014-02-24 11:19:51 +01:00
text-align: right;
2014-02-19 16:45:36 +01:00
}
2014-02-24 11:19:51 +01:00
.center-ver
2014-02-19 16:45:36 +01:00
{
position: absolute;
top: 50%;
height: 200px;
2014-02-25 16:34:20 +01:00
/* margin-top: -100px; */
2014-02-24 11:19:51 +01:00
line-height: 100px;
2014-02-19 16:45:36 +01:00
}
2014-02-24 11:19:51 +01:00
.center-hor
2014-02-19 16:45:36 +01:00
{
position: absolute;
right: 50px;
left: 50px;
2014-02-24 11:19:51 +01:00
text-align: center;
}
.bottom
{
position: absolute;
bottom: 50px;
}
.xsmall
{
font-size: 25px;
2014-02-25 16:34:20 +01:00
letter-spacing: 0px;
font-family: "HelveticaNeue-Medium";
2014-02-24 11:19:51 +01:00
}
.small
{
font-size: 35px;
2014-02-25 16:34:20 +01:00
letter-spacing: -1.5px;
2014-02-25 16:04:55 +01:00
font-family: "HelveticaNeue-Light";
2014-02-24 11:19:51 +01:00
}
2014-02-24 16:35:48 +01:00
.xdimmed
{
2014-02-25 16:34:20 +01:00
color: #666;
2014-02-24 16:35:48 +01:00
}
2014-02-24 11:19:51 +01:00
.dimmed
{
2014-02-25 16:34:20 +01:00
color: #999;
2014-02-24 11:19:51 +01:00
}
2014-02-24 16:35:48 +01:00
.icon
{
2014-02-24 11:19:51 +01:00
position: relative;
top :-10px;
display: inline-block;
2014-02-25 16:34:20 +01:00
font-size: 50px;
2014-02-24 11:19:51 +01:00
padding-right: 5px;
font-weight: 100;
2014-02-25 16:34:20 +01:00
margin-right: 0px;
2014-02-19 16:45:36 +01:00
}
2014-02-24 16:35:48 +01:00
.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
{
2014-02-25 16:04:55 +01:00
color: #999;
2014-02-24 16:35:48 +01:00
}
2014-02-19 16:45:36 +01:00
@font-face {
2014-02-25 16:04:55 +01:00
font-family: 'HelveticaNeue-UltraLight';
src: url('font/HelveticaNeue-UltraLight.eot'); /* IE9 Compat Modes */
src: url('font/HelveticaNeue-UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('font/HelveticaNeue-UltraLight.woff') format('woff'), /* Modern Browsers */
url('font/HelveticaNeue-UltraLight.ttf') format('truetype'), /* Safari, Android, iOS */
url('font/HelveticaNeue-UltraLight.svg#9453ea8da727d260bcdbfa605bdbb5d2') format('svg'); /* Legacy iOS */
font-style: normal;
font-weight: 100;
}
@font-face {
font-family: 'HelveticaNeue-Medium';
src: url('font/HelveticaNeue-Medium.eot'); /* IE9 Compat Modes */
src: url('font/HelveticaNeue-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('font/HelveticaNeue-Medium.woff') format('woff'), /* Modern Browsers */
url('font/HelveticaNeue-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
url('font/HelveticaNeue-Medium.svg#d7af0fd9278f330eed98b60dddea7bd6') format('svg'); /* Legacy iOS */
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'HelveticaNeue-Light';
src: url('font/HelveticaNeue-Light.eot'); /* IE9 Compat Modes */
src: url('font/HelveticaNeue-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('font/HelveticaNeue-Light.woff') format('woff'), /* Modern Browsers */
url('font/HelveticaNeue-Light.ttf') format('truetype'), /* Safari, Android, iOS */
url('font/HelveticaNeue-Light.svg#7384ecabcada72f0e077cd45d8e1c705') format('svg'); /* Legacy iOS */
font-style: normal;
font-weight: 200;
}