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;
39 font-family: "LockClock-Light";
40 padding:
0px
0px
0px
1px;
43 text-shadow: -
0.5px -
1px
1px black;
47 font-family: "Helvetica";
50 text-shadow: -
0.5px -
1px
1px black;
53 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) {
69 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
71 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png);
86 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
88 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png);
103 @media (cydget-media-controls) {
108 </style></head><body>
109 <div id=
"lcd"><script type=
"text/javascript">
110 var locale = CFLocaleCopyCurrent();
111 var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent());
112 var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle);
115 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
116 var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
117 document.write('
<h1>');
118 document.write(time);
119 document.write('
</h1>');
122 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat));
123 var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
124 document.write('
<h2>');
125 document.write(date);
126 document.write('
</h2>');
129 CFRelease(formatter);