calenderwatch_client/css/style.css

105 lines
1.5 KiB
CSS

@font-face{
font-family: courier;
src: url('CourierPrimeBold.ttf');
}
@font-face{
font-family: fabiolo;
src: url('fabiolo-smallcap-regular.ttf')
}
.Roboto{
font-family: courier;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
overflow-y: hidden;
font-family: "fabiolo";
}
#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;
}
#rec-time {
position: relative;
display: inline-block;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#str-hours {
font-size: 600%;
font-style: bold;
letter-spacing: -2px;
float: left;
color: white;
width: 90px;
text-align: right;
}
#str-console {
font-size: 650%;
font-style: bold;
float: left;
color: white;
visibility: hidden;
transform: translate(0, -10px);
}
#str-minutes {
font-size: 600%;
letter-spacing: -2px;
font-style: bold;
float: left;
color: white;
width: 90px;
text-align: left;
}
#str-ampm {
font-size: 280%;
color: white;
padding-top: 20%;
}