SMF For Free Support Forum
Signup For Free Forum
October 07, 2008, 03:47:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Stylesheet] 4th of July  (Read 457 times)
0 Members and 1 Guest are viewing this topic.
Enigma
SMF For Free Member
*
Offline Offline

Posts: 78


Hello!


View Profile WWW
« on: July 02, 2008, 03:53:09 pm »

Forum Url: http://subspacewallpaper.smfforfree2.com
Here's a 4th of July Theme you might like just in time for the 4th.  Wink
*please host the images on your account or use imageshack.

Code:
/*
Generated by SMF Theme Generator
http://www.smfhacks.com
*/
/* Normal, standard links. */
a:link
{
color: #FDF401;
text-decoration: none;
}
a:visited
{
color: #BEB703;
text-decoration: none;
}
a:hover
{
color: #ffffff;
text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
color: #FDF401;
text-decoration: none;
}
a.nav:hover
{
color: #ffffff;
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: #ffffff;
font-size: small;
font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
background-color: #292C63;
background-image: url(http://img91.imageshack.us/img91/1483/background4thofjulyvs5.jpg);
background-repeat:  no-repeat;
             background-position:  center center;
             background-attachment: fixed;
             opacity:0.80;
             filter:alpha(opacity=80);


}

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

textarea
{
font-size: 100%;
color: #ffffff;
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: #ffffff;
font-family: verdana, sans-serif;
}

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

/* No image should have a border when linked */
a img
{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
color: #ffffff;
background-color: #BEB703;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
color: #ffffff;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
font-size: x-small;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px solid #000000;
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: #ffffff;
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: #FFFFFF;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #ffffff;
background-color: #292C63;
}
.windowbg2
{
color: #FDF401;
background-color: #BE0314;
}
.windowbg3
{
color: #ffffff;
background-color: #292C63;
}
/* 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: #ffffff;
font-style: normal;
background: url(http://i139.photobucket.com/albums/q320/SubspaceAlbum/Web%20icons/CSS%20Stlyle%20Sheets/4thofjuly/tittlebg2.jpg) #292C63 repeat-x;
border-bottom: solid 1px #9BAEBF;
border-top: solid 1px #FFFFFF;
padding-left: 10px;
padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
font-weight: bold;
color: #ffffff;
font-style: normal;
}

.titlebg a:hover
{
color: #ffffff;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
color: black;
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://i139.photobucket.com/albums/q320/SubspaceAlbum/Web%20icons/CSS%20Stlyle%20Sheets/4thofjuly/catbg.png) #292C63 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
background: url(http://i139.photobucket.com/albums/q320/SubspaceAlbum/Web%20icons/CSS%20Stlyle%20Sheets/4thofjuly/catbg.png) #292C63 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
font-size: 95%;
color: white;
text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
color: white;
text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
color: #292C63;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
background-color: #BE0314;
padding: 0px;
}

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

/* 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, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
color: white;
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(images/maintab_first.gif) left bottom no-repeat;
width: 10px;
}
.maintab_back
{
background: url(images/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
background: url(images/maintab_last.gif) left bottom no-repeat;
width: 8px;
}
.maintab_active_first
{
background: url(default/images/maintab_active_first.gif) left bottom no-repeat;
width: 6px;
}
.maintab_active_back
{
background: url(default/images/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
background: url(default/images/maintab_active_last.gif) left bottom no-repeat;
width: 8px;
}

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

.maintab_back a:hover, .maintab_active_back a:hover
{
color: #292C63;
text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
color: #BE0314;
text-transform: uppercase;
vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
color: #BE0314;
text-decoration: none;
font-size: 9px;
vertical-align: bottom;
padding: 6px 6px 2px 6px;
font-family: tahoma, sans-serif;
}

.mirrortab_first
{
background: url(images/mirrortab_first.gif) no-repeat;
width: 10px;
}
.mirrortab_back
{
background: url(images/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
background: url(images/mirrortab_last.gif) no-repeat;
width: 6px;
}
.mirrortab_active_first
{
background: url(images/mirrortab_active_first.gif) no-repeat;
width: 6px;
}
.mirrortab_active_back
{
background: url(images/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
background: url(images/mirrortab_active_last.gif) no-repeat;
width: 8px;
}

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

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
color: #292C63;
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;
}

Alternate Background
http://img380.imageshack.us/img380/3448/background4thofjulybao8.jpg

Had to add this site great little program for starting a stylesheet.
Generated by SMF Theme Generator
http://www.smfhacks.com
http://www.smfhacks.com/smf-theme-generator.html
« Last Edit: July 03, 2008, 08:12:54 pm by Enigma » Logged

Jitoa
SMF For Free Newbie
*
Offline Offline

Posts: 16



View Profile
« Reply #1 on: July 12, 2008, 05:16:40 pm »

Looks good, not sure about the whole 4th of july thing. But still good design.
Logged
timgalo
SMF For Free Sponsors
*
Online Online

Posts: 21


View Profile
« Reply #2 on: October 01, 2008, 04:39:47 pm »

Is there a code that has to be put in the header or footer for this to work?? Thanks
Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 8410



View Profile WWW
« Reply #3 on: October 01, 2008, 05:14:35 pm »

Is there a code that has to be put in the header or footer for this to work?? Thanks

Nope..  Here is all you have to do to add it:

Admin > Manage Styles
Click Create Style
Type a name for the new style in the box - scroll to the bottom and save
Click Modify Style
Choose the style you created - click Pick Style
Scroll to the bottom - erase all of the existing css in the box - paste the new code in.
Click Modify Style
To use your new style choose it in the dropdown menu from Manage Styles.
   
Logged

timgalo
SMF For Free Sponsors
*
Online Online

Posts: 21


View Profile
« Reply #4 on: October 01, 2008, 05:27:50 pm »

Thanks Sybyl playing with the code on a friends site it's here
http://wwwfightcorruption.freesmfhosting.com/
Logged


Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.232 seconds with 17 queries.