From: yannux Date: Wed, 18 Aug 2010 08:36:39 +0000 (+0200) Subject: Webpage style and first content. X-Git-Tag: v0.5~31 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=f4ef1705dc72a2b3b291519dda96720fc82059ba;p=vlc-remote Webpage style and first content. --- diff --git a/www/images/banner.jpg b/www/images/banner.jpg new file mode 100644 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 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 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 index 0000000..8886fd8 --- /dev/null +++ b/www/styles.css @@ -0,0 +1,120 @@ +body { + margin: 0 0 1em 0; + padding: 0; + color: black; + background-color: #eee; + line-height: 130%; + font-family: arial, helvetica, verdana, tahoma, sans-serif; + text-align: center; +} + +#wrapper-header { background: #222; } + +#header { + background: #222 /*url('images/banner.jpg') right no-repeat*/; + width: 85%; + height: 125px; + line-height: 125px; + margin: 0 auto; + border-left: 1px solid #707070; + border-right: 1px solid #707070; + text-align: left; +} + +#header h1 { + margin: 0; + padding: 0; + color: #fff; + font-size: 220%; + padding-left: 10px; + letter-spacing: -1px; +} + +#wrapper-menu { + background: #fff url('images/menu-background.png') top left repeat-x; + float: left; + width: 100%; +} + +#menu { + width: 85%; + margin: 0 auto; + font-size: 95%; + 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 */ + 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 */ +} + +* html #menu { padding-right: 0; } /* See above comment. This re-adjusts IE to the above padding */ + +#menu ul { + margin: 0; + padding: 0; + list-style: none; + float: left; + border-left: 1px solid #707070; + border-right: 1px solid #707070; + width: 100%; +} + +#menu li { display: inline; } + +#menu a:link, #menu a:visited { + padding: 0.25em 1em; + background: transparent; + color: #fff; + text-decoration: none; + float: left; + border-right: 1px solid #707070; +} + +#menu a:hover { + background: #b6e41c url('images/menu-hover.png') repeat-x; + color: #485b06; +} + +#content { + width: 83%; /* 93% because it has 1% padding on each side, which brings it to 95% wide */ + margin: 0 auto; + padding: 3.5em 1% 20px 1%; + border-left: 1px solid #707070; + border-right: 1px solid #707070; + background: white; + font-size: 90%; + text-align: left; +} + +* html #content { padding-top: 1.8em; } /* Set padding top in IE to 20px */ + +#footer { + margin: 0 auto; + padding: 2px 1%; + width: 83%; + text-align: right; + color: white; + letter-spacing: 0.15em; + background: #88ac0b url('images/menu-background.png') top left repeat-x; + border-left: 1px solid #707070; + border-right: 1px solid #707070; + font-size: 80%; +} + +h2 { + color: #666; + padding-bottom: 3px; + border-bottom: 1px solid #ff8630; + font-size: 150%; + letter-spacing: -1px; +} + + +a:link, a:visited { + color: #FF9A00; + text-decoration: none; +} + +a:hover { + color: #000; + text-decoration: underline; +} + +p { margin-left: 1em; } \ No newline at end of file