[Sage] Style: Mozilla Two Column (mozilla_2column.css)

Eric Wilson eric at digitalsimulacra.com
Thu Feb 16 12:11:50 EST 2006


I just installed Sage for the first time and decided I wanted to use
the Mozilla style, but with two columns.  I thought I'd share what I
came up with, in case anyone else wanted the same thing.  It's based
on Brian Donovan's Mozilla style and Kaspars Dambis's Plain and Green
Two Column style.

- Eric Wilson



html
{
    background: url(back.gif) repeat-x;
}

body
{
    width: 90%;
    margin: 30px auto;
}

*
{
    font-family: "Trebuchet MS", "Verdana", sans-serif;
}

p
{
    color: #000;
}

.item-desc img
{
    border: 1px solid #ddd;
    padding: 5px;
    height: auto;
    max-width: 90%;
}

#rss-header
{
    background: #455372 !important;
    margin: 0 0 32px 0;
    -moz-border-radius: 8px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 10px;
}

#rss-header a, #rss-header p
{
    color: #fff;
    text-decoration: none;
    margin: 0;
}

#rss-header p
{
    font-size: 10pt;
    padding-left: 1em;
    padding-right: 1em;
}

h1
{
    font-weight: normal;
    margin: 0;
    font-size: 16pt;
}

h1:before
{
    content: "Newsfeed: ";
    color: #ccc;
}

h2.item-title
{
    border-bottom: 1px solid #ddd;
    color: #000;
    display: block;
    font-family: "Trebuchet MS", "Verdana", sans-serif;
    font-size: 12pt;
    font-weight: normal;
    min-height: 1.3em;
    padding: 10px 0 0 0;
}

h2.item-title a
{
    color: #000;
    text-decoration: none;
}

h2.item-title a:visited:after
{
    color: #777;
    content: " - visited";
    font-size: 12px;
}

div.item
{
    background: #E4ECEC;
    border: 0;
    border-bottom: 1px solid #D2D6D6;
    border-right: 1px solid #D2D6D6;
    -moz-border-radius: 8px;
    color: #333;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 0 5px 5px 5px;
    position: relative;
    float: left; width: 45%;
    margin-left: 1%;
    margin-right: 1%;
    left: auto;
    right: auto;
}

.item-pubDate
{
    background: #FAF4C8;
    border-right: 1px solid #E3DE9F;
    border-bottom: 1px solid #E3DE9F;
    color : #777;
    float: right;
    font-size: 7pt;
    font-weight: bold;
    line-height: 1.1em;
    padding: 2px 3px 5px 3px;
    position: absolute;
    right: 3pt;
    text-align: center;
    top: 3pt;
}

item-technorati
{
    font-size: x-small;
    margin: 0px;
    text-align: right;
}

.item-ordinal
{
    color: #777;
}


More information about the Sage mailing list