You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
2 months ago
|
.s-clock{
|
||
|
height: 100px;
|
||
|
width: 100px;
|
||
|
position: relative;
|
||
|
background: url(../images/clock.png) no-repeat center center;
|
||
|
}
|
||
|
.s-seconds,.s-minutes,.s-hours{
|
||
|
width: 4px;
|
||
|
height: 100px;
|
||
|
position: absolute;
|
||
|
top: 0px;
|
||
|
left: 50%;
|
||
|
margin-left: -2px;
|
||
|
}
|
||
|
.s-minutes{
|
||
|
z-index: 10;
|
||
|
background: url(../images/minutes.png) no-repeat;
|
||
|
}
|
||
|
.s-seconds{
|
||
|
z-index: 30;
|
||
|
background: url(../images/seconds.png) no-repeat -1px;
|
||
|
}
|
||
|
.s-hours{
|
||
|
z-index: 20;
|
||
|
background: url(../images/hours.png) no-repeat;
|
||
|
|
||
|
}
|
||
|
.s-date{
|
||
|
z-index: 1;
|
||
|
width:20px;
|
||
|
border: 2px solid #e5e7eb;
|
||
|
border-radius:5px;
|
||
|
height: 16px;
|
||
|
font-size: 13px;
|
||
|
line-height: 18px;
|
||
|
background: white;
|
||
|
text-align: center;
|
||
|
position: absolute;
|
||
|
top: 60px;
|
||
|
right: 18px;
|
||
|
color: #808080;
|
||
|
}
|
||
|
.numclock{
|
||
|
width: 80px;
|
||
|
height: 60px;
|
||
|
position: absolute;
|
||
|
top: 20px;
|
||
|
left: 130px;
|
||
|
}
|
||
|
.numclock .placename{
|
||
|
height: 20px;
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
line-height: 20px;
|
||
|
font-size: 12px;
|
||
|
font-weight: normal;
|
||
|
color: #82868c;
|
||
|
}
|
||
|
.numclock .time{
|
||
|
height: 40px;
|
||
|
line-height: 40px;
|
||
|
font-size: 20px;
|
||
|
font-family: "微软雅黑";
|
||
|
font-weight: normal;
|
||
|
color: #82868c;
|
||
|
}
|