133 lines
2.0 KiB
CSS
133 lines
2.0 KiB
CSS
|
|
@font-face{
|
|
font-family: courier;
|
|
src: url('CourierPrimeSansRegular.ttf');
|
|
}
|
|
|
|
@font-face{
|
|
font-family: fabiolo;
|
|
src: url('fabiolo-smallcap-regular.ttf')
|
|
}
|
|
|
|
.Roboto{
|
|
font-family: fabiolo;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow-y: hidden;
|
|
font-family: "courier";
|
|
|
|
}
|
|
|
|
|
|
#container {
|
|
display: -webkit-flex;
|
|
-webkit-align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#canvas-layout {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
}
|
|
|
|
|
|
#canvas-content {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
/*
|
|
hour&minutes
|
|
*/
|
|
#digital-body {
|
|
position: absolute;
|
|
width: 360px;
|
|
height: 360px;
|
|
top: 0px;
|
|
left: 0px;
|
|
background-size: 100%;
|
|
background-repeat: no-repeat;
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#str-just-hours {
|
|
text-transform: full-width;
|
|
font-size: 600%;
|
|
font-style: bold;
|
|
letter-spacing: -2px;
|
|
float: left;
|
|
color: white;
|
|
width: 90px;
|
|
text-align: right;
|
|
}
|
|
|
|
#rec-time {
|
|
position: relative;
|
|
display: inline-block;
|
|
top: 40%;
|
|
left: 50%;
|
|
-ms-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1;
|
|
}
|
|
|
|
#str-hours {
|
|
font-size: 450%;
|
|
font-style: bold;
|
|
letter-spacing: -10px;
|
|
float: left;
|
|
color: white;
|
|
width: 80px;
|
|
text-align: right;
|
|
transform: translate(-5px, 0);
|
|
}
|
|
|
|
#str-console {
|
|
font-size: 250%;
|
|
float: left;
|
|
color: white;
|
|
visibility: hidden;
|
|
transform: translate(-6px, 8px);
|
|
}
|
|
|
|
#str-minutes {
|
|
font-size: 450%;
|
|
letter-spacing: -10px;
|
|
float: left;
|
|
color: white;
|
|
width: 70px;
|
|
text-align: left;
|
|
transform: translate(-15px, 0);
|
|
|
|
}
|
|
|
|
#str-ampm {
|
|
font-size: 280%;
|
|
color: white;
|
|
padding-top: 20%;
|
|
}
|
|
|
|
#str-event {
|
|
position: absolute;
|
|
display: inline-block;
|
|
top:60%;
|
|
left: 50%;
|
|
-ms-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
font-size: 200%;
|
|
color: white;
|
|
text-align: center;
|
|
z-index: 2;
|
|
}
|
|
|
|
} |