Commit 5404363a authored by Simon Welsh's avatar Simon Welsh

Moves CSS into its own file

git-svn-id: svn+ssh://lsgn/var/logbot-www@50 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent 0628e0ae
......@@ -16,197 +16,7 @@ class :log:head extends :x:element {
<meta name="keywords" content={"IRC Log for " . $this->getAttribute('channel')} />
<meta name="robots" content={$this->getAttribute('robots')} />
<meta name="viewport" content="width=device-width, user-scalable=1" />
<style type="text/css">
{"
@font-face {
font-family: 'WebSymbolsRegular';
src: url('fonts/websymbols-regular-webfont.eot');
src: url('fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/websymbols-regular-webfont.woff') format('woff'), url('fonts/websymbols-regular-webfont.ttf') format('truetype'), url('fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: #ffffff;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
font-size: 12px;
padding: 0;
margin: 0;
width: 100%;
}
p {
padding: 0 10px;
}
h1, h2, h3 {
margin: 0;
padding: 0;
}
.irc-date {font-family: Courier New, Courier, mono; white-space: nowrap; max-width: 150px;}
.irc-linenum {text-align: right;}
.irc-green {color: #009200;}
.irc-black {color: #000000;}
.irc-brown {color: #7b0000;}
.irc-navy {color: #00007b;}
.irc-brick {color: #9c009c;}
.irc-red {color: #ff0000;}
table {
border-collapse: collapse;
width: 100%;
padding: 0;
margin: 0;
}
table th {
padding: 0 5px;
}
table td {
vertical-align: text-top;
font-size: 12px;
padding-right: 5px;
max-height: 100%;
}
table.cal {
border-collapse: collapse;
}
table.cal td {
padding-right: 0;
text-align: center;
color: #777;
border: 1px solid #ddd;
}
table.cal a {
text-decoration: none;
}
table.cal a:hover {
text-decoration: underline;
}
table.cal td.odd {
background-color: #eee;
}
table.cal td.empty {
background-color: transparent;
border: 0 none;
}
table.cal th {
padding: 0;
}
.logs :target {
background: gold;
}
a {
color: blue;
}
h1 a, h2 a, h3 a, h4 a {
color: black;
}
div.month {
float: left;
width: 200px;
height: 170px;
margin-left: 10px;
}
div.month h4 {
margin: 15px 0 10px;
}
.clear {
clear: both;
}
h3 {
margin: 0;
}
form {
position: absolute;
right: 60px;
top: 15px;
}
#searchform input.text {
width: 155px;
padding: 5px 34px 5px 10px;
color: #888;
margin: 0;
border: none;
border-radius: 14px;
background: #fff;
font-size: 15px;
}
#searchform input.action {
font-size: 14px;
position: absolute;
right: 2px;
top: 0;
cursor: pointer;
border: none;
padding: 5px;
background: none;
font-family: 'WebSymbolsRegular';
color: #848484;
border-radius: 0;
margin: 0;
}
#searchform input:focus,
#searchform input.action:hover {
color: #000
}
#searchform input:focus {
outline: none
}
.info { margin: 0 0 6px 0; padding: 18px; background-color: #003050; position: relative; line-height: 24px; color: #fff; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #002137), color-stop(10%, #003050), color-stop(90%, #003050), color-stop(100%, #002137)); background-image: -webkit-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: -moz-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: -o-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: linear-gradient(#002137, #003050 10%, #003050 90%, #002137); }
.info h1 { margin: 0 0 6px 0; padding: 0 32px 0 0; color: #fff; font-size: 24px; text-shadow: 0 1px #002137; line-height: 30px; background: url(logo_small.png) no-repeat right 3px; }
.info h2 { color: #7da4be; font-size: 16px; line-height: 18px; font-weight: normal; }
.info p { margin: 0; font-size: 14px; color: #fff; }
.info a { color: #fff; font-weight: bold; text-decoration: none; }
.info p a {
color: #3EBAE0;
text-decoration: underline;
font-weight: normal;
}
.info a:hover, .info a:active { color: #fff; text-decoration: underline; }
.year {
margin: 30px;
border: 1px solid #ddd;
border-radius: 5px;
}
.year .nav {
padding: 10px;
background-color: #eee;
border: 1px solid #ddd;
border-radius: 5px;
}
.year .nav p {
margin-bottom: 0;
}
"}
</style>
<link rel="stylesheet" type="text/css" href="logs.css?1" />
</head>;
}
}
@font-face {
font-family: 'WebSymbolsRegular';
src: url('fonts/websymbols-regular-webfont.eot');
src: url('fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/websymbols-regular-webfont.woff') format('woff'), url('fonts/websymbols-regular-webfont.ttf') format('truetype'), url('fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: #ffffff;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
font-size: 12px;
padding: 0;
margin: 0;
width: 100%;
}
p {
padding: 0 10px;
}
h1, h2, h3 {
margin: 0;
padding: 0;
}
.irc-date {font-family: Courier New, Courier, mono; white-space: nowrap; max-width: 150px;}
.irc-linenum {text-align: right;}
.irc-green {color: #009200;}
.irc-black {color: #000000;}
.irc-brown {color: #7b0000;}
.irc-navy {color: #00007b;}
.irc-brick {color: #9c009c;}
.irc-red {color: #ff0000;}
table {
border-collapse: collapse;
width: 100%;
padding: 0;
margin: 0;
}
table th {
padding: 0 5px;
}
table td {
vertical-align: text-top;
font-size: 12px;
padding-right: 5px;
max-height: 100%;
}
table.cal {
border-collapse: collapse;
}
table.cal td {
padding-right: 0;
text-align: center;
color: #777;
border: 1px solid #ddd;
}
table.cal a {
text-decoration: none;
}
table.cal a:hover {
text-decoration: underline;
}
table.cal td.odd {
background-color: #eee;
}
table.cal td.empty {
background-color: transparent;
border: 0 none;
}
table.cal th {
padding: 0;
}
.logs :target {
background: gold;
}
a {
color: blue;
}
h1 a, h2 a, h3 a, h4 a {
color: black;
}
div.month {
float: left;
width: 200px;
height: 170px;
margin-left: 10px;
}
div.month h4 {
margin: 15px 0 10px;
}
.clear {
clear: both;
}
h3 {
margin: 0;
}
form {
position: absolute;
right: 60px;
top: 15px;
}
#searchform input.text {
width: 155px;
padding: 5px 34px 5px 10px;
color: #888;
margin: 0;
border: none;
border-radius: 14px;
background: #fff;
font-size: 15px;
}
#searchform input.action {
font-size: 14px;
position: absolute;
right: 2px;
top: 0;
cursor: pointer;
border: none;
padding: 5px;
background: none;
font-family: 'WebSymbolsRegular';
color: #848484;
border-radius: 0;
margin: 0;
}
#searchform input:focus,
#searchform input.action:hover {
color: #000
}
#searchform input:focus {
outline: none
}
.info { margin: 0 0 6px 0; padding: 18px; background-color: #003050; position: relative; line-height: 24px; color: #fff; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #002137), color-stop(10%, #003050), color-stop(90%, #003050), color-stop(100%, #002137)); background-image: -webkit-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: -moz-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: -o-linear-gradient(#002137, #003050 10%, #003050 90%, #002137); background-image: linear-gradient(#002137, #003050 10%, #003050 90%, #002137); }
.info h1 { margin: 0 0 6px 0; padding: 0 32px 0 0; color: #fff; font-size: 24px; text-shadow: 0 1px #002137; line-height: 30px; background: url(logo_small.png) no-repeat right 3px; }
.info h2 { color: #7da4be; font-size: 16px; line-height: 18px; font-weight: normal; }
.info p { margin: 0; font-size: 14px; color: #fff; }
.info a { color: #fff; font-weight: bold; text-decoration: none; }
.info p a {
color: #3EBAE0;
text-decoration: underline;
font-weight: normal;
}
.info a:hover, .info a:active { color: #fff; text-decoration: underline; }
.year {
margin: 30px;
border: 1px solid #ddd;
border-radius: 5px;
}
.year .nav {
padding: 10px;
background-color: #eee;
border: 1px solid #ddd;
border-radius: 5px;
}
.year .nav p {
margin-bottom: 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment