2 <meta name=
"viewport" content=
"width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
7 -webkit-border-radius:
0;
8 box-sizing: border-box;
9 -moz-box-sizing: border-box;
10 -ms-box-sizing: border-box;
11 -webkit-box-sizing: border-box;
12 /*font-family: inherit;*/
19 text-decoration: none;
20 vertical-align: baseline;
24 -webkit-touch-callout: none;
25 -webkit-text-size-adjust: none;
26 -webkit-user-select: none;
36 background-color: rgba(
87,
87,
87,
0.5);
40 font-family: "LockClock-Light";
41 padding:
0px
0px
0px
1px;
44 text-shadow: -
0.5px -
1px
1px black;
48 font-family: "Helvetica";
51 text-shadow: -
0.5px -
1px
1px black;
54 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) {
70 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
72 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png);
87 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
89 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png);
103 </style></head><body>
104 <div id=
"lcd"><script type=
"text/javascript">
105 var locale = CFLocaleCopyCurrent();
106 var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent());
107 var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle);
110 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
111 var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
112 document.write('
<h1>');
113 document.write(time);
114 document.write('
</h1>');
117 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat));
118 var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
119 document.write('
<h2>');
120 document.write(date);
121 document.write('
</h2>');
124 CFRelease(formatter);