Permalink
Browse files

Moved stylesheets into a separate file for use with the {CustomCSS} tag

  • Loading branch information...
splorp committed Mar 26, 2012
1 parent f5d3bcf commit a9c9bf6f00c123cec75fcc2bf3f21fadd8eb6913
Showing with 242 additions and 23 deletions.
  1. +241 −0 theme.css
  2. +1 −23 theme.html
View
241 theme.css
@@ -0,0 +1,241 @@
+
+/*
+ Tersus Reset CSS
+
+ Portions based on YUI Reset CSS 2.8.2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
+ Code licensed under the BSD License:
+ http://developer.yahoo.com/yui/license.html
+*/
+
+
+html {
+ color: #000;
+ background: #FFF;
+ }
+
+body,
+button,
+div,
+dl, dt, dd,
+ul, ol, li,
+h1, h2, h3, h4, h5, h6,
+pre,
+code,
+form,
+fieldset,
+legend,
+input,
+textarea,
+p,
+blockquote,
+th, td {
+ margin: 0;
+ padding: 0;
+ background: transparent;
+ }
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ }
+
+fieldset,
+img {
+ border: 0;
+ }
+
+address,
+caption,
+cite,
+code,
+dfn,
+em,
+strong,
+th,
+var,
+optgroup {
+ font-style: inherit;
+ font-weight: inherit;
+ }
+
+del,
+ins {
+ text-decoration: none;
+ }
+
+li {
+ list-style: none;
+ }
+
+caption,
+th {
+ text-align: left;
+ }
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-size: 100%;
+ font-weight: normal;
+ }
+
+q:before,
+q:after {
+ content: '';
+ }
+
+abbr,
+acronym {
+ border: 0;
+ font-variant: normal;
+ }
+
+sup {
+ vertical-align: baseline;
+ }
+
+sub {
+ vertical-align: baseline;
+ }
+
+input,
+button,
+textarea,
+select,
+optgroup,
+option {
+ font-family: inherit;
+ font-size: inherit;
+ font-style: inherit;
+ font-weight: inherit;
+}
+
+:focus {
+ outline: 0;
+ }
+
+
+/*
+ Tersus Base CSS
+
+ Portions based on YUI Base CSS 2.8.2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
+ Code licensed under the BSD License:
+ http://developer.yahoo.com/yui/license.html
+*/
+
+
+body {
+ margin: 10px;
+ font-family: helvetica, arial, sans-serif;
+ }
+
+h1 {
+ font-size: 2.5em;
+ }
+
+h2 {
+ font-size: 2.0em;
+ }
+
+h3 {
+ font-size: 1.5em;
+ }
+
+h1, h2, h3 {
+ margin: 0.5em 0;
+ }
+
+h1, h2, h3, h4, h5, h6,
+strong,
+dt {
+ font-weight: bold;
+ }
+
+optgroup {
+ font-weight: normal;
+ }
+
+abbr,
+acronym {
+ border-bottom: 1px dotted #000;
+ cursor: help;
+ }
+
+em {
+ font-style: italic;
+ }
+
+del {
+ text-decoration: line-through;
+ }
+
+blockquote, ul, ol, dl {
+ margin: 1em;
+ }
+
+ol, ul, dl {
+ margin-left: 2em;
+ }
+
+ol li {
+ list-style: decimal outside;
+ }
+
+ul li {
+ list-style: disc outside;
+ }
+
+dl dd {
+ margin-left: 1em;
+ }
+
+th, td {
+ border: 1px solid #000;
+ padding: .5em;
+ }
+
+th {
+ font-weight: bold;
+ text-align: center;
+ }
+
+caption {
+ margin-bottom: .5em;
+ text-align: center;
+ }
+
+sup {
+ vertical-align: super;
+ }
+
+sub {
+ vertical-align: sub;
+ }
+
+p,
+fieldset,
+table,
+pre {
+ margin-bottom: 1em;
+ }
+
+/*
+ Opera requires 1px of passing to render with contemporary native chrome
+*/
+
+button,
+input[type="checkbox"],
+input[type="radio"],
+input[type="reset"],
+input[type="submit"] {
+ padding: 1px;
+ }
+
+a img {
+ border: none;
+ }
View
@@ -16,29 +16,7 @@
<link rel="apple-touch-icon" href="{PortraitURL-128}" />
<link rel="alternate" type="application/rss+xml" href="{RSS}" />
<style type="text/css">
-
- /*
- Tersus Reset CSS
-
- Portions based on YUI Reset CSS 2.8.2
- Copyright (c) 2010, Yahoo! Inc. All rights reserved.
- Code licensed under the BSD License:
- http://developer.yahoo.com/yui/license.html
- */
-
- html { color: #000; background: #FFF; } body, button, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; background: transparent; } table { border-collapse: collapse; border-spacing: 0; } fieldset, img { border: 0; } address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-style: inherit; font-weight: inherit; } del, ins { text-decoration: none; } li { list-style: none; } caption, th { text-align: left; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } q:before, q:after { content: ''; } abbr, acronym { border: 0; font-variant: normal; } sup { vertical-align: baseline; } sub { vertical-align: baseline; } input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; } :focus { outline: 0; }
-
- /*
- Tersus Base CSS
-
- Portions based on YUI Base CSS 2.8.2
- Copyright (c) 2010, Yahoo! Inc. All rights reserved.
- Code licensed under the BSD License:
- http://developer.yahoo.com/yui/license.html
- */
-
- body { margin: 10px; } h1 { font-size: 2.5em; } h2 { font-size: 1.5em; } h3 { font-size: 1.2em; } h1, h2, h3 { margin: 0.5em 0; } h1, h2, h3, h4, h5, h6, strong, dt { font-weight: bold; } optgroup { font-weight: normal; } abbr, acronym { border-bottom: 1px dotted #000; cursor: help; } em { font-style: italic; } del { text-decoration: line-through; } blockquote, ul, ol, dl { margin: 1em; } ol, ul, dl { margin-left: 2em; } ol li { list-style: decimal outside; } ul li { list-style: disc outside; } dl dd { margin-left: 1em; } th, td { border: 1px solid #000; padding: .5em; } th { font-weight: bold; text-align: center; } caption { margin-bottom: .5em; text-align: center; } sup { vertical-align: super; } sub { vertical-align: sub; } p, fieldset, table, pre { margin-bottom: 1em; } button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"] { padding:1px; } a img { border: none; }
-
+ {CustomCSS}
</style>
</head>
<body>

0 comments on commit a9c9bf6

Please sign in to comment.