r895 - in html/trunk: common css lfs

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sat Apr 28 07:45:20 PDT 2007


Author: jhuntwork
Date: 2007-04-28 08:45:20 -0600 (Sat, 28 Apr 2007)
New Revision: 895

Removed:
   html/trunk/lfs/adsense-header.html
   html/trunk/lfs/adsense-main-header.html
   html/trunk/lfs/adsense.css
   html/trunk/lfs/adsense.html
   html/trunk/lfs/adsense/
Modified:
   html/trunk/common/footer.html
   html/trunk/common/header.html
   html/trunk/css/main.css
Log:
Added site-wide AdSense code using a vertical layout. Removed the temporary AdSense pages.

Modified: html/trunk/common/footer.html
===================================================================
--- html/trunk/common/footer.html	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/common/footer.html	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,5 +1,5 @@
+       <br />
       <div id="footer">
-       <hr />
        <p>© 1998-2007 Gerard Beekmans. Website design by Jeremy Huntwork & Matthew Burgess.</p>
       </div>
      </div>

Modified: html/trunk/common/header.html
===================================================================
--- html/trunk/common/header.html	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/common/header.html	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,28 +1,53 @@
-<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html>
   <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     <title><!--#echo var="pageTitle" --></title>
     <link rel="stylesheet" type="text/css" href="/css/main.css" />
   </head>
   <body>
     <div id="banner"><a href="/index.html"><img src="/images/lfs-logo.png"
 	alt="Linux From Scratch | Your Distro, Your Rules" /></a></div>
-    <!-- Commenting this out as it breaks the page as it is not in any
-         kind of container and does not display properly
-         SiteSearch Google
-    -->
-    <form id ="search" method="get" action="http://www.google.com/search">
+    <!-- SiteSearch Google -->
+    <form id ="search" method="get" action="http://www.google.com/custom">
       <p>
-        <input type="hidden" name="ie" value="UTF-8" />
-        <input type="hidden" name="oe" value="UTF-8" />
-        <input type="hidden" name="domains" value="linuxfromscratch.org" />
-        <input type="hidden" name="sitesearch" value="linuxfromscratch.org" />
-        <input type="text" name="q" size="31" maxlength="255" />
-        <input type="submit" name="btnG" value="Google Search" />
+         <input type="hidden" name="client" value="pub-1920546463376456" />
+         <input type="hidden" name="forid" value="1" />
+         <input type="hidden" name="ie" value="UTF-8" />
+         <input type="hidden" name="oe" value="UTF-8" />
+         <input type="hidden" name="safe" value="active" />
+         <input type="hidden" name="cof"
+          value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:128;L:http://www.linuxfromscratch.org/images/lfs-logo.png;S:http://www.linuxfromscratch.org;FORID:1" />
+         <input type="hidden" name="hl" value="en" />
+         <input type="hidden" name="domains" value="www.linuxfromscratch.org" />
+	 <input type="text" name="q" size="31" maxlength="255" id="sbi" />
       </p>
+      <p>
+         <input type="submit" name="sa" value="Google Search" id="sbb" />
+         <input type="radio" name="sitesearch" value="" id="ss0" />
+         <label for="ss0" title="Search the Web">Web</label>
+         <input type="radio" name="sitesearch" value="www.linuxfromscratch.org" checked="checked" id="ss1" />
+         <label for="ss1" title="Search www.linuxfromscratch.org">LFS</label>
+      </p>
     </form> 
+
+   <div id="adsense">
+      <!-- Google Adsense code -->
+          <script type="text/javascript"><!--
+            google_ad_client = "pub-1920546463376456";
+            google_ad_width = 160;
+            google_ad_height = 600;
+            google_ad_format = "160x600_as";
+            google_ad_type = "text";
+            google_ad_channel = "";
+          //-->
+          </script>
+          <script type="text/javascript"
+            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+          </script>
+      <!-- -->
+   </div>
    <!-- Search Mailing Lists -->
    <!--
    <form id="search" method="get" action="http://search.linuxfromscratch.org/index.cgi">

Modified: html/trunk/css/main.css
===================================================================
--- html/trunk/css/main.css	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/css/main.css	2007-04-28 14:45:20 UTC (rev 895)
@@ -61,10 +61,19 @@
 
 #search {
 	position: absolute;
-	right: 0;
-	top: 20px;
+	right: 20px;
+	top: 0px;
 	margin: 5pt 0 5pt 0;
 }
+
+#adsense {
+	position: absolute;
+	right: 0;
+	top: 118px;
+	padding: 15px 0px 15px 10px;
+	border-left: 1px solid #ccc;
+}
+
 select {
 	color: #333;
 }
@@ -266,9 +275,11 @@
 	position: absolute;
 	top: 140px;
 	left: 150px;
+	padding-right: 180px;
 }
 #footer {	
-	margin-top: 30px;
+	border-top: 1px solid #ccc;
+	margin-top: 10px;
 }
 
 #footer p {

Deleted: html/trunk/lfs/adsense-header.html
===================================================================
--- html/trunk/lfs/adsense-header.html	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/lfs/adsense-header.html	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,13 +0,0 @@
-<!--#include virtual="adsense-main-header.html" -->
-    <div class="navbar">
-      <ul id="menu">
-        <li><a id="patches" href="/patches/">Patches</a></li>
-	<li><a id="livecd" href="/livecd/">LiveCD</a></li>
-        <li><a id="hints" href="/hints/">Hints</a></li>
-        <li><a id="hlfs" href="/hlfs/">HLFS</a></li>
-        <li><a id="clfs" href="http://cross-lfs.org/">CLFS</a></li>
-        <li><a id="alfs" href="/alfs/">ALFS</a></li>
-        <li><a id="blfs" href="/blfs/">BLFS</a></li>
-        <li><a id="lfsactive" href="/lfs/">LFS</a></li>
-      </ul>
-    </div>

Deleted: html/trunk/lfs/adsense-main-header.html
===================================================================
--- html/trunk/lfs/adsense-main-header.html	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/lfs/adsense-main-header.html	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html>
-  <head>
-    <title><!--#echo var="pageTitle" --></title>
-    <link rel="stylesheet" type="text/css" href="adsense.css" />
-  </head>
-
-  <body>
-
-    <table class="header">
-      <tr>
-
-      <!-- The LFS banner. -->
-        <td class="logo">
-          <a href="/index.html"><img src="/images/lfs-logo.png"
-             alt="Linux From Scratch | Your Distro, Your Rules" /></a>
-        </td>
-      <!-- -->
-
-      <!-- Google Adsense code -->
-        <td class="adsense">
-          <script type="text/javascript"><!--
-            google_ad_client = "pub-1920546463376456";
-            google_ad_width = 728;
-            google_ad_height = 90;
-            google_ad_format = "728x90_as";
-            google_ad_type = "text";
-            google_ad_channel = "";
-          //-->
-          </script>
-          <script type="text/javascript"
-            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-          </script>
-        </td>
-      <!-- -->
-
-      <!-- Google Search code -->
-        <td class="search">
-          <form id="search" method="get" action="http://www.google.com/custom">
-            <table>
-              <tr>
-                <td>
-                  <label for="sbb" style="display: none">Submit search form</label>
-                  <input type="hidden" name="client" value="pub-1920546463376456"></input>
-                  <input type="hidden" name="forid" value="1"></input>
-                  <input type="hidden" name="ie" value="ISO-8859-1"></input>
-                  <input type="hidden" name="oe" value="ISO-8859-1"></input>
-                  <input type="hidden" name="safe" value="active"></input>
-                  <input type="hidden" name="cof"
-                    value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:128;L:http://www.linuxfromscratch.org/images/lfs-logo.png;S:http://www.linuxfromscratch.org;FORID:1"></input>
-                  <input type="hidden" name="hl" value="en"></input>
-                  <input type="hidden" name="domains" value="www.linuxfromscratch.org"></input>
-                  <label for="sbi" style="display: none">Enter your search terms</label>
-                  <input type="text" name="q" size="25" maxlength="255" value="" id="sbi"></input>
-                </td>
-              </tr>
-              <tr>
-                <td>
-                  <input type="radio" name="sitesearch" value="" id="ss0"></input>
-                  <label for="ss0" title="Search the Web">Web</label>
-                  <input type="radio" name="sitesearch" value="www.linuxfromscratch.org" checked="checked" id="ss1"></input>
-                  <label for="ss1" title="Search www.linuxfromscratch.org">LFS</label>
-                  <input type="submit" name="sa" value="Google Search" id="sbb"></input>
-                </td>
-              </tr>
-            </table>
-          </form>
-        </td>
-      <!-- -->
-
-      </tr>
-    </table>

Deleted: html/trunk/lfs/adsense.css
===================================================================
--- html/trunk/lfs/adsense.css	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/lfs/adsense.css	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,309 +0,0 @@
-body {
-	background: #fefefe;
-	font: .8em sans-serif, Arial;
-	color: black;
-	border: 0;
-	margin: 0;
-}
-
-h1 {
-	color: #333;
-	font-size: 1.7em;
-}
-h2 {
-	color: #333;
-	font-size: 1.4em;
-}
-
-.newsItem {
-	padding-bottom: 5pt;
-	border-bottom: 1px dotted #0c0470;
-}
-
-.newsItem p { margin: 10pt 0 10pt 0; }
-
-.errorMsg {
-	font-weight: bold;
-	color: red;
-}
-
-.pagenav {
-	list-style-type: none;
-	margin-left: -10pt;
-}
-
-.results {
-	margin: 10pt;
-	padding: 10pt;
-	background-color: #eee;
-	border-bottom: 1px solid #ccc;
-	border-right: 1px solid #ccc;
-	border-top: 2px solid #777;
-	border-left: 2px solid #777;
-	list-style-type: none;
-}
-
-.results strong, .results em {
-	color: navy;
-	font-weight: bold;
-}
-
-.results small {
-	font-size: .8em;
-}
-
-p {
-	margin: 10pt;
-}
-
-select {
-	color: #333;
-}
-select:hover {
-}
-input {
-	border: 1px solid #ccc;
-	background: #eee;
-	color: #777;
-}
-input:hover {
-	color: #004090;
-	background: #ddd;
-}
-
-/*  HEADER */
-
-.header {
-  width: 100%;
-  margin-top: .6em;
-  margin-left: .6em;
-  margin-right: .6em;
-}
-
-.logo a:link {
-  border: none;
-}
-
-.logo img {
-  margin-right: .6em
-}
-
-.adsense * {
-  text-align: center;
-}
-
-.search table tr {
-  text-align: center;
-}
-
-/*   */
-
-div.navbar {
-	position: absolute;
-	top: 110px;
-	border: 0;
-	margin: 0;
-	width: 100%;
-	padding: 0;
-	background-color: #eee;
-	text-align: right;
-	border-top: solid 1px #ccc;
-  	border-bottom: solid 1px #ccc;
-}
-
-#menu {
-  list-style-type: none;
-  padding: 0;
-  margin: 0;
-  text-align: right;
-}
-
-#menu li {
-  display: inline;
-  padding: 0;
-  margin: 0;
-  text-align: right;
-}
-
-#menu a {
-  float: right;
-  display: block;
-  padding: 5px 20px;
-  margin: 0;
-  border-bottom: none;
-  text-decoration: none;
-}
-
-#lfsactive:link, #lfsactive:visited, #alfsactive:link, #alfsactive:visited, #blfsactive:link, #blfsactive:visited, #hlfsactive:link, #hlfsactive:visited, #hintsactive:link, #hintsactive:visited, #livecdactive:link, #livecdactive:visited, #patchesactive:link, #patchesactive:visited {
-  color: white;
-  font-weight: bold;
-  padding: 5px 20px;
-}
-
-#lfs:link, #lfs:visited, #blfs:link, #blfs:visited, #alfs:link, #alfs:visited, #clfs:link, #clfs:visited, #hlfs:link, #hlfs:visited, #hints:link, #hints:visited, #livecd:link, #livecd:visited, #patches:link, #patches:visited {
-  font-weight: bold;
-  color: #777;
-}
-
-#lfs:hover, #lfsactive:hover, #alfs:hover, #alfsactive:hover, #blfs:hover, #blfsactive:hover, #clfs:hover, #hlfs:hover, #hlfsactive:hover, #hints:hover, #hintsactive:hover, #livecd:hover, #livecdactive:hover, #patches:hover, #patchesactive:hover { background-color: #ddd }
-
-#subs {
-  list-style-type: none;
-}
-
-#subs li {
-  margin-top: 10px;
-  margin-bottom: 10px;
-}
-
-#leftmenu ul {
-  text-align: right;
-  font-weight: bold;
-  background: #eee;
-  list-style-type: none;
-  position: absolute;
-  left: 0px;
-  top: 137px;
-  border-top: none;
-  border-right: solid 1px #ccc;
-  padding: 0;
-  margin: 0;
-}
-
-#leftmenu li {
-  margin: 0;
-  border-bottom: solid 1px #ddd;
-}
-
-#leftmenu a {
-  text-decoration: none;
-  border: none;
-  display: block;
-  margin: 0;
-  padding: 5px 10px;
-  color: #777;
-}
-
-#leftmenulist a:hover {
-  background: #777;
-  color: white;
-}
-
-#lfsmenulist a:hover {
-  background: #0072ff;
-  color: white;
-}
-
-#alfsmenulist a:hover {
-  background: #92d800;
-  color: white;
-}
-
-#blfsmenulist a:hover {
-  background: #a27700;
-  color: white;
-}
-
-#hlfsmenulist a:hover {
-  background: #fd7700;
-  color: white;
-}
-
-#hintsmenulist a:hover {
-  background: #8400ff;
-  color: white;
-}
-
-#livecdmenulist a:hover {
-  background: red;
-  color: white;
-}
-
-#patchesmenulist a:hover {
-  background: #0c0470;
-  color: white;
-}
-
-#lfsactive:link, #lfsactive:visited {
-  background: #0072ff;
-}
-#alfsactive:link, #alfsactive:visited {
-  background: #92d800;
-}
-#blfsactive:link, #blfsactive:visited {
-  background: #a27700;
-}
-#hlfsactive:link, #hlfsactive:visited {
-  background: #fd7700;
-}
-#hintsactive:link, #hintsactive:visited {
-  background: #8400ff;
-}
-#livecdactive:link, #livecdactive:visited {
-  background: red;
-}
-#patchesactive:link, #patchesactive:visited {
-  background: #0c0470;
-}
-
-em {
-	font-weight: bold;
-	color: #444;
-}
-dt {
-	font-weight: bold;
-}
-a img, a:link, a:hover {
-	border: none;
-}
-a:link {
-	text-decoration: none;
-	color: #0072ff;
-	border-bottom: groove 1px #0072ff;
-}
-a:visited {
-	text-decoration: none;
-	color: navy;
-	border-bottom: groove 1px navy;
-}
-a:hover {
-	text-decoration: none;
-	color: #004090;
-	border-bottom: dotted 1px #004090;
-}
-div.main {
-	position: absolute;
-	top: 140px;
-	left: 150px;
-}
-#footer {
-	margin-top: 30px;
-}
-
-#footer p {
-	color: #bcbcbc;
-	font-size: .8em;
-}
-
-.cmd {
-       font      : 1.1em monospace;
-       background: #eee;
-       padding   : 5pt 0;
-       margin    : 0 10pt;
-       border    : 1px dashed #0c0470;
-     }
-.cmd p { margin: 10pt 15pt; }
-
-.note {
-        /*font      : 1.1em fantasy;*/
-        background: #eee;
-        border    : dashed 1px red;
-        padding   : 3pt;
-        margin    : 0 10pt;
-}
-
-hr {
-  background: #eee;
-  height: 1px;
-}
-

Deleted: html/trunk/lfs/adsense.html
===================================================================
--- html/trunk/lfs/adsense.html	2007-04-27 19:08:24 UTC (rev 894)
+++ html/trunk/lfs/adsense.html	2007-04-28 14:45:20 UTC (rev 895)
@@ -1,69 +0,0 @@
-<!--#set var="pageTitle" value="LFS Project Homepage" -->
-<!--#include virtual="adsense-header.html" -->
-<!--#include virtual="menu.html" -->
-    <div class="main">
-     <h1>What is Linux From Scratch?</h1>
-     <p>Linux From Scratch (LFS) is a project that provides you with
-        step-by-step instructions for building your own customized Linux system
-        entirely from source.
-     </p>
-
-     <h2>Why would I want an LFS system?</h2>
-     <p>Many wonder why they should go through the hassle of building a Linux
-        system from scratch when they could just download an existing Linux
-        distribution. However, there are several benefits of building LFS.
-        Consider the following:
-     </p>
-     <p><em>LFS teaches people how a Linux system works internally</em><br />
-	Building LFS teaches you about all that makes Linux tick, how things
-	work together and depend on each other. And most importantly, how to
-	customize it to your own tastes and needs.
-     </p>
-     <p><em>Building LFS produces a very compact Linux system</em><br />
-	When you install a regular distribution, you often end up installing a lot of programs that
-	you would probably never use. They're just sitting there taking up (precious)
-	disk space. It's not hard to get an LFS system installed under 100 MB. Does
-	that still sound like a lot? A few of us have been working on creating a
-	very small embedded LFS system. We installed a system that was just enough
-	to run the Apache web server; total disk space usage was approximately 8 MB.
-	With further stripping, that can be brought down to 5 MB or less. Try that
-	with a regular distribution.
-     </p>
-     <p><em>LFS is extremely flexible</em><br />
-	Building LFS could be compared to a finished
-	house. LFS will give you the skeleton of a house, but it's up to you to install
-	plumbing, electrical outlets, kitchen, bath, wallpaper, etc. You have the ability
-	to turn it into whatever type of system you need it to be, customized completely
-	for you.
-     </p>
-     <p><em>LFS offers you added security</em><br />
-	You will compile the entire system from
-	source, thus allowing you to audit everything, if you wish to do so, and apply
-	all the security patches you want or need to apply. You don't have to wait for
-	someone else to provide a new binary package that (hopefully) fixes a security hole.
-	Often, you never truly know whether a security hole is fixed or not unless you do it
-	yourself.
-     </p>
-
-     <h2>What can I do with my LFS system?</h2>
-     <p>A by-the-book LFS system is fairly minimal, but is designed to provide a
-        strong base on which you can add any packages you want.  See the
-        <a href="../blfs/">BLFS project</a> for a
-        selection of commonly used packages.
-     </p>
-
-     <h2>Who's who:</h2>
-     <ul>
-        <li>Project Leader: Gerard Beekmans</li>
-        <li>Project Co-leader: Matthew Burgess</li>
-        <li>Editor: Jim Gifford</li>
-        <li>Editor: Jeremy Huntwork</li>
-        <li>Editor: Archaic</li>
-        <li>Editor: Ken Moffat</li>
-	<li>XML/XSL Editor: Manuel Canales Esparcia</li>
-        <li>Toolchain Maintainer: Ryan Oliver</li>
-	<li>Bootscripts Maintainer: Nathan Coulson</li>
-	<li>Plus numerous people who contribute to the book and its side projects.</li>
-     </ul>
-
-<!--#include virtual="/common/footer.html" -->




More information about the website mailing list