Jump to content


BlueRobot 051


  • You cannot reply to this topic
1 reply to this topic

#1 breezer

    Likes Etomite Forums!

  • Member
  • PipPip
  • 308 posts

Posted 10 January 2005 - 10:17 PM

:D
While I was digging around today I ran across the default template for 051. It is all css based, I thought someone may find a use for it.

Blue Robot
Attached File  bluerobot.gif   14.72K   2794 downloads

Template code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Etomite - [*pagetitle*]</title>
<style type="text/css" media="all">@import "bluerobot.css";</style>
</head>
<body>
<div id="Header">[[PoweredBy]]</div>
<div id="Content">
        <h1>[*pagetitle*]</h1>
        [*content*]
</div>
<div id="Menu">
  <span class="navigation">
      [[MenuBuilder?id=0]]
</span>
</div>
<!-- BlueRobot was here, as was Phase :) -->
</body>
</html>

bluerobot.css :
body {
        margin:0px;
        padding:0px;
        font-family:verdana, arial, helvetica, sans-serif;
        color:#333;
        background-color:white;
        }
h1 {
        margin:0px 0px 15px 0px;
        padding:0px;
        font-size:28px;
        line-height:28px;
        font-weight:900;
        color:#ccc;
        }
p {
        font:11px/20px verdana, arial, helvetica, sans-serif;
        margin:0px 0px 16px 0px;
        padding:0px;
        }
#Content>p {margin:0px;}
#Content>p+p {text-indent:30px;}

a {
        color:#09c;
        font-size:11px;
        text-decoration:none;
        font-weight:600;
        font-family:verdana, arial, helvetica, sans-serif;
        }
a:link {color:#09c;}
a:visited {color:#07a;}
a:hover {background-color:#eee;}

#Header {
        margin:50px 0px 10px 0px;
        padding:17px 0px 0px 20px;
        /* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
        height:33px; /* 14px + 17px + 2px = 33px */
        border-style:solid;
        border-color:black;
        border-width:1px 0px; /* top and bottom borders: 1px; left and right borders: 0px */
        line-height:11px;
        background-color:#eee;

/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity. 
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it. 
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style 
declaration. The incorrect IE5/Win value is above, while the correct value is 
below. See http://glish.com/css/hacks.asp for details. */
        voice-family: "\"}\"";
        voice-family:inherit;
        height:14px; /* the correct height */
        }
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct 
length values to user agents that exhibit the parsing error exploited above yet get 
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#Header {height:14px;}

#Content {
        margin:0px 50px 50px 200px;
        padding:10px;
        }

#Menu {
        position:absolute;
        top:100px;
        left:20px;
        width:172px;
        padding:10px;
        background-color:#eee;
        border:1px dashed #999;
        line-height:17px;
/* Again, the ugly brilliant hack. */
        voice-family: "\"}\"";
        voice-family:inherit;
        width:150px;
        }
/* Again, "be nice to Opera 5". */
body>#Menu {width:150px;}
.navigation,.navigation a, .navigation a:visited  { font-family: Tahoma, Verdana, Helvetica, sans-serif;
        font-size: 11px;
        font-weight: bold;
        color: #ffffcc;
        background-color: #375982;
        padding: 2px;
        display: block;
        padding-left: 6px;}
/*.navigation a,.navigation a:hover { padding: 3px; display: block; padding-left: 6px; color: #339900; }*/
.navigation a:hover { /*background-color: #EAEAEA;
 border: solid 1px #999999;*/
  padding: 2px;
   padding-left: 5px;
    text-decoration: none;
     /*border-top: solid 1px #CCCCCC;
      border-left: solid 1px #CCCCCC;*/
       color: #00ccff; }


#2 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 11 January 2005 - 12:20 AM

Rather a nice template!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users