Advertise Here

Author Topic: [Stylesheet] Cat Stylesheet  (Read 4101 times)

0 Members and 1 Guest are viewing this topic.

guest801

  • Guest
[Stylesheet] Cat Stylesheet
« on: December 31, 2006, 02:40:25 am »
For SMF 1.1.1
I got the cat background from http://www.freebackgrounds.com/. It's a great site for backgrounds.

Previews


CSS Code
Code: [Select]
/* Normal, standard links. */
a:link
{
color: #3B332D;
text-decoration: none;
}
a:visited
{
color: #3B332D;
text-decoration: none;
}
a:hover
{
color: #5C4F46;
text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
color: #3B332D;
text-decoration: none;
}
a.nav:hover
{
color: #5C4F46;
text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
color: #5C4F46;
font-size: small;
font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/back-140.gif) #E0E0C1;
margin: 0px;
padding: 12px 30px 4px 30px;

}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
background-color: ;
color: #000000;
font-family: verdana, sans-serif;
}
input, button
{
font-size: 90%;
}

textarea
{
font-size: 100%;
color: #000000;
font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
font-size: 90%;
font-weight: normal;
color: #000000;
font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
height: 1px;
border: 0;
color: #5C4F46;
background-color: #3B332D;
}

/* No image should have a border when linked */
a img
{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
color: #5C4F46;
background-color: #E6E1DD;
border: 1px dotted #3B332D;
margin: 1px;
padding: 1px;
font-size: small;
line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
color: #5C4F46;
background-color: #E6E1DD;
font-family: "courier new", "times new roman", monospace;
font-size: small;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px dotted #3B332D;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
color: #5C4F46;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
background-color: yellow;
font-weight: bold;
color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #5C4F46;
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/pback.jpg) #DFDAD4 repeat-x;
}
.windowbg2
{
color: #5C4F46;
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/pback.jpg) #DFDAD4 repeat-x;
}
.windowbg3
{
color: #5C4F46;
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/pback.jpg) #DFDAD4 repeat-x;
}
/* the today container in calendar */
.calendar_today
{
background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
color: #3B332D;
font-style: normal;
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/title.jpg) #E6E1DD;
border-bottom: solid 1px #AF9D8F;
border-top: solid 1px #AF9D8F;
padding-left: 10px;
padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
font-weight: bold;
color: #3B332D;
font-style: normal;
}

.titlebg a:hover
{
color: #5C4F46;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
color: #3B332D;
font-style: normal;
text-decoration: underline;
}

.titlebg2 a:hover
{
text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/title.jpg) #E6E1DD;
color: #3B332D;
padding-left: 10px;
padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/title.jpg) #E6E1DD;
color: #3B332D;
padding-left: 10px;
padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
border-bottom: solid 1px #E6E1DD;
}
.catbg, .catbg2
{
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
font-size: 95%;
color: #3B332D;
text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
color: #3B332D;
text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
color: #5C4F46;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
background-color: #AF9D8F;
padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
padding: 1px;
border: 1px solid #AF9D8F;
background-color: #E6E1DD;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext
{
font-size: 90%;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
color: red;
}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last
{
color: white;
text-transform: uppercase;
vertical-align: top;
}

.maintab_active_first, .maintab_active_back, .maintab_active_last
{
color: #3B332D;
text-transform: uppercase;
vertical-align: top;
}

.maintab_back, .maintab_active_back
{
color: white;
text-decoration: none;
font-size:  9px;
vertical-align: top;
padding: 2px 6px 6px 6px;
font-family: tahoma, sans-serif;
}

.maintab_first
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_first.gif) left bottom no-repeat;
width: 10px;
}
.maintab_back
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_last.gif) left bottom no-repeat;
width: 8px;
}
.maintab_active_first
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_active_first.gif) left bottom no-repeat;
width: 6px;
}
.maintab_active_back
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_active_last.gif) left bottom no-repeat;
width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited
{
color: white;
text-decoration: none;
}

.maintab_active_back a:link , .maintab_active_back a:visited
{
color: #3B332D;
text-decoration: none;
}

.maintab_back a:hover
{
color: #E0D7D0;
text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last
{
color: white;
text-transform: uppercase;
vertical-align: top;
}

.mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
color: white;
text-transform: uppercase;
vertical-align: top;
}

.mirrortab_back, .mirrortab_active_back
{
color: white;
text-decoration: none;
font-size: 9px;
vertical-align: bottom;
padding: 6px 6px 2px 6px;
font-family: tahoma, sans-serif;
}

.mirrortab_first
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/mirrortab_first.gif) no-repeat;
width: 10px;
}
.mirrortab_back
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/mirrortab_last.gif) no-repeat;
width: 6px;
}
.mirrortab_active_first
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/mirrortab_active_first.gif) no-repeat;
width: 6px;
}
.mirrortab_active_back
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
background: url(http://i36.photobucket.com/albums/e41/jo117/smfcat/maintab_active_last.gif) no-repeat;
width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited
{
color: white;
text-decoration: none;
}

.mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
color: #3B332D;
text-decoration: none;
}

.mirrortab_back a:hover
{
color: #E0D7D0;
text-decoration: none;
}

/* The AJAX notifier */
#ajax_in_progress
{
background: #32CD32;
color: white;
text-align: center;
font-weight: bold;
font-size: 18pt;
padding: 3px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}

Copyright (goes in Footer)
Code: [Select]
<center>Style made by <a href="http://www.smfsupport.com/support/index.php?action=profile;u=801">Sapphiresilver</a></center>
Image Swap code for forum markers if you want them (goes in Footer)
Change the smfforfree urls to the urls that correspond to your default forum markers.
Code: [Select]
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = [ "http://jtest.smfforfree2.com/Themes/default/images/off.gif" , "http://i36.photobucket.com/albums/e41/jo117/smfcat/nonew.jpg" ]
img_b[img_b.length++] = [ "http://jtest.smfforfree2.com/Themes/default/images/on.gif" , "http://i36.photobucket.com/albums/e41/jo117/smfcat/new.jpg" ]
img_b[img_b.length++] = [ "http://jtest.smfforfree2.com/Themes/default/images/new_some.gif" , "http://i36.photobucket.com/albums/e41/jo117/smfcat/newp.jpg" ]
img_b[img_b.length++] = [ "http://jtest.smfforfree2.com/Themes/default/images/new_none.gif" , "http://i36.photobucket.com/albums/e41/jo117/smfcat/nonewp.jpg" ]

var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
   if(all_images[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
5363 Views
Last post December 23, 2006, 03:28:42 am
by guest801
0 Replies
4687 Views
Last post December 28, 2006, 09:54:28 pm
by guest801
0 Replies
4007 Views
Last post March 10, 2007, 03:18:15 pm
by Crasy
12 Replies
10535 Views
Last post October 14, 2009, 12:07:58 pm
by i feel pure
0 Replies
2581 Views
Last post March 24, 2008, 07:59:51 am
by sweet_candygirl23