<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://gwiki3.thatlinuxbox.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Geiss</id>
		<title>GeeklogWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://gwiki3.thatlinuxbox.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Geiss"/>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/Special:Contributions/Geiss"/>
		<updated>2026-04-06T13:27:06Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_two&amp;diff=4309</id>
		<title>ThemePort:step two</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_two&amp;diff=4309"/>
				<updated>2007-08-14T16:55:09Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: /* Step Two: Modifying the CSS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Step Two: Modifying the CSS ==&lt;br /&gt;
&lt;br /&gt;
Now that we have everything prepped, we can begin to modify the Cascading Style Sheet or CSS file for Geeklog. First, let's take a look at the different parts that make up a style declaration. The following was taken from [http://www.w3schools.com/css/css_syntax.asp www.w3schools.com] and includes additional info beyond the scope of this tutorial. It is recommended reading for anyone interested in learning how CSS works. Here's just the basics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Syntax&lt;br /&gt;
&lt;br /&gt;
The CSS syntax is made up of three parts: a selector, a property and a value:&lt;br /&gt;
&lt;br /&gt;
selector {property: value}&lt;br /&gt;
&lt;br /&gt;
The selector is normally the HTML element/tag you wish to define, the property is the attribute&lt;br /&gt;
you wish to change, and each property can take a value. The property and value are separated by&lt;br /&gt;
a colon, and surrounded by curly braces:&lt;br /&gt;
&lt;br /&gt;
body {color: black}&lt;br /&gt;
&lt;br /&gt;
If  the value is multiple words, put quotes around the value:&lt;br /&gt;
&lt;br /&gt;
p {font-family: &amp;quot;sans serif&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
If you wish to specify more than one property, you must separate each property with a semicolon.&lt;br /&gt;
The example below shows how to define a center aligned paragraph, with a red text color:&lt;br /&gt;
&lt;br /&gt;
p {text-align:center;color:red}&lt;br /&gt;
&lt;br /&gt;
To make the style definitions more readable, you can describe one property on each line, like this:&lt;br /&gt;
&lt;br /&gt;
p&lt;br /&gt;
{&lt;br /&gt;
text-align: center;&lt;br /&gt;
color: black;&lt;br /&gt;
font-family: arial;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Grouping&lt;br /&gt;
&lt;br /&gt;
You can group selectors. Separate each selector with a comma. In the example below we have&lt;br /&gt;
grouped all the header elements. All header elements will be displayed in green text color:&lt;br /&gt;
&lt;br /&gt;
h1,h2,h3,h4,h5,h6 &lt;br /&gt;
{&lt;br /&gt;
color: green&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With that in mind, basically what we will be doing is comparing two files side-by-side and overwriting '''{properties:values}''' into the same named '''selectors'''. After we conform all the common '''selectors''', we will then copy all the unique '''selectors {properties:values}''' into Geeklog's ''style.css'' file. It may seem like a lot of changes, but they go really quickly. Let's dive in! :-D&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''1.''' Navigate on your desktop to ''refresh/Refresh_Original/images'' and open the original stylesheet named ''Refresh.css'' with Notepad++ (right-click on the file and choose 'Edit with Notepad++' from the popup context menu). Then open ''refresh/style.css'' in the same manner.&lt;br /&gt;
&lt;br /&gt;
'''2.''' In Notepad++, right-click on the second tab called ''style.css'' and choose 'Go to another View'. You will now have both files open, side by side.&lt;br /&gt;
&lt;br /&gt;
'''3.''' Begin at the top of the ''Refresh.css'' file, and copy&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   AUTHOR:  			Erwin Aligam &lt;br /&gt;
   WEBSITE:   			http:''www.styleshout.com/&lt;br /&gt;
	TEMPLATE NAME:		Refresh&lt;br /&gt;
   TEMPLATE CODE: 	S-0002&lt;br /&gt;
   VERSION:          1.0          	&lt;br /&gt;
 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and paste it into ''style.css'' right after&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the rough rules:&lt;br /&gt;
  - always put a ';' after the last entry&lt;br /&gt;
  - always a linebreak before .&lt;br /&gt;
  - always a linebreak after , ; { and }&lt;br /&gt;
  - always a . before all classes&lt;br /&gt;
  - two spaces indent&lt;br /&gt;
  - no tabs&lt;br /&gt;
  - no spaces after colons&lt;br /&gt;
*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''4.''' Copy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* { margin: 0; padding: 0; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it after&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* SEMANTICS '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''5.''' Copy all the properties:values (everything within the { }) from the ''body'' selector&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it into the ''body'' selector in ''style.css'', '''overwriting''' its previous properties:values. So it looks like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''6.''' Copy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a, a:visited {&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
	color: #4F82CB; &lt;br /&gt;
	background: inherit;&lt;br /&gt;
}&lt;br /&gt;
a:hover {&lt;br /&gt;
	color: #4EBF37;&lt;br /&gt;
	background: inherit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#0000FF;&lt;br /&gt;
}&lt;br /&gt;
a:visited {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#800080&lt;br /&gt;
}&lt;br /&gt;
a:hover {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#008000&lt;br /&gt;
}&lt;br /&gt;
a:active {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#FF0000&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We also will change the look of the non-ul links as well by changing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link.non-ul,&lt;br /&gt;
a:visited.non-ul,&lt;br /&gt;
a:hover.non-ul,&lt;br /&gt;
a:active.non-ul {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link.non-ul,&lt;br /&gt;
a:visited.non-ul,&lt;br /&gt;
a:hover.non-ul,&lt;br /&gt;
a:active.non-ul {&lt;br /&gt;
  color:#FFF;&lt;br /&gt;
  background:inherit;&lt;br /&gt;
  text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The above change will be used in step one of the next section, [[geeklog:development:themes:porting_a_theme:step_three|Step Three - Modifying the Header]].&lt;br /&gt;
&lt;br /&gt;
'''7.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1, h2, h3 {&lt;br /&gt;
	font-family: Tahoma, Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	font-weight: Bold; 		&lt;br /&gt;
}&lt;br /&gt;
h1 {&lt;br /&gt;
	font-size: 120%;	&lt;br /&gt;
}&lt;br /&gt;
h2 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	text-transform: uppercase;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
}&lt;br /&gt;
h3 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	color: #666666; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1 {&lt;br /&gt;
  font-size:125%;&lt;br /&gt;
}&lt;br /&gt;
h2 {&lt;br /&gt;
  font-size:100%;&lt;br /&gt;
}&lt;br /&gt;
h3 {&lt;br /&gt;
  font-size:100%;&lt;br /&gt;
  margin:0px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''8.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
img {&lt;br /&gt;
	border: 2px solid #CCC;&lt;br /&gt;
}&lt;br /&gt;
img.float-right {&lt;br /&gt;
  margin: 5px 0px 10px 10px;  &lt;br /&gt;
}&lt;br /&gt;
img.float-left {&lt;br /&gt;
  margin: 5px 10px 10px 0px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
img {&lt;br /&gt;
  border:0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''9.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1, h2, h3, p {&lt;br /&gt;
	padding: 10px;		&lt;br /&gt;
	margin: 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h3 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	color: #666666; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''10.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul, ol {&lt;br /&gt;
	margin: 5px 20px;&lt;br /&gt;
	padding: 0 20px;&lt;br /&gt;
	color: #88ac0b;	&lt;br /&gt;
}&lt;br /&gt;
ul span, ol span {&lt;br /&gt;
	color: #666666;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
select {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-size:.9em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''11.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
code {&lt;br /&gt;
  margin: 5px 0;&lt;br /&gt;
  padding: 10px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  overflow: auto;  &lt;br /&gt;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;&lt;br /&gt;
  /* white-space: pre; */&lt;br /&gt;
  background: #FAFAFA;&lt;br /&gt;
  border: 1px solid #f2f2f2;  &lt;br /&gt;
}&lt;br /&gt;
acronym {&lt;br /&gt;
  cursor: help;&lt;br /&gt;
  border-bottom: 1px solid #777;&lt;br /&gt;
}&lt;br /&gt;
blockquote {&lt;br /&gt;
	margin: 10px;&lt;br /&gt;
 	padding: 0 0 0 28px;  &lt;br /&gt;
   border: 1px solid #f2f2f2; &lt;br /&gt;
  	background: #FAFAFA url(quote.gif) no-repeat 5px 5px;    &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''12.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form {&lt;br /&gt;
	margin:10px; padding: 0 5px;&lt;br /&gt;
	border: 1px solid #f2f2f2; &lt;br /&gt;
	background-color: #FAFAFA; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form {&lt;br /&gt;
  margin-top:5px;&lt;br /&gt;
  margin-bottom:5px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''13.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
label {&lt;br /&gt;
	display:block;&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	margin:5px 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input,&lt;br /&gt;
submit,&lt;br /&gt;
td {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''14.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	font: normal 1em Verdana, sans-serif;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
  font-size:.9em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then '''delete''' the 'input,' out of the line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input,&lt;br /&gt;
submit,&lt;br /&gt;
td {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''15.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
textarea {&lt;br /&gt;
	width:400px;&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	font-family: Verdana, sans-serif;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	height:100px;&lt;br /&gt;
	display:block;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
textarea {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-family:arial,sans-serif,verdana,tahoma,helvetica;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''16.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input.button { &lt;br /&gt;
	margin: 0; &lt;br /&gt;
	font: bolder 12px Arial, Sans-serif; &lt;br /&gt;
	border: 1px solid #CCC; &lt;br /&gt;
	padding: 2px 3px; &lt;br /&gt;
	background: #FFF;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	font: normal 1em Verdana, sans-serif;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''17.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form.search {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	top: 35px; right: 25px;&lt;br /&gt;
	background: transparent;&lt;br /&gt;
	border: none;	&lt;br /&gt;
}	&lt;br /&gt;
form.search input.textbox {&lt;br /&gt;
	margin: 0; padding: 1px 2px;&lt;br /&gt;
	width: 120px;&lt;br /&gt;
	background: #FFF;&lt;br /&gt;
	color: #333; &lt;br /&gt;
}&lt;br /&gt;
form.search input.button {&lt;br /&gt;
	background: #CCC url(headerbg.gif) repeat-x;&lt;br /&gt;
	color: #333;&lt;br /&gt;
	border: none;	&lt;br /&gt;
	width: 70px; height: 21px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form fieldset div.notes p.last {&lt;br /&gt;
  margin:0em;&lt;br /&gt;
  padding-bottom:5px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''18.''' Finally copy the remaining code in ''Refresh.css'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/ &lt;br /&gt;
#wrap {&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	background: #CCC url(content.jpg) repeat-y center top;&lt;br /&gt;
	margin: 0 auto;&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
#content-wrap {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	width: 760px;&lt;br /&gt;
	padding: 0; &lt;br /&gt;
	margin: 0 auto;&lt;br /&gt;
}&lt;br /&gt;
#header {&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	position: relative;&lt;br /&gt;
	height: 106px;&lt;br /&gt;
	background: #CCC url(header.jpg) no-repeat center top;&lt;br /&gt;
	padding: 0;&lt;br /&gt;
	font-size: 14px;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
}&lt;br /&gt;
#header h1#logo-text {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	margin: 0; padding: 0;&lt;br /&gt;
	font: bolder 3.3em 'Trebuchet MS', Arial, Sans-serif;&lt;br /&gt;
	letter-spacing: -2px;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
	text-transform: none;&lt;br /&gt;
	&lt;br /&gt;
	/* change the values of top and left to adjust the position of the logo*/&lt;br /&gt;
	top: 28px; left: 50px;	&lt;br /&gt;
}&lt;br /&gt;
#header h2#slogan {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	margin: 0; padding: 0;&lt;br /&gt;
	font: normal .8em 'Trebuchet MS', Arial, Sans-serif;&lt;br /&gt;
	text-transform: none;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
	&lt;br /&gt;
	/* change the values of top and left to adjust the position of the slogan*/&lt;br /&gt;
	top: 74px; left: 58px;		&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Menu */&lt;br /&gt;
#menu {&lt;br /&gt;
	clear: both;	&lt;br /&gt;
	margin: 0; padding: 0 40px 0 0;&lt;br /&gt;
	background: url(menu.jpg) repeat-y center top;	&lt;br /&gt;
	font: bold 12px/26px Verdana, Arial, Tahoma, Sans-serif;&lt;br /&gt;
	height: 26px;&lt;br /&gt;
}&lt;br /&gt;
#menu ul {&lt;br /&gt;
	float: right;&lt;br /&gt;
	list-style: none;&lt;br /&gt;
	margin:0; padding: 0;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li {&lt;br /&gt;
	display: inline;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li a {&lt;br /&gt;
	display: block;&lt;br /&gt;
	float: left;&lt;br /&gt;
	padding: 0 8px;&lt;br /&gt;
	color: #FFF;	&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li a:hover {&lt;br /&gt;
	background-color: #ECECEC;&lt;br /&gt;
	color: #333;	&lt;br /&gt;
}&lt;br /&gt;
#menu ul li#current a {	&lt;br /&gt;
	background-color: #FFF;&lt;br /&gt;
	color: #333;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Main Column */&lt;br /&gt;
#main {&lt;br /&gt;
	float: right;&lt;br /&gt;
	width: 72%;&lt;br /&gt;
	padding: 0; margin: 0;&lt;br /&gt;
}&lt;br /&gt;
#main h1 {&lt;br /&gt;
	margin-top: 10px;&lt;br /&gt;
	font: Bold 125% Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
	padding: 5px 0 5px 25px; 	&lt;br /&gt;
	border-bottom: 1px solid #EFF0F1;&lt;br /&gt;
	background: #FFF url(square-green.png) no-repeat 3px 50%;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.post-footer {&lt;br /&gt;
	background-color: #FAFAFA;&lt;br /&gt;
	padding: 5px; margin: 20px 10px 0 10px;&lt;br /&gt;
	border: 1px solid #f2f2f2;&lt;br /&gt;
	font-size: 95%;	&lt;br /&gt;
}&lt;br /&gt;
.post-footer .date {&lt;br /&gt;
	background: url(clock.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
.post-footer .comments {&lt;br /&gt;
	background: url(comment.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
.post-footer .readmore {&lt;br /&gt;
	background: url(page.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Sidebar */	&lt;br /&gt;
#sidebar {&lt;br /&gt;
	float: left;&lt;br /&gt;
	width: 26.5%;&lt;br /&gt;
	padding: 0; margin: 0;	&lt;br /&gt;
}	&lt;br /&gt;
#sidebar h1 {&lt;br /&gt;
	margin-top: 10px;&lt;br /&gt;
	padding: 5px 0 5px 10px; &lt;br /&gt;
	font: bold 1.1em Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	color: #555;&lt;br /&gt;
	background: #EEF0F1 url(headerbg.gif) repeat-x left bottom;	&lt;br /&gt;
	border: 1px solid #EFF0F1;&lt;br /&gt;
}&lt;br /&gt;
#sidebar .left-box {&lt;br /&gt;
	border: 1px solid #EFF0F1; &lt;br /&gt;
	margin: 0 0 5px 0;	&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu {&lt;br /&gt;
	list-style: none;&lt;br /&gt;
	text-align: left;&lt;br /&gt;
	margin: 3px 0 8px 0; padding: 0;&lt;br /&gt;
	text-decoration: none;		&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu li {&lt;br /&gt;
	border-bottom: 1px solid #EFF0F1;&lt;br /&gt;
	background: url(go.gif) no-repeat 5px 5px;	&lt;br /&gt;
	padding: 2px 0 2px 25px;&lt;br /&gt;
	margin: 0 2px;	&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu a {&lt;br /&gt;
	font-weight: bolder;&lt;br /&gt;
	text-decoration: none;	&lt;br /&gt;
	background-image: none;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Footer */	&lt;br /&gt;
#footer {&lt;br /&gt;
	color: #666666;&lt;br /&gt;
	background: #CCC url(footer.jpg) no-repeat center top;&lt;br /&gt;
	clear: both;&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	height: 55px;&lt;br /&gt;
	text-align: center;	&lt;br /&gt;
	font-size: 92%;&lt;br /&gt;
}&lt;br /&gt;
#footer a { text-decoration: none; }&lt;br /&gt;
&lt;br /&gt;
/* alignment classes */&lt;br /&gt;
.float-left  { float: left; }&lt;br /&gt;
.float-right { float: right; }&lt;br /&gt;
.align-left  { text-align: left; }&lt;br /&gt;
.align-right { text-align: right; }&lt;br /&gt;
&lt;br /&gt;
/* display and additional classes */&lt;br /&gt;
.clear { clear: both; }&lt;br /&gt;
.gray { color: #CCC; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it at the bottom of ''style.css'' '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.poll-vote,&lt;br /&gt;
.poll-vote-results {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-size:smaller;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is also a good idea to change:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   REFRESH SPECIFIC LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''19.''' Yay! We're almost done! Now we just need to go through the stylesheet and make sure our images are being pulled from the right directory. For the original Refresh theme, the images and stylesheet were both located in the ''images'' directory. When the author referenced images, he wrote the URL apprpriately. For Geeklog however, the stylesheet is one directory above the ''images'' directory, so we need to modify the CSS taking this change into account.&lt;br /&gt;
&lt;br /&gt;
So, where you see a reference to an image file such as a .jpg or a .gif, like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #FAFAFA url(quote.gif) no-repeat 5px 5px;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
change it to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to include the proper ''images'' directory.&lt;br /&gt;
&lt;br /&gt;
In looking through the file, I've found the following selectors that need this change:&lt;br /&gt;
* blockquote&lt;br /&gt;
* form.search input.button&lt;br /&gt;
* #wrap&lt;br /&gt;
* #header&lt;br /&gt;
* #menu&lt;br /&gt;
* #main h1&lt;br /&gt;
* .post-footer .date&lt;br /&gt;
* .post-footer .comments&lt;br /&gt;
* .post-footer .readmore&lt;br /&gt;
* #sidebar h1&lt;br /&gt;
* #sidebar ul.sidemenu li&lt;br /&gt;
* #footer&lt;br /&gt;
&lt;br /&gt;
'''20.''' For this particular theme, we really don't need to adjust the colors of the Plugin specific CSS, as they closely match the blue color in the header and other gray elements (funny how that worked out, isn't it? ...as if it was planned that way!;-)) For another theme though, we might want to make some edits. The easiest way I've found is to write down the dominant, reoccurring colors, and do a Find/Replace operation in Notepad++. Make sure you highlight only the Plugin portion of the ''style.css'' file, then in Notepad++, click the &amp;quot;Search&amp;quot; menu and choose &amp;quot;Replace&amp;quot;. In the dialog box, enter the color code you want to change, and what you want to replace it with, and check the &amp;quot;In selection&amp;quot; box and click on the &amp;quot;Replace All&amp;quot; button. Presto! Repeat this for all the colors you want to change.   &lt;br /&gt;
&lt;br /&gt;
'''21.''' Now, save your new ''style.css'' file (shame on you if you haven't been saving along the way by hitting Ctrl+S after each change!) and upload it to your website, overwriting the existing file located in the ''(public_html)/layout/refresh/'' directory. In your browser, navigate to your site and refresh the homepage (remember to clear the browser cache, as mentioned above.)&lt;br /&gt;
&lt;br /&gt;
{{geeklog:development:themes:porting_a_theme:refresh_after_css_only_edit.png?250 }}&lt;br /&gt;
&lt;br /&gt;
Looks kind of funky, huh? :-\ Don't worry, thus far we've only changed the stylesheet. Now we need to make some changes to a few ''.thtml'' files to update the layout and reference our newly changed '''selectors {properties:values}'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Back to:[[ThemePort:step_one|Step One - Preparation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Next up:[[ThemePort:step_three|Step Three - Modifying the Header]]&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_two&amp;diff=4308</id>
		<title>ThemePort:step two</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_two&amp;diff=4308"/>
				<updated>2007-08-13T20:42:10Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Step Two: Modifying the CSS ==&lt;br /&gt;
&lt;br /&gt;
Now that we have everything prepped, we can begin to modify the Cascading Style Sheet or CSS file for Geeklog. First, let's take a look at the different parts that make up a style declaration. The following was taken from [http:''www.w3schools.com/css/css_syntax.asp www.w3schools.com] and includes additional info beyond the scope of this tutorial. It is recommended reading for anyone interested in learning how CSS works. Here's just the basics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;'''Syntax'''&lt;br /&gt;
&lt;br /&gt;
The CSS syntax is made up of three parts: a selector, a property and a value:&lt;br /&gt;
&lt;br /&gt;
selector {property: value}&lt;br /&gt;
&lt;br /&gt;
The selector is normally the HTML element/tag you wish to define, the property is the attribute you wish to change, and each property can take a value. The property and value are separated by a colon, and surrounded by curly braces:&lt;br /&gt;
&lt;br /&gt;
body {color: black}&lt;br /&gt;
&lt;br /&gt;
If  the value is multiple words, put quotes around the value:&lt;br /&gt;
&lt;br /&gt;
p {font-family: &amp;quot;sans serif&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
If you wish to specify more than one property, you must separate each property with a semicolon. The example below shows how to define a center aligned paragraph, with a red text color:&lt;br /&gt;
&lt;br /&gt;
p {text-align:center;color:red}&lt;br /&gt;
&lt;br /&gt;
To make the style definitions more readable, you can describe one property on each line, like this:&lt;br /&gt;
&lt;br /&gt;
p&amp;lt;br&amp;gt;&lt;br /&gt;
{&amp;lt;br&amp;gt;&lt;br /&gt;
text-align: center;&amp;lt;br&amp;gt;&lt;br /&gt;
color: black;&amp;lt;br&amp;gt;&lt;br /&gt;
font-family: arial;&amp;lt;br&amp;gt;&lt;br /&gt;
}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Grouping'''&lt;br /&gt;
&lt;br /&gt;
You can group selectors. Separate each selector with a comma. In the example below we have grouped all the header elements. All header elements will be displayed in green text color:&lt;br /&gt;
&lt;br /&gt;
h1,h2,h3,h4,h5,h6 &lt;br /&gt;
{&lt;br /&gt;
color: green&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With that in mind, basically what we will be doing is comparing two files side-by-side and overwriting '''{properties:values}''' into the same named '''selectors'''. After we conform all the common '''selectors''', we will then copy all the unique '''selectors {properties:values}''' into Geeklog's ''style.css'' file. It may seem like a lot of changes, but they go really quickly. Let's dive in! :-D&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''1.''' Navigate on your desktop to ''refresh/Refresh_Original/images'' and open the original stylesheet named ''Refresh.css'' with Notepad++ (right-click on the file and choose 'Edit with Notepad++' from the popup context menu). Then open ''refresh/style.css'' in the same manner.&lt;br /&gt;
&lt;br /&gt;
'''2.''' In Notepad++, right-click on the second tab called ''style.css'' and choose 'Go to another View'. You will now have both files open, side by side.&lt;br /&gt;
&lt;br /&gt;
'''3.''' Begin at the top of the ''Refresh.css'' file, and copy&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   AUTHOR:  			Erwin Aligam &lt;br /&gt;
   WEBSITE:   			http:''www.styleshout.com/&lt;br /&gt;
	TEMPLATE NAME:		Refresh&lt;br /&gt;
   TEMPLATE CODE: 	S-0002&lt;br /&gt;
   VERSION:          1.0          	&lt;br /&gt;
 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and paste it into ''style.css'' right after&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the rough rules:&lt;br /&gt;
  - always put a ';' after the last entry&lt;br /&gt;
  - always a linebreak before .&lt;br /&gt;
  - always a linebreak after , ; { and }&lt;br /&gt;
  - always a . before all classes&lt;br /&gt;
  - two spaces indent&lt;br /&gt;
  - no tabs&lt;br /&gt;
  - no spaces after colons&lt;br /&gt;
*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''4.''' Copy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* { margin: 0; padding: 0; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it after&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* SEMANTICS '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''5.''' Copy all the properties:values (everything within the { }) from the ''body'' selector&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it into the ''body'' selector in ''style.css'', '''overwriting''' its previous properties:values. So it looks like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''6.''' Copy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a, a:visited {&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
	color: #4F82CB; &lt;br /&gt;
	background: inherit;&lt;br /&gt;
}&lt;br /&gt;
a:hover {&lt;br /&gt;
	color: #4EBF37;&lt;br /&gt;
	background: inherit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#0000FF;&lt;br /&gt;
}&lt;br /&gt;
a:visited {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#800080&lt;br /&gt;
}&lt;br /&gt;
a:hover {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#008000&lt;br /&gt;
}&lt;br /&gt;
a:active {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#FF0000&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We also will change the look of the non-ul links as well by changing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link.non-ul,&lt;br /&gt;
a:visited.non-ul,&lt;br /&gt;
a:hover.non-ul,&lt;br /&gt;
a:active.non-ul {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a:link.non-ul,&lt;br /&gt;
a:visited.non-ul,&lt;br /&gt;
a:hover.non-ul,&lt;br /&gt;
a:active.non-ul {&lt;br /&gt;
  color:#FFF;&lt;br /&gt;
  background:inherit;&lt;br /&gt;
  text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The above change will be used in step one of the next section, [[geeklog:development:themes:porting_a_theme:step_three|Step Three - Modifying the Header]].&lt;br /&gt;
&lt;br /&gt;
'''7.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1, h2, h3 {&lt;br /&gt;
	font-family: Tahoma, Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	font-weight: Bold; 		&lt;br /&gt;
}&lt;br /&gt;
h1 {&lt;br /&gt;
	font-size: 120%;	&lt;br /&gt;
}&lt;br /&gt;
h2 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	text-transform: uppercase;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
}&lt;br /&gt;
h3 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	color: #666666; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1 {&lt;br /&gt;
  font-size:125%;&lt;br /&gt;
}&lt;br /&gt;
h2 {&lt;br /&gt;
  font-size:100%;&lt;br /&gt;
}&lt;br /&gt;
h3 {&lt;br /&gt;
  font-size:100%;&lt;br /&gt;
  margin:0px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''8.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
img {&lt;br /&gt;
	border: 2px solid #CCC;&lt;br /&gt;
}&lt;br /&gt;
img.float-right {&lt;br /&gt;
  margin: 5px 0px 10px 10px;  &lt;br /&gt;
}&lt;br /&gt;
img.float-left {&lt;br /&gt;
  margin: 5px 10px 10px 0px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
img {&lt;br /&gt;
  border:0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''9.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h1, h2, h3, p {&lt;br /&gt;
	padding: 10px;		&lt;br /&gt;
	margin: 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
h3 {&lt;br /&gt;
	font-size: 110%;&lt;br /&gt;
	color: #666666; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''10.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul, ol {&lt;br /&gt;
	margin: 5px 20px;&lt;br /&gt;
	padding: 0 20px;&lt;br /&gt;
	color: #88ac0b;	&lt;br /&gt;
}&lt;br /&gt;
ul span, ol span {&lt;br /&gt;
	color: #666666;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
select {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-size:.9em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''11.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
code {&lt;br /&gt;
  margin: 5px 0;&lt;br /&gt;
  padding: 10px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  overflow: auto;  &lt;br /&gt;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;&lt;br /&gt;
  /* white-space: pre; */&lt;br /&gt;
  background: #FAFAFA;&lt;br /&gt;
  border: 1px solid #f2f2f2;  &lt;br /&gt;
}&lt;br /&gt;
acronym {&lt;br /&gt;
  cursor: help;&lt;br /&gt;
  border-bottom: 1px solid #777;&lt;br /&gt;
}&lt;br /&gt;
blockquote {&lt;br /&gt;
	margin: 10px;&lt;br /&gt;
 	padding: 0 0 0 28px;  &lt;br /&gt;
   border: 1px solid #f2f2f2; &lt;br /&gt;
  	background: #FAFAFA url(quote.gif) no-repeat 5px 5px;    &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
background: #CCCCCC;&lt;br /&gt;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;&lt;br /&gt;
	color: #333; &lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''12.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form {&lt;br /&gt;
	margin:10px; padding: 0 5px;&lt;br /&gt;
	border: 1px solid #f2f2f2; &lt;br /&gt;
	background-color: #FAFAFA; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form {&lt;br /&gt;
  margin-top:5px;&lt;br /&gt;
  margin-bottom:5px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''13.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
label {&lt;br /&gt;
	display:block;&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	margin:5px 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input,&lt;br /&gt;
submit,&lt;br /&gt;
td {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''14.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	font: normal 1em Verdana, sans-serif;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
  font-size:.9em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then '''delete''' the 'input,' out of the line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input,&lt;br /&gt;
submit,&lt;br /&gt;
td {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''15.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
textarea {&lt;br /&gt;
	width:400px;&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	font-family: Verdana, sans-serif;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	height:100px;&lt;br /&gt;
	display:block;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''overwriting''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
textarea {&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-family:arial,sans-serif,verdana,tahoma,helvetica;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''16.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input.button { &lt;br /&gt;
	margin: 0; &lt;br /&gt;
	font: bolder 12px Arial, Sans-serif; &lt;br /&gt;
	border: 1px solid #CCC; &lt;br /&gt;
	padding: 2px 3px; &lt;br /&gt;
	background: #FFF;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
input {&lt;br /&gt;
	padding:2px;&lt;br /&gt;
	border:1px solid #eee;&lt;br /&gt;
	font: normal 1em Verdana, sans-serif;&lt;br /&gt;
	color:#777;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''17.''' Copy&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form.search {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	top: 35px; right: 25px;&lt;br /&gt;
	background: transparent;&lt;br /&gt;
	border: none;	&lt;br /&gt;
}	&lt;br /&gt;
form.search input.textbox {&lt;br /&gt;
	margin: 0; padding: 1px 2px;&lt;br /&gt;
	width: 120px;&lt;br /&gt;
	background: #FFF;&lt;br /&gt;
	color: #333; &lt;br /&gt;
}&lt;br /&gt;
form.search input.button {&lt;br /&gt;
	background: #CCC url(headerbg.gif) repeat-x;&lt;br /&gt;
	color: #333;&lt;br /&gt;
	border: none;	&lt;br /&gt;
	width: 70px; height: 21px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
form fieldset div.notes p.last {&lt;br /&gt;
  margin:0em;&lt;br /&gt;
  padding-bottom:5px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''18.''' Finally copy the remaining code in ''Refresh.css'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/ &lt;br /&gt;
#wrap {&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	background: #CCC url(content.jpg) repeat-y center top;&lt;br /&gt;
	margin: 0 auto;&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
#content-wrap {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	width: 760px;&lt;br /&gt;
	padding: 0; &lt;br /&gt;
	margin: 0 auto;&lt;br /&gt;
}&lt;br /&gt;
#header {&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	position: relative;&lt;br /&gt;
	height: 106px;&lt;br /&gt;
	background: #CCC url(header.jpg) no-repeat center top;&lt;br /&gt;
	padding: 0;&lt;br /&gt;
	font-size: 14px;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
}&lt;br /&gt;
#header h1#logo-text {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	margin: 0; padding: 0;&lt;br /&gt;
	font: bolder 3.3em 'Trebuchet MS', Arial, Sans-serif;&lt;br /&gt;
	letter-spacing: -2px;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
	text-transform: none;&lt;br /&gt;
	&lt;br /&gt;
	/* change the values of top and left to adjust the position of the logo*/&lt;br /&gt;
	top: 28px; left: 50px;	&lt;br /&gt;
}&lt;br /&gt;
#header h2#slogan {&lt;br /&gt;
	position: absolute;&lt;br /&gt;
	margin: 0; padding: 0;&lt;br /&gt;
	font: normal .8em 'Trebuchet MS', Arial, Sans-serif;&lt;br /&gt;
	text-transform: none;&lt;br /&gt;
	color: #FFF;&lt;br /&gt;
	&lt;br /&gt;
	/* change the values of top and left to adjust the position of the slogan*/&lt;br /&gt;
	top: 74px; left: 58px;		&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Menu */&lt;br /&gt;
#menu {&lt;br /&gt;
	clear: both;	&lt;br /&gt;
	margin: 0; padding: 0 40px 0 0;&lt;br /&gt;
	background: url(menu.jpg) repeat-y center top;	&lt;br /&gt;
	font: bold 12px/26px Verdana, Arial, Tahoma, Sans-serif;&lt;br /&gt;
	height: 26px;&lt;br /&gt;
}&lt;br /&gt;
#menu ul {&lt;br /&gt;
	float: right;&lt;br /&gt;
	list-style: none;&lt;br /&gt;
	margin:0; padding: 0;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li {&lt;br /&gt;
	display: inline;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li a {&lt;br /&gt;
	display: block;&lt;br /&gt;
	float: left;&lt;br /&gt;
	padding: 0 8px;&lt;br /&gt;
	color: #FFF;	&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
}&lt;br /&gt;
#menu ul li a:hover {&lt;br /&gt;
	background-color: #ECECEC;&lt;br /&gt;
	color: #333;	&lt;br /&gt;
}&lt;br /&gt;
#menu ul li#current a {	&lt;br /&gt;
	background-color: #FFF;&lt;br /&gt;
	color: #333;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Main Column */&lt;br /&gt;
#main {&lt;br /&gt;
	float: right;&lt;br /&gt;
	width: 72%;&lt;br /&gt;
	padding: 0; margin: 0;&lt;br /&gt;
}&lt;br /&gt;
#main h1 {&lt;br /&gt;
	margin-top: 10px;&lt;br /&gt;
	font: Bold 125% Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	color: #88ac0b;&lt;br /&gt;
	padding: 5px 0 5px 25px; 	&lt;br /&gt;
	border-bottom: 1px solid #EFF0F1;&lt;br /&gt;
	background: #FFF url(square-green.png) no-repeat 3px 50%;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.post-footer {&lt;br /&gt;
	background-color: #FAFAFA;&lt;br /&gt;
	padding: 5px; margin: 20px 10px 0 10px;&lt;br /&gt;
	border: 1px solid #f2f2f2;&lt;br /&gt;
	font-size: 95%;	&lt;br /&gt;
}&lt;br /&gt;
.post-footer .date {&lt;br /&gt;
	background: url(clock.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
.post-footer .comments {&lt;br /&gt;
	background: url(comment.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
.post-footer .readmore {&lt;br /&gt;
	background: url(page.gif) no-repeat left center;&lt;br /&gt;
	padding-left: 20px; margin: 0 10px 0 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Sidebar */	&lt;br /&gt;
#sidebar {&lt;br /&gt;
	float: left;&lt;br /&gt;
	width: 26.5%;&lt;br /&gt;
	padding: 0; margin: 0;	&lt;br /&gt;
}	&lt;br /&gt;
#sidebar h1 {&lt;br /&gt;
	margin-top: 10px;&lt;br /&gt;
	padding: 5px 0 5px 10px; &lt;br /&gt;
	font: bold 1.1em Verdana, 'Trebuchet MS', Sans-serif;&lt;br /&gt;
	color: #555;&lt;br /&gt;
	background: #EEF0F1 url(headerbg.gif) repeat-x left bottom;	&lt;br /&gt;
	border: 1px solid #EFF0F1;&lt;br /&gt;
}&lt;br /&gt;
#sidebar .left-box {&lt;br /&gt;
	border: 1px solid #EFF0F1; &lt;br /&gt;
	margin: 0 0 5px 0;	&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu {&lt;br /&gt;
	list-style: none;&lt;br /&gt;
	text-align: left;&lt;br /&gt;
	margin: 3px 0 8px 0; padding: 0;&lt;br /&gt;
	text-decoration: none;		&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu li {&lt;br /&gt;
	border-bottom: 1px solid #EFF0F1;&lt;br /&gt;
	background: url(go.gif) no-repeat 5px 5px;	&lt;br /&gt;
	padding: 2px 0 2px 25px;&lt;br /&gt;
	margin: 0 2px;	&lt;br /&gt;
}&lt;br /&gt;
#sidebar ul.sidemenu a {&lt;br /&gt;
	font-weight: bolder;&lt;br /&gt;
	text-decoration: none;	&lt;br /&gt;
	background-image: none;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Footer */	&lt;br /&gt;
#footer {&lt;br /&gt;
	color: #666666;&lt;br /&gt;
	background: #CCC url(footer.jpg) no-repeat center top;&lt;br /&gt;
	clear: both;&lt;br /&gt;
	width: 820px;&lt;br /&gt;
	height: 55px;&lt;br /&gt;
	text-align: center;	&lt;br /&gt;
	font-size: 92%;&lt;br /&gt;
}&lt;br /&gt;
#footer a { text-decoration: none; }&lt;br /&gt;
&lt;br /&gt;
/* alignment classes */&lt;br /&gt;
.float-left  { float: left; }&lt;br /&gt;
.float-right { float: right; }&lt;br /&gt;
.align-left  { text-align: left; }&lt;br /&gt;
.align-right { text-align: right; }&lt;br /&gt;
&lt;br /&gt;
/* display and additional classes */&lt;br /&gt;
.clear { clear: both; }&lt;br /&gt;
.gray { color: #CCC; }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and paste it at the bottom of ''style.css'' '''after''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.poll-vote,&lt;br /&gt;
.poll-vote-results {&lt;br /&gt;
  background:transparent;&lt;br /&gt;
  color:#000000;&lt;br /&gt;
  font-size:smaller;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is also a good idea to change:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;
   REFRESH SPECIFIC LAYOUT&lt;br /&gt;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''19.''' Yay! We're almost done! Now we just need to go through the stylesheet and make sure our images are being pulled from the right directory. For the original Refresh theme, the images and stylesheet were both located in the ''images'' directory. When the author referenced images, he wrote the URL apprpriately. For Geeklog however, the stylesheet is one directory above the ''images'' directory, so we need to modify the CSS taking this change into account.&lt;br /&gt;
&lt;br /&gt;
So, where you see a reference to an image file such as a .jpg or a .gif, like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #FAFAFA url(quote.gif) no-repeat 5px 5px;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
change it to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to include the proper ''images'' directory.&lt;br /&gt;
&lt;br /&gt;
In looking through the file, I've found the following selectors that need this change:&lt;br /&gt;
  * blockquote&lt;br /&gt;
  * form.search input.button&lt;br /&gt;
  * #wrap&lt;br /&gt;
  * #header&lt;br /&gt;
  * #menu&lt;br /&gt;
  * #main h1&lt;br /&gt;
  * .post-footer .date&lt;br /&gt;
  * .post-footer .comments&lt;br /&gt;
  * .post-footer .readmore&lt;br /&gt;
  * #sidebar h1&lt;br /&gt;
  * #sidebar ul.sidemenu li&lt;br /&gt;
  * #footer&lt;br /&gt;
&lt;br /&gt;
'''20.''' For this particular theme, we really don't need to adjust the colors of the Plugin specific CSS, as they closely match the blue color in the header and other gray elements (funny how that worked out, isn't it? ...as if it was planned that way!;-)) For another theme though, we might want to make some edits. The easiest way I've found is to write down the dominant, reoccurring colors, and do a Find/Replace operation in Notepad++. Make sure you highlight only the Plugin portion of the ''style.css'' file, then in Notepad++, click the &amp;quot;Search&amp;quot; menu and choose &amp;quot;Replace&amp;quot;. In the dialog box, enter the color code you want to change, and what you want to replace it with, and check the &amp;quot;In selection&amp;quot; box and click on the &amp;quot;Replace All&amp;quot; button. Presto! Repeat this for all the colors you want to change.   &lt;br /&gt;
&lt;br /&gt;
'''21.''' Now, save your new ''style.css'' file (shame on you if you haven't been saving along the way by hitting Ctrl+S after each change!) and upload it to your website, overwriting the existing file located in the ''(public_html)/layout/refresh/'' directory. In your browser, navigate to your site and refresh the homepage (remember to clear the browser cache, as mentioned above.)&lt;br /&gt;
&lt;br /&gt;
{{geeklog:development:themes:porting_a_theme:refresh_after_css_only_edit.png?250 }}&lt;br /&gt;
&lt;br /&gt;
Looks kind of funky, huh? :-\ Don't worry, thus far we've only changed the stylesheet. Now we need to make some changes to a few ''.thtml'' files to update the layout and reference our newly changed '''selectors {properties:values}'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Back to:[[ThemePort:step_one|Step One - Preparation]]&amp;lt;br&amp;gt;&lt;br /&gt;
Next up:[[ThemePort:step_three|Step Three - Modifying the Header]]&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4307</id>
		<title>ThemePort:step one</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4307"/>
				<updated>2007-08-13T20:20:05Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Step One: Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, we need to prepare the new theme using Geeklog's default ''professional'' theme as a starting point. This will make sure we have all the ''.thtml'' files we need so Geeklog won't give us errors unexpectedly.&lt;br /&gt;
&lt;br /&gt;
'''1.''' Download the theme to your desktop, then double click it to unzip it. You will now have a folder named ''Refresh''. Inside will be the files ''LICENSE.txt'', ''index.html'', and an ''images'' folder. Change the name of the folder from ''Refresh'' to ''Refresh_Original''.&lt;br /&gt;
&lt;br /&gt;
'''2.''' Click on ''index.html'' to open it in your browser, and take a few minutes to browse around the layout. Often times, the designer will leave information about the design in the layout itself. In the Refresh theme for instance, the author notifies us that the design is released under the terms of the Creative Commons license, and asks that a link to his site be included in the credits. He then goes on to show how lists, images, and other elements will be styled. Another good idea is to click on View/Page Source from Firefox's main menu. This will open another window displaying the source code for ''index.html''. Familiarize yourself with the different sections of code, and what they refer to in the rendered layout. This will make it easier to visualize when you are copying changes into Geeklog's ''.thtml'' files.&lt;br /&gt;
&lt;br /&gt;
'''3.''' Grab a fresh copy of the [http://www.geeklog.net/filemgmt/viewcat.php?cid=8 Geeklog install archive] and extract the ''public_html/layout/professional'' directory to your desktop. Place the ''Refresh_Original'' directory inside the ''professional'' directory and then rename the folder from ''professional'' to ''refresh''.&lt;br /&gt;
&lt;br /&gt;
'''4.''' Copy all the image files from the 'Refresh_Original/images' directory and paste them in the ''refresh/images'' directory.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Upload via FTP this new ''refresh'' directory, and all its contents to your website's ''(site_root)/layout/'' directory. You should now have at least 2 folders in the ''layout'' directory: ''professional'', and ''refresh''.&lt;br /&gt;
&lt;br /&gt;
'''6.''' In your browser, login to your website and navigate to ''(site_root)/usersettings.php?mode=edit'', click on the ''Layout &amp;amp; Language'' tab, and select the ''refresh'' theme and save your changes. &lt;br /&gt;
&lt;br /&gt;
At this point, you now have your new theme in place and are ready to start modifications. For you only, your site should now look exactly like a default Geeklog theme install (if it was different previously). We do this so that you are free to make changes without other users readily seeing your work-in-progress. From now on, make sure to clear the browser cache each time you upload changes, so that the browser will load the newly changed content (in Firefox, hold the control key while clicking the Reload Current Page button.)&lt;br /&gt;
&lt;br /&gt;
Back to: [[ThemePort|Porting a Theme]]&amp;lt;br&amp;gt;&lt;br /&gt;
Next up:[[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4306</id>
		<title>ThemePort:step one</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4306"/>
				<updated>2007-08-13T20:19:34Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Step One: Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, we need to prepare the new theme using Geeklog's default ''professional'' theme as a starting point. This will make sure we have all the ''.thtml'' files we need so Geeklog won't give us errors unexpectedly.&lt;br /&gt;
&lt;br /&gt;
'''1.''' Download the theme to your desktop, then double click it to unzip it. You will now have a folder named ''Refresh''. Inside will be the files ''LICENSE.txt'', ''index.html'', and an ''images'' folder. Change the name of the folder from ''Refresh'' to ''Refresh_Original''.&lt;br /&gt;
&lt;br /&gt;
'''2.''' Click on ''index.html'' to open it in your browser, and take a few minutes to browse around the layout. Often times, the designer will leave information about the design in the layout itself. In the Refresh theme for instance, the author notifies us that the design is released under the terms of the Creative Commons license, and asks that a link to his site be included in the credits. He then goes on to show how lists, images, and other elements will be styled. Another good idea is to click on View/Page Source from Firefox's main menu. This will open another window displaying the source code for ''index.html''. Familiarize yourself with the different sections of code, and what they refer to in the rendered layout. This will make it easier to visualize when you are copying changes into Geeklog's ''.thtml'' files.&lt;br /&gt;
&lt;br /&gt;
'''3.''' Grab a fresh copy of the [http://www.geeklog.net/filemgmt/viewcat.php?cid=8 Geeklog install archive] and extract the ''public_html/layout/professional'' directory to your desktop. Place the ''Refresh_Original'' directory inside the ''professional'' directory and then rename the folder from ''professional'' to ''refresh''.&lt;br /&gt;
&lt;br /&gt;
'''4.''' Copy all the image files from the 'Refresh_Original/images' directory and paste them in the ''refresh/images'' directory.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Upload via FTP this new ''refresh'' directory, and all its contents to your website's ''(site_root)/layout/'' directory. You should now have at least 2 folders in the ''layout'' directory: ''professional'', and ''refresh''.&lt;br /&gt;
&lt;br /&gt;
'''6.''' In your browser, login to your website and navigate to ''(site_root)/usersettings.php?mode=edit'', click on the '''''Layout &amp;amp; Language''''' tab, and select the ''refresh'' theme and save your changes. &lt;br /&gt;
&lt;br /&gt;
At this point, you now have your new theme in place and are ready to start modifications. For you only, your site should now look exactly like a default Geeklog theme install (if it was different previously). We do this so that you are free to make changes without other users readily seeing your work-in-progress. From now on, make sure to clear the browser cache each time you upload changes, so that the browser will load the newly changed content (in Firefox, hold the control key while clicking the Reload Current Page button.)&lt;br /&gt;
&lt;br /&gt;
Back to: [[ThemePort|Porting a Theme]]&amp;lt;br&amp;gt;&lt;br /&gt;
Next up:[[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4305</id>
		<title>ThemePort:step one</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort:step_one&amp;diff=4305"/>
				<updated>2007-08-13T20:16:13Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Step One: Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, we need to prepare the new theme using Geeklog's default 'professional' theme as a starting point. This will make sure we have all the '.thtml' files we need so Geeklog won't give us errors unexpectedly.&lt;br /&gt;
&lt;br /&gt;
'''1.''' Download the theme to your desktop, then double click it to unzip it. You will now have a folder named 'Refresh'. Inside will be the files 'LICENSE.txt', 'index.html', and an 'images' folder. Change the name of the folder from 'Refresh' to 'Refresh_Original'.&lt;br /&gt;
&lt;br /&gt;
'''2.''' Click on 'index.html' to open it in your browser, and take a few minutes to browse around the layout. Often times, the designer will leave information about the design in the layout itself. In the Refresh theme for instance, the author notifies us that the design is released under the terms of the Creative Commons license, and asks that a link to his site be included in the credits. He then goes on to show how lists, images, and other elements will be styled. Another good idea is to click on View/Page Source from Firefox's main menu. This will open another window displaying the source code for 'index.html'. Familiarize yourself with the different sections of code, and what they refer to in the rendered layout. This will make it easier to visualize when you are copying changes into Geeklog's '.thtml' files.&lt;br /&gt;
&lt;br /&gt;
'''3.''' Grab a fresh copy of the [http://www.geeklog.net/filemgmt/viewcat.php?cid=8 Geeklog install archive] and extract the 'public_html/layout/professional' directory to your desktop. Place the 'Refresh_Original' directory inside the 'professional' directory and then rename the folder from 'professional' to 'refresh'.&lt;br /&gt;
&lt;br /&gt;
'''4.''' Copy all the image files from the 'Refresh_Original/images' directory and paste them in the 'refresh/images' directory.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Upload via FTP this new 'refresh' directory, and all its contents to your website's '(site_root)/layout'/ directory. You should now have at least 2 folders in the 'layout' directory: 'professional', and 'refresh'.&lt;br /&gt;
&lt;br /&gt;
'''6.''' In your browser, login to your website and navigate to '(site_root)/usersettings.php?mode=edit', click on the 'Layout &amp;amp; Language' tab, and select the 'refresh' theme and save your changes. &lt;br /&gt;
&lt;br /&gt;
At this point, you now have your new theme in place and are ready to start modifications. For you only, your site should now look exactly like a default Geeklog theme install (if it was different previously). We do this so that you are free to make changes without other users readily seeing your work-in-progress. From now on, make sure to clear the browser cache each time you upload changes, so that the browser will load the newly changed content (in Firefox, hold the control key while clicking the Reload Current Page button.)&lt;br /&gt;
&lt;br /&gt;
Back to: [[ThemePort|Porting a Theme]]&amp;lt;br&amp;gt;&lt;br /&gt;
Next up:[[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4304</id>
		<title>ThemePort</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4304"/>
				<updated>2007-08-13T20:12:23Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Porting a Theme ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Sometimes, it is easier to ''not'' re-invent the wheel. There are many free open-source website templates available that you can quickly adapt to Geeklog. Here are a couple of places to start looking:&lt;br /&gt;
&lt;br /&gt;
::* Open Source Web Design - http://www.oswd.org/&lt;br /&gt;
::* Open Web Design - http://www.openwebdesign.org/&lt;br /&gt;
::* Liquid Designs - http://www.cssliquid.com/   &lt;br /&gt;
::* StyleShout - http://www.styleshout.com/&lt;br /&gt;
&lt;br /&gt;
Most of the themes found at the sites above are released under the [[http://www.fsf.org/licensing/licenses/gpl.html|GNU public license]], or one of its variants. In a nutshell, it means you are free to use, modify, and re-distribute the code, provided the GNU license is passed along unchanged, with whatever code changes you make. Many times, a theme author will only ask that you leave a link in the site footer, crediting them with the design.&lt;br /&gt;
&lt;br /&gt;
Having said the above, remember that imitation is the sincerest form of flattery. If you find a site design that you like that is //not// open-source, contact the site admin or author and ask for permission to port their design to Geeklog. Most will gladly grant you permission, and some might even offer some pointers or insights on their designs. &lt;br /&gt;
&lt;br /&gt;
[[Image:refresh.png|right]]Below is a tutorial on porting a pure XHTML/CSS based web design to Geeklog. I have chosen a 2 column, fixed width theme called &amp;quot;Refresh&amp;quot; found at [http://www.openwebdesign.org/viewdesign.phtml?id=3497&amp;amp;referer=%2Fmost_popular.phtml www.openwebdesign.org] to be our example. The reasons behind this decision are:&lt;br /&gt;
&lt;br /&gt;
::* It already has a familiar left column &amp;amp; story column structure similar to that of Geeklog. &lt;br /&gt;
::* It is a &amp;quot;neutral&amp;quot; template, which means that it can be used on a wide variety of websites.&lt;br /&gt;
::* It is clean and minimalist, which makes it both user and designer friendly.  &lt;br /&gt;
&lt;br /&gt;
At times, site administrators or theme designers fall into the trap of designing a theme solely for one site or purpose. A wise designer will create with multiple uses in mind. This not only allows you to re-use bits of code across multiple designs, but also allows others to easily re-purpose your design to meet their needs. In many cases, making just a few color changes in the //style.css// file, and an image replacement, will be all that is needed. As you port other themes, keep these principles in mind.&lt;br /&gt;
&lt;br /&gt;
For purposes of this tutorial, we will assume you are using Windows XP with [http://www.mozilla.com/en-US/firefox/ Firefox 2] as your web browser, and are running Geeklog v1.4.1. Also grab a free copy of [http://notepad-plus.sourceforge.net/uk/site.htm Notepad++], which is the code editor we will use to make our changes. You can also download a copy of the finished Refresh theme [http://www.gllabs.org/filemgmt/index.php?id=141 here].&lt;br /&gt;
&lt;br /&gt;
We will break up the tutorial over the following pages:&lt;br /&gt;
&lt;br /&gt;
:* [[ThemePort:step_one|Step One - Preparation]]&lt;br /&gt;
:* [[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;br /&gt;
:* [[ThemePort:step_three|Step Three - Modifying the Header]]&lt;br /&gt;
:* [[ThemePort:step_four|Step Four - Modifying the Body]]&lt;br /&gt;
:* [[ThemePort:step_five|Step Five - Modifying the Footer]]&lt;br /&gt;
:* [[ThemePort:step_six|Step Six - Cleaning Up]]&lt;br /&gt;
&lt;br /&gt;
What are we waiting for? Let's get started! :-D&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4303</id>
		<title>ThemePort</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4303"/>
				<updated>2007-08-13T20:11:39Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Porting a Theme ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Sometimes, it is easier to 'not' re-invent the wheel. There are many free open-source website templates available that you can quickly adapt to Geeklog. Here are a couple of places to start looking:&lt;br /&gt;
&lt;br /&gt;
::* Open Source Web Design - http://www.oswd.org/&lt;br /&gt;
::* Open Web Design - http://www.openwebdesign.org/&lt;br /&gt;
::* Liquid Designs - http://www.cssliquid.com/   &lt;br /&gt;
::* StyleShout - http://www.styleshout.com/&lt;br /&gt;
&lt;br /&gt;
Most of the themes found at the sites above are released under the [[http://www.fsf.org/licensing/licenses/gpl.html|GNU public license]], or one of its variants. In a nutshell, it means you are free to use, modify, and re-distribute the code, provided the GNU license is passed along unchanged, with whatever code changes you make. Many times, a theme author will only ask that you leave a link in the site footer, crediting them with the design.&lt;br /&gt;
&lt;br /&gt;
Having said the above, remember that imitation is the sincerest form of flattery. If you find a site design that you like that is //not// open-source, contact the site admin or author and ask for permission to port their design to Geeklog. Most will gladly grant you permission, and some might even offer some pointers or insights on their designs. &lt;br /&gt;
&lt;br /&gt;
[[Image:refresh.png|right]]Below is a tutorial on porting a pure XHTML/CSS based web design to Geeklog. I have chosen a 2 column, fixed width theme called &amp;quot;Refresh&amp;quot; found at [http://www.openwebdesign.org/viewdesign.phtml?id=3497&amp;amp;referer=%2Fmost_popular.phtml www.openwebdesign.org] to be our example. The reasons behind this decision are:&lt;br /&gt;
&lt;br /&gt;
::* It already has a familiar left column &amp;amp; story column structure similar to that of Geeklog. &lt;br /&gt;
::* It is a &amp;quot;neutral&amp;quot; template, which means that it can be used on a wide variety of websites.&lt;br /&gt;
::* It is clean and minimalist, which makes it both user and designer friendly.  &lt;br /&gt;
&lt;br /&gt;
At times, site administrators or theme designers fall into the trap of designing a theme solely for one site or purpose. A wise designer will create with multiple uses in mind. This not only allows you to re-use bits of code across multiple designs, but also allows others to easily re-purpose your design to meet their needs. In many cases, making just a few color changes in the //style.css// file, and an image replacement, will be all that is needed. As you port other themes, keep these principles in mind.&lt;br /&gt;
&lt;br /&gt;
For purposes of this tutorial, we will assume you are using Windows XP with [http://www.mozilla.com/en-US/firefox/ Firefox 2] as your web browser, and are running Geeklog v1.4.1. Also grab a free copy of [http://notepad-plus.sourceforge.net/uk/site.htm Notepad++], which is the code editor we will use to make our changes. You can also download a copy of the finished Refresh theme [http://www.gllabs.org/filemgmt/index.php?id=141 here].&lt;br /&gt;
&lt;br /&gt;
We will break up the tutorial over the following pages:&lt;br /&gt;
&lt;br /&gt;
:* [[ThemePort:step_one|Step One - Preparation]]&lt;br /&gt;
:* [[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;br /&gt;
:* [[ThemePort:step_three|Step Three - Modifying the Header]]&lt;br /&gt;
:* [[ThemePort:step_four|Step Four - Modifying the Body]]&lt;br /&gt;
:* [[ThemePort:step_five|Step Five - Modifying the Footer]]&lt;br /&gt;
:* [[ThemePort:step_six|Step Six - Cleaning Up]]&lt;br /&gt;
&lt;br /&gt;
What are we waiting for? Let's get started! :-D&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=User:Geiss&amp;diff=4302</id>
		<title>User:Geiss</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=User:Geiss&amp;diff=4302"/>
				<updated>2007-08-13T19:58:58Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geiss ==&lt;br /&gt;
&lt;br /&gt;
Use the [http://www.geeklog.net/profiles.php?uid=7982 web form] on geeklog.net to email me.&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4301</id>
		<title>ThemePort</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4301"/>
				<updated>2007-08-13T19:55:40Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Porting a Theme ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Sometimes, it is easier to //not// re-invent the wheel. There are many free open-source website templates available that you can quickly adapt to Geeklog. Here are a couple of places to start looking:&lt;br /&gt;
&lt;br /&gt;
::* Open Source Web Design - http://www.oswd.org/&lt;br /&gt;
::* Open Web Design - http://www.openwebdesign.org/&lt;br /&gt;
::* Liquid Designs - http://www.cssliquid.com/   &lt;br /&gt;
::* StyleShout - http://www.styleshout.com/&lt;br /&gt;
&lt;br /&gt;
Most of the themes found at the sites above are released under the [[http://www.fsf.org/licensing/licenses/gpl.html|GNU public license]], or one of its variants. In a nutshell, it means you are free to use, modify, and re-distribute the code, provided the GNU license is passed along unchanged, with whatever code changes you make. Many times, a theme author will only ask that you leave a link in the site footer, crediting them with the design.&lt;br /&gt;
&lt;br /&gt;
Having said the above, remember that imitation is the sincerest form of flattery. If you find a site design that you like that is //not// open-source, contact the site admin or author and ask for permission to port their design to Geeklog. Most will gladly grant you permission, and some might even offer some pointers or insights on their designs. &lt;br /&gt;
&lt;br /&gt;
[[Image:refresh.png|right]]Below is a tutorial on porting a pure XHTML/CSS based web design to Geeklog. I have chosen a 2 column, fixed width theme called &amp;quot;Refresh&amp;quot; found at [http://www.openwebdesign.org/viewdesign.phtml?id=3497&amp;amp;referer=%2Fmost_popular.phtml www.openwebdesign.org] to be our example. The reasons behind this decision are:&lt;br /&gt;
&lt;br /&gt;
::* It already has a familiar left column &amp;amp; story column structure similar to that of Geeklog. &lt;br /&gt;
::* It is a &amp;quot;neutral&amp;quot; template, which means that it can be used on a wide variety of websites.&lt;br /&gt;
::* It is clean and minimalist, which makes it both user and designer friendly.  &lt;br /&gt;
&lt;br /&gt;
At times, site administrators or theme designers fall into the trap of designing a theme solely for one site or purpose. A wise designer will create with multiple uses in mind. This not only allows you to re-use bits of code across multiple designs, but also allows others to easily re-purpose your design to meet their needs. In many cases, making just a few color changes in the //style.css// file, and an image replacement, will be all that is needed. As you port other themes, keep these principles in mind.&lt;br /&gt;
&lt;br /&gt;
For purposes of this tutorial, we will assume you are using Windows XP with [http://www.mozilla.com/en-US/firefox/ Firefox 2] as your web browser, and are running Geeklog v1.4.1. Also grab a free copy of [http://notepad-plus.sourceforge.net/uk/site.htm Notepad++], which is the code editor we will use to make our changes. You can also download a copy of the finished Refresh theme [http://www.gllabs.org/filemgmt/index.php?id=141 here].&lt;br /&gt;
&lt;br /&gt;
We will break up the tutorial over the following pages:&lt;br /&gt;
&lt;br /&gt;
:* [[ThemePort:step_one|Step One - Preparation]]&lt;br /&gt;
:* [[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;br /&gt;
:* [[ThemePort:step_three|Step Three - Modifying the Header]]&lt;br /&gt;
:* [[ThemePort:step_four|Step Four - Modifying the Body]]&lt;br /&gt;
:* [[ThemePort:step_five|Step Five - Modifying the Footer]]&lt;br /&gt;
:* [[ThemePort:step_six|Step Six - Cleaning Up]]&lt;br /&gt;
&lt;br /&gt;
What are we waiting for? Let's get started! :-D&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4300</id>
		<title>ThemePort</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4300"/>
				<updated>2007-08-13T19:37:04Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Porting a Theme ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Sometimes, it is easier to //not// re-invent the wheel. There are many free open-source website templates available that you can quickly adapt to Geeklog. Here are a couple of places to start looking:&lt;br /&gt;
&lt;br /&gt;
::* Open Source Web Design - http://www.oswd.org/&lt;br /&gt;
::* Open Web Design - http://www.openwebdesign.org/&lt;br /&gt;
::* Liquid Designs - http://www.cssliquid.com/   &lt;br /&gt;
::* StyleShout - http://www.styleshout.com/&lt;br /&gt;
&lt;br /&gt;
Most of the themes found at the sites above are released under the [[http://www.fsf.org/licensing/licenses/gpl.html|GNU public license]], or one of its variants. In a nutshell, it means you are free to use, modify, and re-distribute the code, provided the GNU license is passed along unchanged, with whatever code changes you make. Many times, a theme author will only ask that you leave a link in the site footer, crediting them with the design.&lt;br /&gt;
&lt;br /&gt;
Having said the above, remember that imitation is the sincerest form of flattery. If you find a site design that you like that is //not// open-source, contact the site admin or author and ask for permission to port their design to Geeklog. Most will gladly grant you permission, and some might even offer some pointers or insights on their designs. &lt;br /&gt;
&lt;br /&gt;
[[Image:refresh.png|right]]Below is a tutorial on porting a pure XHTML/CSS based web design to Geeklog. I have chosen a 2 column, fixed width theme called &amp;quot;Refresh&amp;quot; found at [[http://www.openwebdesign.org/viewdesign.phtml?id=3497&amp;amp;referer=%2Fmost_popular.phtml|www.openwebdesign.org]] to be our example. The reasons behind this decision are:&lt;br /&gt;
&lt;br /&gt;
::* It already has a familiar left column &amp;amp; story column structure similar to that of Geeklog. &lt;br /&gt;
::* It is a &amp;quot;neutral&amp;quot; template, which means that it can be used on a wide variety of websites.&lt;br /&gt;
::* It is clean and minimalist, which makes it both user and designer friendly.  &lt;br /&gt;
&lt;br /&gt;
At times, site administrators or theme designers fall into the trap of designing a theme solely for one site or purpose. A wise designer will create with multiple uses in mind. This not only allows you to re-use bits of code across multiple designs, but also allows others to easily re-purpose your design to meet their needs. In many cases, making just a few color changes in the //style.css// file, and an image replacement, will be all that is needed. As you port other themes, keep these principles in mind.&lt;br /&gt;
&lt;br /&gt;
For purposes of this tutorial, we will assume you are using Windows XP with [[http://www.mozilla.com/en-US/firefox/|Firefox 2]] as your web browser, and are running Geeklog v1.4.1. Also grab a free copy of [[http://notepad-plus.sourceforge.net/uk/site.htm|Notepad++]], which is the code editor we will use to make our changes. You can also download a copy of the finished Refresh theme [[http://www.gllabs.org/filemgmt/index.php?id=141|here]].&lt;br /&gt;
&lt;br /&gt;
We will break up the tutorial over the following pages:&lt;br /&gt;
&lt;br /&gt;
:* [[ThemePort:step_one|Step One - Preparation]]&lt;br /&gt;
:* [[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;br /&gt;
:* [[ThemePort:step_three|Step Three - Modifying the Header]]&lt;br /&gt;
:* [[ThemePort:step_four|Step Four - Modifying the Body]]&lt;br /&gt;
:* [[ThemePort:step_five|Step Five - Modifying the Footer]]&lt;br /&gt;
:* [[ThemePort:step_six|Step Six - Cleaning Up]]&lt;br /&gt;
&lt;br /&gt;
What are we waiting for? Let's get started! :-D&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4299</id>
		<title>ThemePort</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=ThemePort&amp;diff=4299"/>
				<updated>2007-08-13T19:35:24Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Porting a Theme ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Sometimes, it is easier to //not// re-invent the wheel. There are many free open-source website templates available that you can quickly adapt to Geeklog. Here are a couple of places to start looking:&lt;br /&gt;
&lt;br /&gt;
::* Open Source Web Design - http://www.oswd.org/&lt;br /&gt;
::* Open Web Design - http://www.openwebdesign.org/&lt;br /&gt;
::* Liquid Designs - http://www.cssliquid.com/   &lt;br /&gt;
::* StyleShout - http://www.styleshout.com/&lt;br /&gt;
&lt;br /&gt;
Most of the themes found at the sites above are released under the [[http://www.fsf.org/licensing/licenses/gpl.html|GNU public license]], or one of its variants. In a nutshell, it means you are free to use, modify, and re-distribute the code, provided the GNU license is passed along unchanged, with whatever code changes you make. Many times, a theme author will only ask that you leave a link in the site footer, crediting them with the design.&lt;br /&gt;
&lt;br /&gt;
Having said the above, remember that imitation is the sincerest form of flattery. If you find a site design that you like that is //not// open-source, contact the site admin or author and ask for permission to port their design to Geeklog. Most will gladly grant you permission, and some might even offer some pointers or insights on their designs. &lt;br /&gt;
&lt;br /&gt;
Below is a tutorial on porting a pure XHTML/CSS based web design to Geeklog. I have chosen a 2 column, fixed width theme called &amp;quot;Refresh&amp;quot; found at [[http://www.openwebdesign.org/viewdesign.phtml?id=3497&amp;amp;referer=%2Fmost_popular.phtml|www.openwebdesign.org]] to be our example. The reasons behind this decision are:&lt;br /&gt;
&lt;br /&gt;
[[Image:refresh.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
::* It already has a familiar left column &amp;amp; story column structure similar to that of Geeklog. &lt;br /&gt;
::* It is a &amp;quot;neutral&amp;quot; template, which means that it can be used on a wide variety of websites.&lt;br /&gt;
::* It is clean and minimalist, which makes it both user and designer friendly.  &lt;br /&gt;
&lt;br /&gt;
At times, site administrators or theme designers fall into the trap of designing a theme solely for one site or purpose. A wise designer will create with multiple uses in mind. This not only allows you to re-use bits of code across multiple designs, but also allows others to easily re-purpose your design to meet their needs. In many cases, making just a few color changes in the //style.css// file, and an image replacement, will be all that is needed. As you port other themes, keep these principles in mind.&lt;br /&gt;
&lt;br /&gt;
For purposes of this tutorial, we will assume you are using Windows XP with [[http://www.mozilla.com/en-US/firefox/|Firefox 2]] as your web browser, and are running Geeklog v1.4.1. Also grab a free copy of [[http://notepad-plus.sourceforge.net/uk/site.htm|Notepad++]], which is the code editor we will use to make our changes. You can also download a copy of the finished Refresh theme [[http://www.gllabs.org/filemgmt/index.php?id=141|here]].&lt;br /&gt;
&lt;br /&gt;
We will break up the tutorial over the following pages:&lt;br /&gt;
&lt;br /&gt;
:* [[ThemePort:step_one|Step One - Preparation]]&lt;br /&gt;
:* [[ThemePort:step_two|Step Two - Modifying the CSS]]&lt;br /&gt;
:* [[ThemePort:step_three|Step Three - Modifying the Header]]&lt;br /&gt;
:* [[ThemePort:step_four|Step Four - Modifying the Body]]&lt;br /&gt;
:* [[ThemePort:step_five|Step Five - Modifying the Footer]]&lt;br /&gt;
:* [[ThemePort:step_six|Step Six - Cleaning Up]]&lt;br /&gt;
&lt;br /&gt;
What are we waiting for? Let's get started! :-D&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=File:Refresh.png&amp;diff=4298</id>
		<title>File:Refresh.png</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=File:Refresh.png&amp;diff=4298"/>
				<updated>2007-08-13T19:26:59Z</updated>
		
		<summary type="html">&lt;p&gt;Geiss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Geiss</name></author>	</entry>

	</feed>