CSS cleanup, HTML5 doctype/tag
Signed-off-by: Amrit Panesar <neo@neo.yt>
This commit is contained in:
1 parent
30e3bc77f5
commit
672add3d8d
2 files changed
+208
-214
No files matched your search
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link href="style.css" rel="stylesheet" type="text/css" />
|
<link href="style.css" rel="stylesheet" type="text/css" />
|
||||||
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
} else {
|
} else {
|
||||||
toddy = "AM";
|
toddy = "AM";
|
||||||
}
|
}
|
||||||
document.getElementById('tod').innerHTML = toddy;
|
document.getElementById('tod').innerHTML = toddy;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+205
-211
@@ -36,8 +36,7 @@ caption, th, td {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
blockquote:before, blockquote:after,
|
blockquote:before, blockquote:after, q:before, q:after {
|
||||||
q:before, q:after {
|
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
blockquote, q {
|
blockquote, q {
|
||||||
@@ -56,216 +55,211 @@ body {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bokeh {
|
#bokeh {
|
||||||
width: 1500px;
|
width: 1500px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bokeh #background {
|
|
||||||
height: 100%;
|
|
||||||
-webkit-animation-name: fadeInBack;
|
|
||||||
-webkit-animation-duration: 3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@-webkit-keyframes fadeInBack {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#bokeh #container {
|
|
||||||
background: url('container.png') no-repeat center center;
|
|
||||||
height: 100%;
|
|
||||||
position:relative;
|
|
||||||
top:-100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#canvas {
|
#bokeh #background {
|
||||||
width: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
-webkit-animation-name: fadeInBack;
|
||||||
top:50%;
|
-webkit-animation-duration: 3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#box {
|
@-webkit-keyframes fadeInBack {
|
||||||
background: -webkit-gradient(
|
from {
|
||||||
linear,
|
opacity: 0;
|
||||||
left bottom,
|
|
||||||
left top,
|
|
||||||
color-stop(0, rgba(0,0,0,0.8)),
|
|
||||||
color-stop(1, rgba(0,0,0,0.6))
|
|
||||||
);
|
|
||||||
width: 700px;
|
|
||||||
height: 300px;
|
|
||||||
-webkit-border-radius: 15px;
|
|
||||||
-webkit-box-shadow: #000 0px 0px 50px;
|
|
||||||
position: absolute;
|
|
||||||
top:-150px;
|
|
||||||
left: 50%;
|
|
||||||
margin-left:-350px;
|
|
||||||
border: #000 1px solid;
|
|
||||||
|
|
||||||
/*-webkit-animation: fadeClock 1.5s ease-in-out;*/
|
|
||||||
}
|
}
|
||||||
|
to {
|
||||||
@-webkit-keyframes fadeClock {
|
opacity: 1;
|
||||||
0%{
|
}
|
||||||
opacity: 0.0;
|
}
|
||||||
-webkit-transform: scale(0.1);
|
|
||||||
}
|
#bokeh #container {
|
||||||
98%{
|
background: url('container.png') no-repeat center center;
|
||||||
-webkit-transform: scale(1.015);
|
height: 100%;
|
||||||
}
|
position:relative;
|
||||||
100% {
|
top:-100%;
|
||||||
-webkit-transform: scale(1);
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
#canvas {
|
||||||
#face {
|
width: 100%;
|
||||||
position: relative;
|
position: absolute;
|
||||||
top: -15px;
|
top:50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#face .flip {
|
#box {
|
||||||
display: inline-block;
|
background: -webkit-gradient(
|
||||||
width: 210px;
|
linear,
|
||||||
width: 210px;
|
left bottom,
|
||||||
background: #aaaaaa;
|
left top,
|
||||||
height: 230px;
|
color-stop(0, rgba(0,0,0,0.8)),
|
||||||
font-weight: bold;
|
color-stop(1, rgba(0,0,0,0.6))
|
||||||
font-size: 150px;
|
);
|
||||||
line-height: 230px;
|
width: 700px;
|
||||||
-webkit-border-radius: 15px;
|
height: 300px;
|
||||||
text-align: center;
|
-webkit-border-radius: 15px;
|
||||||
border: #fff 1px solid;
|
-webkit-box-shadow: #000 0px 0px 50px;
|
||||||
-webkit-box-shadow: #000 0px 0px 10px;
|
position: absolute;
|
||||||
}
|
top:-150px;
|
||||||
|
left: 50%;
|
||||||
.topPortion {
|
margin-left:-350px;
|
||||||
background: -webkit-gradient(
|
border: #000 1px solid;
|
||||||
linear,
|
|
||||||
left bottom,
|
/*-webkit-animation: fadeClock 1.5s ease-in-out;*/
|
||||||
left top,
|
}
|
||||||
color-stop(0, #bbbbbb),
|
|
||||||
color-stop(1, #ffffff)
|
@-webkit-keyframes fadeClock {
|
||||||
);
|
0%{
|
||||||
height: 114px;
|
opacity: 0.0;
|
||||||
margin-bottom: 1px;
|
-webkit-transform: scale(0.1);
|
||||||
-webkit-border-top-left-radius: 15px;
|
}
|
||||||
-webkit-border-top-right-radius: 15px;
|
98%{
|
||||||
}
|
-webkit-transform: scale(1.015);
|
||||||
|
}
|
||||||
.bottomPortion {
|
100% {
|
||||||
background: -webkit-gradient(
|
-webkit-transform: scale(1);
|
||||||
linear,
|
}
|
||||||
left bottom,
|
}
|
||||||
left top,
|
|
||||||
color-stop(0, #bbbbbb),
|
#face {
|
||||||
color-stop(1, #ffffff)
|
position: relative;
|
||||||
);
|
top: -15px;
|
||||||
height: 115px;
|
}
|
||||||
-webkit-border-bottom-left-radius: 15px;
|
|
||||||
-webkit-border-bottom-right-radius: 15px;
|
#face .flip {
|
||||||
}
|
display: inline-block;
|
||||||
|
width: 210px;
|
||||||
.time {
|
width: 210px;
|
||||||
position: relative;
|
background: #aaaaaa;
|
||||||
top:-230px;
|
height: 230px;
|
||||||
color: #353535;
|
font-weight: bold;
|
||||||
text-shadow: #fff 0px 0px 10px;
|
font-size: 150px;
|
||||||
text-shadow: inset red 0px 0px 5px;
|
line-height: 230px;
|
||||||
}
|
-webkit-border-radius: 15px;
|
||||||
|
text-align: center;
|
||||||
#face #flipHr {
|
border: #fff 1px solid;
|
||||||
margin-right: 20px;
|
-webkit-box-shadow: #000 0px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#face #flipMin {
|
.topPortion {
|
||||||
margin-right: 20px;
|
background: -webkit-gradient(
|
||||||
}
|
linear,
|
||||||
|
left bottom,
|
||||||
#tod {
|
left top,
|
||||||
position: relative;
|
color-stop(0, #bbbbbb),
|
||||||
top:-420px;
|
color-stop(1, #ffffff)
|
||||||
left: 55px;
|
);
|
||||||
font-size: 28px;
|
height: 114px;
|
||||||
color: #929292;
|
margin-bottom: 1px;
|
||||||
}
|
-webkit-border-top-left-radius: 15px;
|
||||||
|
-webkit-border-top-right-radius: 15px;
|
||||||
|
}
|
||||||
#lower {
|
|
||||||
margin-top: 25px;
|
.bottomPortion {
|
||||||
margin-left: 30px;
|
background: -webkit-gradient(
|
||||||
margin-right: 30px;
|
linear,
|
||||||
color: #fff;
|
left bottom,
|
||||||
font-size: 22px;
|
left top,
|
||||||
text-align: center;
|
color-stop(0, #bbbbbb),
|
||||||
text-shadow: #000 0px 0px 5px;
|
color-stop(1, #ffffff)
|
||||||
}
|
);
|
||||||
|
height: 115px;
|
||||||
#date {
|
-webkit-border-bottom-left-radius: 15px;
|
||||||
font-size: 30px;
|
-webkit-border-bottom-right-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
.time {
|
||||||
position: absolute;
|
position: relative;
|
||||||
bottom: 50px;
|
top:-230px;
|
||||||
left: 50%;
|
color: #353535;
|
||||||
font-size: 11px;
|
text-shadow: #fff 0px 0px 10px;
|
||||||
color #333;
|
text-shadow: inset red 0px 0px 5px;
|
||||||
width: 250px;
|
}
|
||||||
text-align: center;
|
|
||||||
margin-left: -125px;
|
#face #flipHr {
|
||||||
font-family: Georgia, Serif;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a {
|
#face #flipMin {
|
||||||
color: #666666;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a:hover {
|
#tod {
|
||||||
color: #fff;
|
position: relative;
|
||||||
}
|
top:-420px;
|
||||||
|
left: 55px;
|
||||||
|
font-size: 28px;
|
||||||
#status {
|
color: #929292;
|
||||||
font-size: 12px;
|
}
|
||||||
position: absolute;
|
|
||||||
bottom: 50px;
|
|
||||||
right: 50px;
|
#lower {
|
||||||
}
|
margin-top: 25px;
|
||||||
|
margin-left: 30px;
|
||||||
|
margin-right: 30px;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 22px;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: #000 0px 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#date {
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 50px;
|
||||||
|
left: 50%;
|
||||||
|
font-size: 11px;
|
||||||
|
color #333;
|
||||||
|
width: 250px;
|
||||||
|
text-align: center;
|
||||||
|
margin-left: -125px;
|
||||||
|
font-family: Georgia, Serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer a {
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer a:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#status {
|
||||||
|
font-size: 12px;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 50px;
|
||||||
|
right: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
#options {
|
#options {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#options a {
|
#options a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: block;
|
display: block;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: url('options.svg') no-repeat;
|
background: url('options.svg') no-repeat;
|
||||||
background-size: 25px 25px;
|
background-size: 25px 25px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
-webkit-transition: 0.4s ease-in-out;
|
-webkit-transition: 0.4s ease-in-out;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
color: rgba(0,0,0,0);
|
color: rgba(0,0,0,0);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#options a:hover {
|
#options a:hover {
|
||||||
width: 130px;
|
width: 130px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user