SMF For Free Support Forum
Signup For Free Forum
August 30, 2008, 07:51:35 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] Abyss  (Read 829 times)
0 Members and 1 Guest are viewing this topic.
Celebrus
SMF For Free Hero
*
Online Online

Posts: 743


Previously known as Omikron


View Profile WWW
« on: January 20, 2008, 06:28:05 am »

This is my first style.  For lack of a better name it's called abyss.

I have been working on it for quite some time. Here's a screenshot:




Preview!



This is the actual style sheet.

Code:
/* Normal, standard links. */
a:link
{
color: #4848FF;
text-decoration: none;
}
a:visited
{
color: #2C2CFF;
text-decoration: none;
}
a:hover
{
color: #6A6AE2;
text-decoration: underline;
}

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

/* The main body of the entire forum. */
body
{
        background: url(http://i249.photobucket.com/albums/gg212/themeset/a1/bg-3.png);
        background-repeat: repeat-x;
background-color: #000000;
margin: auto;
padding-top: 12px;
        padding-bottom:  4px;
width: 757px;
        color: #e1e1e1;
}

/* 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: #666666;
background-color: #666666;
}

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

/* A code block - maybe even PHP ;). */
.code
{
color: #000000;
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: #000000;
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%;
        background-image: url(http://i249.photobucket.com/albums/gg212/themeset/a1/edbg-1.png);
}

/* 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: #303030;
background-color: #ECEDF3;
}
.windowbg2
{
color: #414141;
background-color: #F6F6F6;
}
.windowbg3
{
color: #343434;
background-color: #E0E1E8;
}
/* 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: #7F9096;
font-style: normal;
background: url(http://i249.photobucket.com/albums/gg212/themeset/a1/titlebg.png) #000000 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: black;
font-style: normal;
}

.titlebg a:hover
{
color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
color: 7F909a;
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://www.smfboards.com/Themes2/default/images/catbg.jpg) #88A6C0 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg
{
        background: url(http://i249.photobucket.com/albums/gg212/themeset/a1/catbg-1.png) #000000 no-repeat;
}
.catbg2 , tr.catbg2 td
{
background: url(http://www.smfboards.com/Themes2/default/images/catbg2.jpg) #A1BFD9 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: #e0e0ff;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
background-color: #ADADAD;
padding: 0px;
}

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

/* 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: #060079;
             border-left:  1px solid #696969;
             border-bottom:  1px solid #696969;
width: 10px;
}
.maintab_back
{
background: #060079;
             border-bottom:  1px solid #696969;
}
.maintab_last
{
background: #060079;
             border-right: 1px solid #696969;
             border-bottom: 1px solid #696969;
width: 8px;
}
.maintab_active_first
{
background: #00435C;
             border-left:  1px solid #696969;
             border-bottom:  1px solid #696969;
width: 6px;
}
.maintab_active_back
{
background: #00435C;
              border-bottom:  1px solid #696969;
             
}
.maintab_active_last
{
background: #00435C;
             border-right:  1px solid #696969;
             border-bottom: 1px solid #696969;
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: white;
text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
color: #e0e0ff;
text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .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: #060079;
             border-top:  1px solid #696969;
             border-left:  1px solid #696969;
width: 10px;
}
.mirrortab_back
{
background: #060079;
             border-top:  1px solid #696969;
}
.mirrortab_last
{
background: #060079;
             border-top:  1px solid #696969;
             border-right:  1px solid #696969;
width: 6px;
}
.mirrortab_active_first
{
background: #00435C;
             border-top:  1px solid #696969;
             border-left:  1px solid #696969;
width: 6px;
}
.mirrortab_active_back
{
background: #00435C;
             border-top:  1px solid #696969;
}
.mirrortab_active_last
{
background: #00435C;
             border-top:  1px solid #696969;
             border-right: 1px solid #696969;
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: white;
text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
color: #e0e0ff;
text-decoration: none;
}

#footerarea
{
        background: url(http://i249.photobucket.com/albums/gg212/themeset/a1/footerarea.png) #000000 repeat-x;
        border: 2px outset #ffffbe;
}

#bodyarea
{
        border: 1px ridge #646464;
        background: #343434;
}

div.nav
{
        display: 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;
}

Put this in your headers:

Code:
<div class="tborder" valign="bottom"><div class="catbg" id="newz"><center><img src="http://i249.photobucket.com/albums/gg212/themeset/a1/banner-2.png" alt="Abyss" /></center></div></div>


Of course, you can change the image to your forum's logo. It is optional to put that in your headers, but if you want the news to be placed the way it is in the screenshot, you have to put it.

Now if you want to have your news like that, ensure you have the jQuery include in your headers.
Code:
<script src="jquery.js"></script>
Then put this in your headers or footers:
Code:
<script>
// News moving module
// Made by Omikron 9861
$("tbody tr td.titlebg2:contains(News)").ready(function(){
var news = $("tbody tr td.titlebg2:contains(News)").html();
$("tbody tr td.titlebg2:contains(News)").hide();
var news2 = "<div class='tborder' align='right' style='font-variant: small-caps; color: black'>"+news+"</div>"
$("#newz").prepend(news2);
});
</script>

And here's an alternative to the code posted above. It is the one being use in the preview. It places the news under the logo.

Code:
<script>
// News moving module
// Made by Omikron 9861
$("tbody tr td.titlebg2:contains(News)").ready(function(){
var news = $("tbody tr td.titlebg2:contains(News)").html();
$("tbody tr td.titlebg2:contains(News)").hide();
var news2 = "<div class='tborder' align='right' style='font-variant: small-caps; color: black'>"+news+"</div>"
$("#newz").append(news2);
});
</script>



And here are the new post and no new posts icons:






Expand/Collapse Images:


Logged

Ravage™
SMF For Free Sr. Member
*
Offline Offline

Posts: 482


Ravage Beast!


View Profile WWW
« Reply #1 on: January 20, 2008, 06:40:58 am »

i wish i was as good as all of you that do skins does sybil have a sute o help do skins?
Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 7941


I am not a dude!


View Profile WWW
« Reply #2 on: January 20, 2008, 07:20:45 am »

Good job Omikron

i wish i was as good as all of you that do skins does sybil have a sute o help do skins?

If you look around thru the Stylesheet Area there are alot of questions/answers about doing them.

I made this site awhile back.  Its all color coded so you can see which areas are which:
Color Coded Stylesheet Help

I came across the following Tutorial for the Default CSS 
It was written by patrick from the simplemachines forum.
It should help you alot.   It describes each section in the css (with pictures)
patrick's tutorial

Info for doing backgrounds:
How to put a background image on your forum
   
To learn css, look things up:
http://w3schools.com/css/default.asp

Links for finding color codes:

http://html-color-codes.com/
http://www.december.com/html/spec/color.html
http://meyerweb.com/eric/tools/color-blend/
http://www.webmonkey.com/webmonkey/reference/color_codes/
http://www.computerhope.com/htmcolor.htm#03

Im putting this all together into one thread here:
Stylesheet Making Tips/Helpful Links
« Last Edit: January 20, 2008, 08:37:50 am by simply sibyl » Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3013



View Profile WWW
« Reply #3 on: January 20, 2008, 08:51:02 am »

Very nice job Omikron. 
Logged

Laugh-nd-kid
SMF For Free Master
*
Offline Offline

Posts: 1416


Thankyou for this great software SMF For Free!


View Profile
« Reply #4 on: January 20, 2008, 09:14:52 am »

One of the best styles here to be honest.

*gives possitive reputation*
Logged

Celebrus
SMF For Free Hero
*
Online Online

Posts: 743


Previously known as Omikron


View Profile WWW
« Reply #5 on: January 20, 2008, 10:16:02 am »

Thank you all a lot! That's really good encouragement. I feel it might have not been as good without the logo, though.
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3013



View Profile WWW
« Reply #6 on: January 20, 2008, 10:26:19 am »

Logo does set the theme
Logged

neko-ka-san
SMF For Free Member
*
Offline Offline

Posts: 65


I make graphics!


View Profile WWW
« Reply #7 on: January 20, 2008, 03:20:33 pm »

So pretty! I love the logo! Good job Omikron!
Logged


Don't steal codes or graphics! The credits penguins will find you and take your soul!
deathwilldie
Style Designer
****
Offline Offline

Posts: 566

Give me an idea for a Stylesheet


View Profile WWW
« Reply #8 on: January 20, 2008, 04:33:45 pm »

That looks pretty good.  The new post images and stuff could use a little work though.  What type of file did you save them as?
Logged


Eternal Flame Coming soon.
Celebrus
SMF For Free Hero
*
Online Online

Posts: 743


Previously known as Omikron


View Profile WWW
« Reply #9 on: January 21, 2008, 02:23:56 am »

That looks pretty good.  The new post images and stuff could use a little work though.  What type of file did you save them as?

GIF so it works on IE6 as well.
Logged

Ravage™
SMF For Free Sr. Member
*
Offline Offline

Posts: 482


Ravage Beast!


View Profile WWW
« Reply #10 on: January 21, 2008, 06:51:56 am »

Good job Omikron

i wish i was as good as all of you that do skins does sybil have a sute o help do skins?

If you look around thru the Stylesheet Area there are alot of questions/answers about doing them.

I made this site awhile back.  Its all color coded so you can see which areas are which:
Color Coded Stylesheet Help

I came across the following Tutorial for the Default CSS 
It was written by patrick from the simplemachines forum.
It should help you alot.   It describes each section in the css (with pictures)
patrick's tutorial

Info for doing backgrounds:
How to put a background image on your forum
   
To learn css, look things up:
http://w3schools.com/css/default.asp

Links for finding color codes:

http://html-color-codes.com/
http://www.december.com/html/spec/color.html
http://meyerweb.com/eric/tools/color-blend/
http://www.webmonkey.com/webmonkey/reference/color_codes/
http://www.computerhope.com/htmcolor.htm#03

Im putting this all together into one thread here:
Stylesheet Making Tips/Helpful Links

thanks
Logged
deathwilldie
Style Designer
****
Offline Offline

Posts: 566

Give me an idea for a Stylesheet


View Profile WWW
« Reply #11 on: January 21, 2008, 04:52:10 pm »

That looks pretty good.  The new post images and stuff could use a little work though.  What type of file did you save them as?

GIF so it works on IE6 as well.

You should save them as a PNG.  They are better quality and it still should work on IE
Logged


Eternal Flame Coming soon.
simply sibyl
Global Moderator
*
Offline Offline

Posts: 7941


I am not a dude!


View Profile WWW
« Reply #12 on: January 21, 2008, 04:55:19 pm »

You should save them as a PNG.  They are better quality and it still should work on IE

pretty sure he is trying to make sure they are still transparent on IE 6.0 and png transparencys are not supported with 6.0 so he did them as gifs since it does support them  Wink     With IE 6.0 you would see the white background.
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 1.18 seconds with 16 queries.