calenderwatch_client/css/style.css

139 lines
2.2 KiB
CSS
Raw Permalink Normal View History

2020-08-13 21:40:31 +02:00
@font-face{
2020-10-03 23:01:23 +02:00
font-family: courier;
2020-10-11 23:40:08 +02:00
src: url('CourierPrimeSansRegular.ttf');
2020-10-03 23:01:23 +02:00
}
@font-face{
font-family: fabiolo;
src: url('fabiolo-smallcap-regular.ttf')
2020-08-13 21:40:31 +02:00
}
.Roboto{
2020-10-11 23:40:08 +02:00
font-family: fabiolo;
2020-08-13 21:40:31 +02:00
}
html, body {
width: 100%;
height: 100%;
margin: 0;
overflow-y: hidden;
2020-10-11 23:40:08 +02:00
font-family: "courier";
2020-08-13 21:04:08 +02:00
}
2020-08-13 21:40:31 +02:00
#container {
display: -webkit-flex;
-webkit-align-items: center;
width: 100%;
2020-10-03 23:01:23 +02:00
height: 100%;
}
#canvas-layout {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}
2020-08-13 21:04:08 +02:00
#canvas-content {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
2020-08-13 21:04:08 +02:00
}
/*
hour&minutes
*/
#digital-body {
position: absolute;
width: 360px;
height: 360px;
top: 0px;
left: 0px;
background-size: 100%;
background-repeat: no-repeat;
overflow: hidden;
2020-10-03 23:01:23 +02:00
2020-08-13 21:04:08 +02:00
}
2020-10-11 23:40:08 +02:00
#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;
}
2020-08-13 21:04:08 +02:00
#rec-time {
2020-10-03 23:01:23 +02:00
position: relative;
display: inline-block;
2020-10-11 23:40:08 +02:00
top: 40%;
2020-08-13 21:04:08 +02:00
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
2020-10-11 23:40:08 +02:00
z-index: 1;
2020-08-13 21:04:08 +02:00
}
#str-hours {
2020-10-11 23:40:08 +02:00
font-size: 450%;
2020-08-13 21:04:08 +02:00
font-style: bold;
2020-10-11 23:40:08 +02:00
letter-spacing: -10px;
2020-08-13 21:04:08 +02:00
float: left;
color: white;
2020-10-11 23:40:08 +02:00
width: 80px;
2020-10-03 23:01:23 +02:00
text-align: right;
2020-10-11 23:40:08 +02:00
transform: translate(-5px, 0);
2020-08-13 21:04:08 +02:00
}
#str-console {
2020-10-11 23:40:08 +02:00
font-size: 250%;
2020-08-13 21:04:08 +02:00
float: left;
color: white;
visibility: hidden;
2020-10-11 23:40:08 +02:00
transform: translate(-6px, 8px);
2020-08-13 21:04:08 +02:00
}
#str-minutes {
2020-10-11 23:40:08 +02:00
font-size: 450%;
letter-spacing: -10px;
2020-08-13 21:04:08 +02:00
float: left;
color: white;
2020-10-11 23:40:08 +02:00
width: 70px;
2020-10-03 23:01:23 +02:00
text-align: left;
2020-10-11 23:40:08 +02:00
transform: translate(-15px, 0);
2020-08-13 21:04:08 +02:00
}
#str-ampm {
2020-08-13 21:40:31 +02:00
font-size: 280%;
2020-08-13 21:04:08 +02:00
color: white;
padding-top: 20%;
2020-10-11 23:40:08 +02:00
}
#str-event {
position: absolute;
display: inline-block;
top:60%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
2020-10-24 15:31:41 +02:00
font-size: 175%;
2020-10-11 23:40:08 +02:00
color: white;
text-align: center;
z-index: 2;
2020-10-24 15:31:41 +02:00
line-height: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
2020-10-11 23:40:08 +02:00
}
}