[static-web] Add the vote.gnome.org's CSS files
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [static-web] Add the vote.gnome.org's CSS files
- Date: Wed, 19 Feb 2014 15:46:12 +0000 (UTC)
commit 3134e455d3eb08e4cb85154cc39b930012b4b5e1
Author: Andrea Veri <av gnome org>
Date: Wed Feb 19 16:46:07 2014 +0100
Add the vote.gnome.org's CSS files
css/vote/default.css | 244 +++++++++++++++++++++++++++++++++++++++++++++++
css/vote/foundation.css | 13 +++
2 files changed, 257 insertions(+), 0 deletions(-)
---
diff --git a/css/vote/default.css b/css/vote/default.css
new file mode 100644
index 0000000..1d51628
--- /dev/null
+++ b/css/vote/default.css
@@ -0,0 +1,244 @@
+/* Basic tags */
+body {
+ margin: 0px;
+ background-color: white;
+ font-family: sans-serif;
+ color: black;
+}
+
+#body, #page {
+ margin: 90px 20px;
+ padding: 0px;
+ max-width: 800px;
+}
+
+a img {
+ border: 0px;
+}
+
+/* Anchors */
+a {
+ color: #0000ff;
+}
+
+a:visited {
+ color: #551a8b;
+}
+
+a:active {
+ color: #ff0000;
+}
+
+/* Basic classes */
+
+.none { /* to add paragraph spacing to various elements for ttys */
+ margin: 0px;
+ padding: 0px;
+}
+
+.invisible { /* stuff that should appear when this css isn't used */
+ margin: 0px;
+ border: 0px;
+ padding: 0px;
+ height: 0px;
+ visibility: hidden;
+}
+
+.left {
+ margin: 10px;
+ padding: 0px;
+ float: left;
+}
+
+.right {
+ margin: 10px;
+ padding: 0px;
+ float: right;
+}
+
+.center {
+ text-align: center;
+}
+
+/* Common page elements: Header, footer, etc. */
+
+#logo {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ border: 0px;
+ z-index: 10;
+
+ background: url("/img/logo/text-64") no-repeat;
+ width: 64px;
+ height: 64px;
+}
+
+#logo a img {
+ width: 64px;
+ height: 64px;
+}
+
+#hdr {
+ position: absolute;
+ z-index: 5;
+
+ top: 0px;
+ left: 0px;
+ right: 0px;
+ width: 100%;
+ height: 48px;
+
+ text-align: right;
+
+ background: url("/img/hdr/hills01.jpg") no-repeat;
+ background-color: #e3ffc3;
+ border-bottom: 1px solid #807d74;
+}
+
+#banner {
+ position: absolute;
+ z-index: 10;
+
+ top: 0px;
+ right: 0px;
+ border: 0px;
+
+ width: 300px;
+ height: 48px;
+
+ background: url("/img/spacer") no-repeat;
+}
+
+#banner a img {
+ width: 300px;
+ height: 48px;
+}
+
+#hdrNav {
+ position: absolute;
+ top: 54px;
+ left: 0px;
+
+ margin-left: 84px;
+ text-align: left;
+ vertical-align: middle;
+ font-size: small;
+}
+
+#hdrNav a {
+ color: #000000;
+}
+
+#hdrTitle {
+ height: 48px;
+ padding: 10px 10px 0px 0px;
+ font-weight: bold;
+}
+
+
+/* Search thingy */
+
+#search {
+ font-size: small;
+ margin-bottom: 10px;
+ padding: 10px;
+ background-color: #dddddd;
+}
+
+#search input {
+ border: 1px solid #666666;
+ background-color: #ffffff;
+
+ vertical-align: middle;
+}
+
+
+/* Sidebar */
+
+#sidebar {
+ position: absolute;
+ top: 90px;
+ right: 0px;
+ width: 210px;
+
+ /*margin-right: 10px;*/
+ padding-right: 10px;
+ padding-bottom: 0px;
+ border-left: 1px dashed #dddddd;
+ background-color: #ffffff;
+}
+
+#sidebar p {
+ margin-top: 0px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+#sidebar p.section {
+ text-align: center;
+ font-weight: bold;
+ padding-top: 3px;
+ padding-bottom: 3px;
+ color: #999999;
+ background-color: #eeeeee;
+}
+
+#sidebar ul {
+ margin: 0em;
+ margin-bottom: 15px;
+ padding-left: 10px;
+ padding-right: 10px;
+ list-style-type: none;
+}
+
+#sidebar ul ul {
+ padding-left: 2em;
+ padding-right: 0em;
+ list-style-type: square;
+}
+
+
+/* Copyright footer */
+
+#copyright {
+ text-align: center;
+ font-size: small;
+ clear: both;
+
+ margin-top: 10px;
+ padding: 5px 0px 5px 0px;
+ color: #aaaaaa;
+}
+
+#copyright a {
+ color: #aaaaff;
+}
+
+#copyright a:visited {
+ color: #ffaaaa;
+}
+
+
+/* News Sections */
+
+p.newsitem {
+ clear: left;
+ margin-bottom: 20px;
+}
+
+p.newsitem img.newsicon {
+ float: left;
+ margin: 0px 10px 10px 10px;
+ border: 0px;
+}
+
+
+/* Generic Classes */
+
+div.code {
+ background-color: #e0e0e0;
+ color: #000000;
+ white-space: pre;
+ font-family: monospace;
+}
diff --git a/css/vote/foundation.css b/css/vote/foundation.css
new file mode 100644
index 0000000..458f67d
--- /dev/null
+++ b/css/vote/foundation.css
@@ -0,0 +1,13 @@
+#hdr {
+ background: none;
+ background-color: #494066;
+}
+
+#sidebar {
+ border-left: 1px dashed #494066;
+}
+
+#sidebar p.section {
+ background-color: #494066;
+ color: white;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]