diff options
author | piernov <piernov@piernov.org> | 2013-03-07 00:08:36 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2013-03-07 00:08:36 +0100 |
commit | 7fac0f20beffe1a1b99351893add73d5eef33f2c (patch) | |
tree | 162c2ff1b2aa0709c2de26d0399106b1a5368708 /styles | |
download | RuDynFrame-7fac0f20beffe1a1b99351893add73d5eef33f2c.tar.gz RuDynFrame-7fac0f20beffe1a1b99351893add73d5eef33f2c.tar.bz2 RuDynFrame-7fac0f20beffe1a1b99351893add73d5eef33f2c.tar.xz RuDynFrame-7fac0f20beffe1a1b99351893add73d5eef33f2c.zip |
Diffstat (limited to 'styles')
-rw-r--r-- | styles/msie.css | 10 | ||||
-rw-r--r-- | styles/msie6.css | 77 | ||||
-rw-r--r-- | styles/nohtml5.css | 5 | ||||
-rwxr-xr-x | styles/style.css | 132 | ||||
-rw-r--r-- | styles/xhtml.xsl | 6 |
5 files changed, 230 insertions, 0 deletions
diff --git a/styles/msie.css b/styles/msie.css new file mode 100644 index 0000000..409e8a0 --- /dev/null +++ b/styles/msie.css @@ -0,0 +1,10 @@ +menu { + font-size: 1.0em +} + +menu li { + font-size: 0.5em +} +menu li a, menu li a:visited { + font-size: 2.0em +} diff --git a/styles/msie6.css b/styles/msie6.css new file mode 100644 index 0000000..753643b --- /dev/null +++ b/styles/msie6.css @@ -0,0 +1,77 @@ +body header { + margin-left: 20em; +} + +body header h1 { + text-align: left; + margin-top: 0.5em; +} + +body header a { + float: right; + font-family: Monospace; + font-size: 1.4em; + background-color: #DDDDFF; + margin: 0em; + border-style: solid; + border-width: 0 0 1px 1px; + border-color: black; + border-radius: 0 0 0 1em; + padding: 0.5em; +} + +menu a { + font-size: 0.8em; +} + +menu li { + list-style-type: none; +} + +menu ul li { + list-style-type: square; +} + +body article { + background-color: #DDDDFF; + border: 1px solid; + border-radius: 1em; + padding: 0 1em 1em 1em; +} + +body article header { + margin-left: 0; +} + +body > article > table { + border: 1px solid black; + border-collapse: collapse; +} + +body article table tr th { + border: 1px solid black; + background-color: silver; +} + +body article table tr td { + border: 1px solid black; +} + +body article ul li { + margin-bottom: 1em; +} + +body article footer { + text-align: left; +} + +body section header { + margin-left: 0; +} + +body footer { + color: grey; + text-align: center; + font-size: 0.75em; + margin-top: 1em; +} diff --git a/styles/nohtml5.css b/styles/nohtml5.css new file mode 100644 index 0000000..21c18df --- /dev/null +++ b/styles/nohtml5.css @@ -0,0 +1,5 @@ +/* Make HTML 5 elements display block-level for consistent styling */ +header, nav, article, section, footer, address { + display: block; +} + diff --git a/styles/style.css b/styles/style.css new file mode 100755 index 0000000..01d59d8 --- /dev/null +++ b/styles/style.css @@ -0,0 +1,132 @@ +body {
+ background-color: #EDEDFF;
+ font-family: Sans-Serif;
+ margin-top: 0;
+ margin-right: 0;
+}
+
+a {
+ text-decoration: none;
+ color: blue;
+}
+
+a:visited {
+ color: blue;
+}
+
+a:hover {
+ color: #5555DD;
+}
+
+a img {
+ border: none;
+}
+
+body > header {
+ margin-left: 20em;
+}
+
+body > header > h1 {
+ text-align: left;
+ display:inline-block;
+}
+
+body > header > a {
+ float: right;
+ font-family: Monospace;
+ font-size: 1.4em;
+ background-color: #DDDDFF;
+ margin: 0em;
+ border-style: solid;
+ border-width: 0 0 1px 1px;
+ border-color: black;
+ border-radius: 0 0 0 1em;
+ padding: 0.5em 0.5em 1em 1em;
+
+}
+
+menu {
+ font-family: Monospace;
+ font-size: 1.2em;
+ background-color: #DDDDFF;
+ margin: 0em;
+ border: 1px solid;
+ border-radius: 1em;
+ float:left;
+ padding: 1em;
+}
+
+menu > li {
+ list-style-type: none;
+}
+
+menu > ul > li {
+ list-style-type: square;
+}
+
+.emphase, .emphase:visited {
+ color:#D53030
+}
+
+.emphase:hover {
+ color:#F55050
+}
+
+body > article {
+ background-color: #DDDDFF;
+ border: 1px solid;
+ border-radius: 1em;
+ padding: 0 1em 1em 1em;
+}
+
+body > article > ul > li {
+ margin-bottom: 1em;
+}
+
+body > article > table {
+ border: 1px solid black;
+ border-collapse: collapse;
+}
+
+body > article > table > tr > th {
+ border: 1px solid black;
+ background-color: silver;
+}
+
+body > article > table > tr > td {
+ border: 1px solid black;
+}
+
+body > footer {
+ color: grey;
+ text-align: center;
+ font-size: 0.75em;
+ margin-top: 1em;
+}
+
+#comments {
+ background-color: #DDDDFF;
+ border: 1px solid;
+ border-radius: 1em;
+ padding: 1em;
+ margin-top: 1em;
+}
+
+.comments {
+ background-color: #DDDDFF;
+ border: 1px solid;
+ border-radius: 1em;
+ padding: 1em;
+ margin-top: 1em;
+}
+
+.comments footer {
+ color: #444444;
+ font-size: 0.75em;
+ margin: 1em 0 0 2em;
+}
+
+textarea {
+ width: 100%;
+ overflow: auto;
+}
diff --git a/styles/xhtml.xsl b/styles/xhtml.xsl new file mode 100644 index 0000000..9f28863 --- /dev/null +++ b/styles/xhtml.xsl @@ -0,0 +1,6 @@ +<stylesheet version="1.0" + xmlns="http://www.w3.org/1999/XSL/Transform"> + <template match="/"> + <copy-of select="."/> + </template> +</stylesheet> |