[gnomeweb-wml] projects: fix up the GDM website



commit 77f1b68f87c4ee6f3a13444a3d14fcd652b359e2
Author: Sergio Infante Montero <raulsergio9 gmail com>
Date:   Fri May 24 11:55:51 2013 -0400

    projects: fix up the GDM website
    
    This commit makes some quick adjustments to the GDM website,
    so that it shows a style similar to the Rhythmbox website.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661545

 projects.gnome.org/gdm/about.html               |   17 +-
 projects.gnome.org/gdm/default.css              |  239 +++++++++++++++++++++++
 projects.gnome.org/gdm/developers.html          |   17 +-
 projects.gnome.org/gdm/gdm.css                  |   10 +-
 projects.gnome.org/gdm/images/documentation.png |  Bin 0 -> 1389 bytes
 projects.gnome.org/gdm/images/favicon.png       |  Bin 0 -> 650 bytes
 projects.gnome.org/gdm/images/gnome.png         |  Bin 0 -> 4385 bytes
 projects.gnome.org/gdm/images/top-bg.png        |  Bin 0 -> 635 bytes
 projects.gnome.org/gdm/index.html               |   17 +-
 9 files changed, 266 insertions(+), 34 deletions(-)
---
diff --git a/projects.gnome.org/gdm/about.html b/projects.gnome.org/gdm/about.html
index c5b8993..f2bf299 100644
--- a/projects.gnome.org/gdm/about.html
+++ b/projects.gnome.org/gdm/about.html
@@ -1,12 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html>
+<!Doctype html>
+<html lang='en'>
 <head>
     <title>GDM - GNOME Display Manager</title>
-    <link rel="stylesheet" type="text/css" href="http://www.gnome.org/default.css"; />
+    <link rel="stylesheet" type="text/css" href="default.css" />
     <link rel="stylesheet" type="text/css" href="gdm.css" />
-    <link rel="icon" type="image/png" href="images/favicon.png" />
-</head>
+    <link rel="icon" type="image/png" href="images/gnome.png" />
+</head> 
 
 <body>
 
@@ -47,14 +46,12 @@ file in the gdm SVN module.
 
 <div id="sidebar">
 
-    <p class="section">Downloads</p>
+ <p class="section">Downloads</p>
     <p>GDM should come bundled with your distribution.</p>
     <p>The latest releases can always be found at the
        <a href="http://ftp.gnome.org/pub/GNOME/sources/gdm";>GNOME ftp site</a>.</p>
     <p>The latest stable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.30";>2.30.x</a>.</p>
-    <p>The latest unstable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.31";>2.31.x</a>.</p>
+       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/3.8/";>3.8</a>.</p>
     <br />
 
     <p class="section">Feedback</p>
diff --git a/projects.gnome.org/gdm/default.css b/projects.gnome.org/gdm/default.css
new file mode 100644
index 0000000..253e214
--- /dev/null
+++ b/projects.gnome.org/gdm/default.css
@@ -0,0 +1,239 @@
+/* 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;
+       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/projects.gnome.org/gdm/developers.html b/projects.gnome.org/gdm/developers.html
index 67514bf..dfef56f 100644
--- a/projects.gnome.org/gdm/developers.html
+++ b/projects.gnome.org/gdm/developers.html
@@ -1,18 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html>
+<!Doctype html>
+<html lang='en'>
 <head>
     <title>GDM - GNOME Display Manager</title>
-    <link rel="stylesheet" type="text/css" href="http://www.gnome.org/default.css"; />
+    <link rel="stylesheet" type="text/css" href="default.css" />
     <link rel="stylesheet" type="text/css" href="gdm.css" />
-    <link rel="icon" type="image/png" href="images/favicon.png" />
-</head>
+    <link rel="icon" type="image/png" href="images/gnome.png" />
+</head> 
 
 <body>
 
 <div id="hdr">
     <a href="http://www.gnome.org/";>
-      <img id="logo" src="http://gnome.org/img/logo/text-64"; alt="Gnome" /></a>
+      <img id="logo" src="images/gnome.png" alt="Gnome" /></a>
     <div id="hdrNav">
     <a href="index.html">Home</a> &middot;
     <a href="http://library.gnome.org/admin/gdm/";>Documentation</a> &middot;
@@ -74,9 +73,7 @@ If you want to write documentation for GDM, you should join the
     <p>The latest releases can always be found at the
        <a href="http://ftp.gnome.org/pub/GNOME/sources/gdm";>GNOME ftp site</a>.</p>
     <p>The latest stable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.30";>2.30.x</a>.</p>
-    <p>The latest unstable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.31";>2.31.x</a>.</p>
+       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/3.8/";>3.8</a>.</p>
     <br />
 
     <p class="section">Feedback</p>
diff --git a/projects.gnome.org/gdm/gdm.css b/projects.gnome.org/gdm/gdm.css
index a632bf8..6268a2e 100644
--- a/projects.gnome.org/gdm/gdm.css
+++ b/projects.gnome.org/gdm/gdm.css
@@ -1,9 +1,11 @@
 /* GDM website overrides */
-
 #hdr {
-       background: no-repeat;
-       background-color: #314e6c;
-       background-position: right;
+       background-image: url("images/top-bg.png");
+       background-repeat: repeat-x;
+       margin: 0;
+       padding: 0;
+       height: 80px;
+       overflow: hidden;
 }
 
 .front-screenshot {
diff --git a/projects.gnome.org/gdm/images/documentation.png b/projects.gnome.org/gdm/images/documentation.png
new file mode 100644
index 0000000..904e7cd
Binary files /dev/null and b/projects.gnome.org/gdm/images/documentation.png differ
diff --git a/projects.gnome.org/gdm/images/favicon.png b/projects.gnome.org/gdm/images/favicon.png
new file mode 100644
index 0000000..95c4ff6
Binary files /dev/null and b/projects.gnome.org/gdm/images/favicon.png differ
diff --git a/projects.gnome.org/gdm/images/gnome.png b/projects.gnome.org/gdm/images/gnome.png
new file mode 100644
index 0000000..09a3184
Binary files /dev/null and b/projects.gnome.org/gdm/images/gnome.png differ
diff --git a/projects.gnome.org/gdm/images/top-bg.png b/projects.gnome.org/gdm/images/top-bg.png
new file mode 100644
index 0000000..7a198d5
Binary files /dev/null and b/projects.gnome.org/gdm/images/top-bg.png differ
diff --git a/projects.gnome.org/gdm/index.html b/projects.gnome.org/gdm/index.html
index 82b6a8e..efb3992 100644
--- a/projects.gnome.org/gdm/index.html
+++ b/projects.gnome.org/gdm/index.html
@@ -1,17 +1,16 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html>
+<!Doctype html>
+<html lang='en'>
 <head>
     <title>GDM - GNOME Display Manager</title>
-    <link rel="stylesheet" type="text/css" href="http://www.gnome.org/default.css"; />
+    <link rel="stylesheet" type="text/css" href="default.css" />
     <link rel="stylesheet" type="text/css" href="gdm.css" />
-    <link rel="icon" type="image/png" href="images/favicon.png" />
-</head>
+    <link rel="shortcut icon" type="image/png" href="images/favicon.png" />
+</head> 
 
 <body>
 
 <div id="hdr">
-    <a href="http://www.gnome.org/";><img id="logo" src="http://gnome.org/img/logo/text-64"; alt="Gnome" /></a>
+    <a href="http://www.gnome.org/";><img id="logo" src="images/gnome.png" alt="Gnome" /></a>
     <div id="hdrNav">
     <a href="index.html"><b>Home</b></a> &middot;
     <a href="http://library.gnome.org/admin/gdm/";>Documentation</a> &middot;
@@ -52,9 +51,7 @@ GDM is released under the
     <p>The latest releases can always be found at the
        <a href="http://ftp.gnome.org/pub/GNOME/sources/gdm";>GNOME ftp site</a>.</p>
     <p>The latest stable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.30";>2.30.x</a>.</p>
-    <p>The latest unstable<br /> release is
-       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/2.31";>2.31.x</a>.</p> 
+       <a href="http://ftp.gnome.org/pub/gnome/sources/gdm/3.8/";>3.8</a>.</p>
     <br />
 
     <p class="section">Feedback</p>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]