Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


dhazen

63 posts

Master Geek


#73710 20-Dec-2010 14:31
Send private message

Howdy,

This probably isn't the best way to go about learning CSS, but for those of you who have looked at the orignal file:

================

body {background-color:#B0B8A0;margin:25px;font-family:verdana,arial,helvetica,sans-serif;font-size:11px;word-wrap:break-word;}
img {margin:0 auto;border-width:0px;padding:3px;vertical-align:middle;}
hr {margin:0px 15px 0px 15px;}
h1 {font-size:16px;font-weight:bold;margin:0px 15px 0px 15px;}
h2 {font-size:14px;font-weight:bold;margin:0px 0px 15px 0px;}
h3 {font-size:12px;font-weight:bold;margin:15px 15px 15px 15px;}
blockquote {display:block;padding:1em 25px;margin:0 0 15px 0;font:normal 11px/1.4em "Palatino","Georgia",sans-serif;color:#333;background:transparent url(https://cdn.geekzone.co.nz/images/blockquote.gif) top left no-repeat;}
.miniicons {font-size:10px;padding:0px;margin:15px 15px 0px 15px;}
.byline {text-decoration:none;}
.ahrefblogtitle {text-decoration:none;}
.ahrefblogtitle:active {text-decoration:none;}
.ahrefblogtitle:hover {text-decoration:none;}
.ahrefblogtitle:visited {text-decoration:none;}
.maintable{background-color:#FFFFFF;width:70%;float:left;margin:0px;}
.righttable {background-color:#FFFFFF;width:27%;float:right;margin:0px;}
.innerrighttable {margin:15px;}
.header {background-color:#D1DABF;width:100%;margin:0px;height:100px;}
.postodd {background-color:#FFFFFF;width:100%;margin:0px;}
.posteven {background-color:#FFFFFF;width:100%;margin:0px;}
.footer {font-size:9px;clear:both;margin:20px;}
.floatimageright {float:right;margin:5px 5px 5px 5px;}
.floatimageleft {float:left;margin:5px 5px 5px 5px;}
.blogtitle {font-size:30px;font-weight:bold;margin:2px;}
.blogtag {font-size:18px;font-weight:bold;margin:2px;}
.blogsmallline {font-size:10px;margin:15px 15px 0px 15px;}
.blogadsense {margin:15px 15px 0px 15px;}
.blogpost {margin:15px;}
.blogpost:first-letter {color:#94A598;font-family:georgia,times new roman;font-size:large;font-weight:bold;}
.blogcomment {margin:15px;}
.blogcommentodd {margin:15px;}
.blogcommenteven {margin:15px;}
.blogcommentauthor {margin:15px;background: transparent url(/images/blockquote.gif) top left no-repeat;}
.hrbetweenposts {margin:0px 15px 0px 15px;}
.hrbetweencomments {margin:0px 15px 0px 15px;}
.navigation {background-color:#FFFFFF;margin:15px;font-size:11px;text-align:center;}
.bloglist {margin:15px 0px 15px 0px;}
.wrap {width:100%;margin:0 auto;padding:0;text-align:left;}

==============

and thought "maybe I'll work on this a bit later"  - here's my "first step" contribution toward flattening out that learning curve.  It a simple re-formatting of the original with a bit of re-arranging of the commands into what I view as a more helpful structure with page formatting ("box") commands at the top, and font and color commands toward the bottom.

You will probably note that the lines between these commands are not clear, and some commands contain instructions to modify all three elements.

A lot of credit should be given to the authors of this sheet as the command names go a long way to explaining what each does.  The second step in this process is to find a blog (or blogs) that use these commands so we can see what each one actually does.

Happy to accept donation blogs for anyone that is willing to share.  Also happy to accept corrections and contrary opinions .

Remember, "A Pretty blog is a Happy blog"

================


/*  This is the original style sheet used by GeekZone, modified by Deck Hazen */
/*  December 19, 2010

/*       ==================  Box formatting starts here ==================== */

 

body {
 background-color:#B0B8A0;
 margin:25px;
 font-family:verdana,arial,helvetica,sans-serif;
 font-size:11px;
 word-wrap:break-word;
 }

.maintable {
  background-color:#FFFFFF;
  width:70%;
  float:left;
  margin:0px;
  }

.header {
 background-color:#D1DABF;
 width:100%;
 margin:0px;
 height:100px;
 }
  
.righttable {
 background-color:#FFFFFF;
 width:27%;
 float:right;
 margin:0px;
 }
 
.innerrighttable {
 margin:15px;
 }
  
.postodd {
 background-color:#FFFFFF;
 width:100%;
 margin:0px;
 }
 
.posteven {
 background-color:#FFFFFF;
 width:100%;
 margin:0px;
 }
 
.footer {
 font-size:9px;
 clear:both;
 margin:20px;
 }
 
img {
 margin:0 auto;
 border-width:0px;
 padding:3px;
 vertical-align:middle;
 }

blockquote {
 display:block;
 padding:1em 25px;
 margin:0 0 15px 0;
 font:normal 11px/1.4em Palatino, Georgia, sans-serif;
 color:#333;
 background-image:url(https://cdn.geekzone.co.nz/images/blockquote.gif);
 background-position:'top left';
 background-repeat: no-repeat;
 
 }

.floatimageright {
 float:right;
 margin:5px 5px 5px 5px;
 }
 
.floatimageleft {
 float:left;
 margin:5px 5px 5px 5px;
 }
 
.blogsmallline {
 font-size:10px;
 margin:15px 15px 0px 15px;
 }
 
.blogadsense {
 margin:15px 15px 0px 15px;
 }
 
.blogpost {
 margin:15px;
 }
 
.blogcommentauthor {
 margin:15px;
 background: transparent url(/images/blockquote.gif) top left no-repeat;
 }
 
.hrbetweenposts {
 margin:0px 15px 0px 15px;
 }
 
.hrbetweencomments {
 margin:0px 15px 0px 15px;
 }
 
.navigation {
 background-color:#FFFFFF;
 margin:15px;
 font-size:11px;
 text-align:center;
 }
 
.blogcomment {
 margin:15px;
 }
 
.blogcommentodd {
 margin:15px;
 }
 
.blogcommenteven {
 margin:15px;
 }
 
.bloglist {
 margin:15px 0px 15px 0px;
 }
 
.wrap {
 width:100%;
 margin:0 auto;
 padding:0;
 text-align:left;
 }


/* ============= Headers, Fonts, and Colours start here  ====================*/
 
hr {
 margin:0px 15px 0px 15px;
 }
 
h1 {
 font-size:16px;
 font-weight:bold;
 margin:0px 15px 0px 15px;
 }
 
h2 {
 font-size:14px;
 font-weight:bold;
 margin:0px 0px 15px 0px;
 }
 
h3 {
 font-size:12px;
 font-weight:bold;
 margin:15px 15px 15px 15px;
 }
 
.miniicons {
 font-size:10px;
 padding:0px;
 margin:15px 15px 0px 15px;
 }

.byline {
 text-decoration:none;
 }

/*  ============================= Link Colours =====================*/

 
.ahrefblogtitle {
 text-decoration:none;
 }
 
.ahrefblogtitle:active {
 text-decoration:none;
 }
 
.ahrefblogtitle:hover {
 text-decoration:none;
 }
 
.ahrefblogtitle:visited {
 text-decoration:none;
 }

/*  ===========================  Titles and Tags  ================*/

 
.blogtitle {
 font-size:30px;
 font-weight:bold;
 margin:2px;
 }
 
.blogtag {
 font-size:18px;
 font-weight:bold;
 margin:2px;
 }
 
.blogpost:first-letter {
 color:#94A598;
 font-family:georgia,"times new roman";
 font-size:large;
 font-weight:bold;
 }


===============================

               -- Deck

Create new topic
dhazen

63 posts

Master Geek


  #419479 20-Dec-2010 15:44
Send private message

I've had time now to examine the blogs of 6 of our esteemed colleages, and guess what - none of them have section headers - in fact NO headers that I can see apart from the main Blog Header.

It also appears that much of instruction set contained in the GeekZone CSS page relates to Blog-related sections that are automatically inserted for items like comments and replies, and lines between comments, etc.

It may be the case that we have only a few formatting commands to worry about - things like page colour and the nice graphic at the top of the blog - and this may turn out to be good news for folks that want a distinctive Blog page but don't want to much around with a lot of messy CSS stuff.

It may also mean that I now have to re-think my ideas about writing, design, Blogs and web pages.

- Deck



freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #419488 20-Dec-2010 16:01
Send private message

Also note we do have some structure in place to allow for blog templates - RedJungle is actually planning to put some time into creating a new default template and a few templates users could switch in the Blog Config page.





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


dhazen

63 posts

Master Geek


  #419625 20-Dec-2010 19:00
Send private message

That's great - thanks Mauricio -- not a big deal really, just that it's hard to talk about design if you can't show what you're talking about -- a bit like talking about the advantages of clean air in downtown L.A.

chiefie mentioned in a reply that he had his CSS file on a separate server -- is that an option for others as well?

- Deck

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.