MagicMirror/css/main.css

243 lines
3.1 KiB
CSS
Raw Normal View History

html {
2016-04-05 15:43:52 -04:00
cursor: none;
overflow: hidden;
background: #000;
}
::-webkit-scrollbar {
display: none;
2016-04-13 09:58:56 +02:00
}
body {
2016-04-05 15:43:52 -04:00
margin: 60px;
position: absolute;
height: calc(100% - 120px);
width: calc(100% - 120px);
background: #000;
color: #aaa;
font-family: "Roboto Condensed", sans-serif;
font-weight: 400;
font-size: 2em;
line-height: 1.5em;
-webkit-font-smoothing: antialiased;
2016-03-24 17:19:32 +01:00
}
/**
* Default styles.
*/
2016-04-05 15:43:52 -04:00
.dimmed {
color: #666;
2016-04-05 15:43:52 -04:00
}
.normal {
color: #999;
}
.bright {
color: #fff;
}
.xsmall {
font-size: 15px;
line-height: 20px;
}
.small {
font-size: 20px;
line-height: 25px;
}
2016-03-24 17:19:32 +01:00
2016-04-05 15:43:52 -04:00
.medium {
font-size: 30px;
line-height: 35px;
}
2016-03-24 17:19:32 +01:00
2016-04-05 15:43:52 -04:00
.large {
font-size: 65px;
line-height: 65px;
}
2016-03-24 17:19:32 +01:00
2016-04-05 15:43:52 -04:00
.xlarge {
font-size: 75px;
line-height: 75px;
letter-spacing: -3px;
}
2016-03-29 13:28:15 +02:00
2016-04-05 15:43:52 -04: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;
}
.align-right {
text-align: right;
}
.align-left {
text-align: left;
}
2016-03-29 13:28:15 +02:00
2016-03-24 17:19:32 +01:00
header {
2016-04-05 15:43:52 -04:00
text-transform: uppercase;
font-size: 15px;
font-family: "Roboto Condensed";
font-weight: 400;
border-bottom: 1px solid #666;
line-height: 15px;
padding-bottom: 5px;
2016-04-05 15:43:52 -04:00
margin-bottom: 10px;
color: #999;
2016-03-24 17:19:32 +01:00
}
sup {
2016-04-05 15:43:52 -04:00
font-size: 50%;
line-height: 50%;
2016-03-24 17:19:32 +01:00
}
2016-04-01 10:25:54 +02:00
/**
* Module styles.
*/
.module {
2016-10-15 17:06:52 +02:00
margin-bottom: 30px;
2016-04-01 10:25:54 +02:00
}
2016-04-05 15:43:52 -04:00
2016-10-15 17:06:52 +02:00
.region.bottom .module {
margin-top: 30px;
2016-10-15 17:11:03 +02:00
margin-bottom: 0;
2016-04-01 10:25:54 +02:00
}
2017-03-11 17:36:47 -06:00
.no-wrap {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2016-03-24 17:19:32 +01:00
/**
* Region Definitions.
*/
.region {
2016-04-05 15:43:52 -04:00
position: absolute;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-04-05 13:39:52 +02:00
.region.fullscreen {
2016-04-05 15:43:52 -04:00
position: absolute;
top: -60px;
left: -60px;
right: -60px;
bottom: -60px;
pointer-events: none;
}
.region.fullscreen * {
pointer-events: auto;
2016-04-05 13:39:52 +02:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.right {
2016-04-05 15:43:52 -04:00
right: 0;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.top {
2016-04-05 15:43:52 -04:00
top: 0;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
.region.top .container {
margin-bottom: 25px;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.top .container:empty {
2016-04-05 15:43:52 -04:00
margin-bottom: 0;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
.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%);
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
.region.top.right,
.region.top.left,
.region.top.center {
top: 100%;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.bottom {
2016-04-05 15:43:52 -04:00
bottom: 0;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
.region.bottom .container {
margin-top: 25px;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.bottom .container:empty {
2016-04-05 15:43:52 -04:00
margin-top: 0;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
.region.bottom.right,
.region.bottom.center,
.region.bottom.left {
bottom: 100%;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.bar {
2016-04-05 15:43:52 -04:00
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%);
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.upper.third {
2016-04-05 15:43:52 -04:00
top: 33%;
2016-03-24 17:19:32 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.middle.center {
2016-04-05 15:43:52 -04:00
top: 50%;
2014-02-19 16:45:36 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.lower.third {
2016-04-05 15:43:52 -04:00
top: 66%;
2014-02-24 11:19:51 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.left {
2016-04-05 15:43:52 -04:00
text-align: left;
2014-02-26 14:14:29 +01:00
}
2016-04-05 15:43:52 -04:00
2016-03-24 17:19:32 +01:00
.region.right {
2016-04-05 15:43:52 -04:00
text-align: right;
2016-03-29 13:28:15 +02:00
}
2016-04-05 15:43:52 -04:00
.region table {
width: 100%;
border-spacing: 0;
border-collapse: separate;
}