r880 - html/trunk/lfs

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Wed Apr 25 20:50:15 PDT 2007


Author: gerard
Date: 2007-04-25 21:50:15 -0600 (Wed, 25 Apr 2007)
New Revision: 880

Added:
   html/trunk/lfs/adsense.css
Modified:
   html/trunk/lfs/adsense-main-header.html
Log:
layout updates

Modified: html/trunk/lfs/adsense-main-header.html
===================================================================
--- html/trunk/lfs/adsense-main-header.html	2007-04-26 02:59:11 UTC (rev 879)
+++ html/trunk/lfs/adsense-main-header.html	2007-04-26 03:50:15 UTC (rev 880)
@@ -4,10 +4,13 @@
 <html>
   <head>
     <title><!--#echo var="pageTitle" --></title>
-    <link rel="stylesheet" type="text/css" href="/css/main.css" />
+    <link rel="stylesheet" type="text/css" href="adsense.css" />
   </head>
 
+  <body>
+
   <!-- Start Google AdSense Code Block -->
+<center>
   <script type="text/javascript"><!--
     google_ad_client = "pub-1920546463376456";
     google_ad_width = 728;
@@ -17,21 +20,63 @@
     google_ad_channel = "";
   //-->
   </script>
+
   <script type="text/javascript"
     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
   </script>
-
+</center>
   <!-- End Google AdSense Code Block -->
 
-  <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
     -->
+
+<!-- SiteSearch Google -->
+<form id="search" method="get" action="http://www.google.com/custom" target="_top">
+<table border="0" bgcolor="#ffffff">
+<tr><td nowrap="nowrap" valign="top" align="left" height="32">
+<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 nowrap="nowrap">
+<table>
+<tr>
+<td>
+<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
+<label for="ss0" title="Search the Web"><font size="-1"
+color="#000000">Web</font></label></td>
+<td>
+<input type="radio" name="sitesearch" value="www.linuxfromscratch.org"
+id="ss1"></input>
+<label for="ss1" title="Search www.linuxfromscratch.org"><font size="-1"
+color="#000000">LFS</font></label></td>
+</tr>
+</table>
+<label for="sbb" style="display: none">Submit search form</label>
+<input type="submit" name="sa" value="Google Search" id="sbb"></input>
+<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>
+</td></tr></table>
+</form>
+<!-- SiteSearch Google -->
+
+    <!-- Old search form. Google AdSense provides one too
     <form id ="search" method="get" action="http://www.google.com/search">
       <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" />
@@ -40,6 +85,8 @@
         <input type="submit" name="btnG" value="Google Search" />
       </p>
     </form> 
+   -->
+
    <!-- Search Mailing Lists -->
    <!--
    <form id="search" method="get" action="http://search.linuxfromscratch.org/index.cgi">

Added: html/trunk/lfs/adsense.css
===================================================================
--- html/trunk/lfs/adsense.css	                        (rev 0)
+++ html/trunk/lfs/adsense.css	2007-04-26 03:50:15 UTC (rev 880)
@@ -0,0 +1,299 @@
+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;
+}
+
+table {
+	font-size: 1em;
+}
+.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;
+}
+
+#search {
+	position: absolute;
+	right: 0;
+	top: 0px;
+	margin: 5pt 0 5pt 0;
+}
+select {
+	color: #333;
+}
+select:hover {
+}	
+input {
+	border: 1px solid #ccc;
+	background: #eee;
+	color: #777;
+}
+input:hover {
+	color: #004090;
+	background: #ddd;
+}
+#banner {
+	height: 47px;
+}
+
+#banner img {
+	position: absolute;
+	left: 10px;
+	top: 10px;
+	border: none;
+}
+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: 141px;
+  border-top: solid 1px #ccc;
+  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;
+}




More information about the website mailing list