Webpage style and first content.
authoryannux <yannux@onbebop.net>
Wed, 18 Aug 2010 08:36:39 +0000 (10:36 +0200)
committeryannux <yannux@onbebop.net>
Wed, 18 Aug 2010 08:36:39 +0000 (10:36 +0200)
www/images/banner.jpg [new file with mode: 0644]
www/images/menu-background.png [new file with mode: 0644]
www/images/menu-hover.png [new file with mode: 0644]
www/styles.css [new file with mode: 0644]

diff --git a/www/images/banner.jpg b/www/images/banner.jpg
new file mode 100644 (file)
index 0000000..331d7ca
Binary files /dev/null and b/www/images/banner.jpg differ
diff --git a/www/images/menu-background.png b/www/images/menu-background.png
new file mode 100644 (file)
index 0000000..d637ad3
Binary files /dev/null and b/www/images/menu-background.png differ
diff --git a/www/images/menu-hover.png b/www/images/menu-hover.png
new file mode 100644 (file)
index 0000000..4ede7ff
Binary files /dev/null and b/www/images/menu-hover.png differ
diff --git a/www/styles.css b/www/styles.css
new file mode 100644 (file)
index 0000000..8886fd8
--- /dev/null
@@ -0,0 +1,120 @@
+body {\r
+       margin: 0 0 1em 0;\r
+       padding: 0;\r
+       color: black;\r
+       background-color: #eee;\r
+       line-height: 130%;\r
+       font-family: arial, helvetica, verdana, tahoma, sans-serif;\r
+       text-align: center;\r
+}\r
+\r
+#wrapper-header {      background: #222; }\r
+\r
+#header {\r
+       background: #222 /*url('images/banner.jpg') right no-repeat*/;\r
+       width: 85%;\r
+       height: 125px;\r
+       line-height: 125px;\r
+       margin: 0 auto;\r
+       border-left: 1px solid #707070;\r
+       border-right: 1px solid #707070;\r
+       text-align: left;\r
+}\r
+\r
+#header h1 {\r
+       margin: 0;\r
+       padding: 0;\r
+       color: #fff;\r
+       font-size: 220%;\r
+       padding-left: 10px;\r
+       letter-spacing: -1px;\r
+}\r
+\r
+#wrapper-menu {\r
+       background: #fff url('images/menu-background.png') top left repeat-x;\r
+       float: left;\r
+       width: 100%;\r
+}\r
+\r
+#menu {\r
+       width: 85%;\r
+       margin: 0 auto;\r
+       font-size: 95%;\r
+       white-space: nowrap; /* stops half a menu link dropping to next line. Instead, the whole link will drop. This only happens if you have a lot of menu links, and large text size */\r
+       padding-right: 2px;     /* The menu far left, and far right borders are not quite lining up in non IE browsers for some reason. This makes it less noticable */\r
+}\r
+\r
+* html #menu { padding-right: 0; } /* See above comment. This re-adjusts IE to the above padding */\r
+\r
+#menu ul {\r
+       margin: 0;\r
+       padding: 0;\r
+       list-style: none;\r
+       float: left;\r
+       border-left: 1px solid #707070;\r
+       border-right: 1px solid #707070;\r
+       width: 100%;\r
+}\r
+\r
+#menu li { display: inline; }\r
+\r
+#menu a:link, #menu a:visited {\r
+       padding: 0.25em 1em;\r
+       background: transparent;\r
+       color: #fff;\r
+       text-decoration: none;\r
+       float: left;\r
+       border-right: 1px solid #707070;\r
+}\r
+\r
+#menu a:hover {\r
+       background: #b6e41c url('images/menu-hover.png') repeat-x;\r
+       color: #485b06;\r
+}\r
+\r
+#content {\r
+       width: 83%; /* 93% because it has 1% padding on each side, which brings it to 95% wide */\r
+       margin: 0 auto;\r
+       padding: 3.5em 1% 20px 1%;\r
+       border-left: 1px solid #707070;\r
+       border-right: 1px solid #707070;\r
+       background: white;\r
+       font-size: 90%;\r
+       text-align: left;\r
+}\r
+\r
+* html #content { padding-top: 1.8em; } /* Set padding top in IE to 20px */\r
+\r
+#footer {\r
+       margin: 0 auto;\r
+       padding: 2px 1%;\r
+       width: 83%;\r
+       text-align: right;\r
+       color: white;\r
+       letter-spacing: 0.15em;\r
+       background: #88ac0b url('images/menu-background.png') top left repeat-x;\r
+       border-left: 1px solid #707070;\r
+        border-right: 1px solid #707070;\r
+       font-size: 80%;\r
+}\r
+\r
+h2 {\r
+       color: #666;\r
+       padding-bottom: 3px;\r
+       border-bottom: 1px solid #ff8630;\r
+       font-size: 150%;\r
+       letter-spacing: -1px;\r
+}\r
+\r
+\r
+a:link, a:visited {\r
+       color: #FF9A00;\r
+       text-decoration: none;\r
+}\r
+\r
+a:hover {\r
+       color: #000;\r
+       text-decoration: underline;\r
+}\r
+\r
+p { margin-left: 1em; }
\ No newline at end of file