MagicMirror/css/main.css

152 lines
2.7 KiB
CSS
Raw Normal View History

html {
cursor: none;
}
body {
2016-03-24 17:19:32 +01:00
margin: 60px;
2016-03-31 15:07:55 +02:00
position: absolute;
height: calc(100% - 120px);
width: calc(100% - 120px);
2016-03-24 17:19:32 +01:00
background: #000;
color: #aaa;
2016-04-05 00:33:29 +02:00
font-family: 'Roboto Condensed', sans-serif;
font-weight: 400;
2016-03-24 17:19:32 +01:00
font-size: 2em;
line-height: 1.5em;
-webkit-font-smoothing: antialiased;
}
/**
* Default styles.
*/
.dimmed {color: #555;}
.normal {color: #999;}
.bright {color: #fff;}
.xsmall {font-size: 15px; line-height: 20px;}
.small {font-size: 20px; line-height: 25px;}
.medium {font-size: 30px; line-height: 35px;}
2016-03-29 13:28:15 +02:00
.large {font-size: 65px; line-height: 65px;}
.xlarge {font-size: 75px; line-height: 75px; letter-spacing: -3px;}
2016-03-24 17:19:32 +01:00
2016-04-05 00:33:29 +02:00
.thin {font-family: 'Roboto', sans-serif; font-weight: 100;}
.light {font-family: 'Roboto Condensed', sans-serif; font-weight: 300;}
.regular {font-family: 'Roboto Condensed', sans-serif; font-weight: 400;}
.bold {font-family: 'Roboto Condensed', sans-serif; font-weight: 700;}
2016-03-24 17:19:32 +01:00
2016-03-29 13:28:15 +02:00
.align-right {text-align: right;}
2016-04-05 12:22:01 +02:00
.align-left {text-align: left;}
2016-03-29 13:28:15 +02:00
2016-03-24 17:19:32 +01:00
header {
text-transform: uppercase;
2016-03-29 13:28:15 +02:00
font-size: 15px;
font-family: 'Roboto Condensed';
font-weight: 400;
2016-03-24 17:19:32 +01:00
border-bottom: 1px solid #333;
line-height: 0.35em;
padding-bottom: 10px;
margin-bottom: 10px;
color: #666;
}
sup {
font-size: 50%;
line-height: 50%;
}
2016-04-01 10:25:54 +02:00
/**
* Module styles.
*/
.module {
margin-top: 30px;
}
.module:first-child {
margin-top: 0px;
}
2016-03-24 17:19:32 +01:00
/**
* Region Definitions.
*/
.region {
position: absolute;
}
2016-04-05 13:39:52 +02:00
.region.fullscreen {
position: absolute;
top: -60px;
left: -60px;
right: -60px;
bottom: -60px;
}
2016-03-24 17:19:32 +01:00
.region.right {
right: 0;
}
.region.top {
top: 0;
}
.region.top .container{
margin-bottom: 25px;
}
.region.top .container:empty {
margin-bottom: 0px;
}
.region.top.center, .region.bottom.center {
left: 50%;
-moz-transform: translateX(-50%);
-o-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
.region.top.right, .region.top.left, .region.top.center {
top: 100%;
}
.region.bottom {
bottom: 0;
}
.region.bottom .container{
margin-top: 25px;
}
.region.bottom .container:empty {
margin-top: 0px;
}
.region.bottom.right, .region.bottom.center, .region.bottom.left {
bottom: 100%;
}
.region.bar {
width: 100%;
text-align: center;
}
.region.third, .region.middle.center {
width: 100%;
text-align: center;
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.region.upper.third {
top: 33%;
}
.region.middle.center {
top: 50%;
2014-02-19 16:45:36 +01:00
}
2016-03-24 17:19:32 +01:00
.region.lower.third {
top: 66%;
2014-02-24 11:19:51 +01:00
}
2016-03-24 17:19:32 +01:00
.region.left {
text-align: left;
2014-02-26 14:14:29 +01:00
}
2016-03-24 17:19:32 +01:00
.region.right {
text-align: right;
2016-03-29 13:28:15 +02:00
}
2016-04-01 10:25:54 +02:00
.region table {
width: 100%;
border-spacing: 0px;
border-collapse: separate;
}