Advertise Here

Author Topic: Layout  (Read 1792 times)

0 Members and 1 Guest are viewing this topic.

Offline Mod Zatu

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Layout
« on: March 14, 2010, 02:07:52 pm »
Code: [Select]
/* Runescape */
/* CSS made by Sowrowman */
/* do not delete */

/* Normal, standard links. */

 a { color: #90c040; text-decoration: none; }



a:hover

{

text-decoration: underline;

}

#centerback

{

background-color: transparent;

border:none;

padding-left:75px;

padding-right:75px;

}



/* Navigation links - for the link tree. */

.nav, .nav:link, .nav:visited

{

color: #90c040; text-decoration: none;

}

a.nav:hover

{

color: #90c040; text-decoration: none;

text-decoration: underline;

}



.on

{ background-color:#000000;}

.on2

{ background-color:#000000;}

.off

{ background-color:#000000;}



/* Tables should show empty cells. */

table

{

empty-cells: show;

}



/* By default (td, body..) use arial in black. */

body, td, th , tr

{

borde***tyle:none;

border:0px;

border-color:black;

color: #FFFFFF;

font-size: small;

font-family: arial, sans-serif;

}



/* The main body of the entire forum. */

body {

background-color:black;

background-image:url(http://www.runescape.com/img/bg2.jpg);

background-repeat: repeat-y;

background-position: top center

}



/* Input boxes - just a bit smaller than normal so they align well. */

input, textarea, button

{

color: #;

font-family: arial, sans-serif;

}

input, button

{

font-size: 90%;

}



textarea

{

font-size: 100%;

color: #FFFFFF;

background-color: #000000;

font-family: arial, 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: arial, sans-serif;

}



/* Standard horizontal rule.. (_________________________________________________, 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%;

}



/* 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: #FFFFFF;

background-color:#1C1610;

border:0px;borde***tyle:none;border-color:black;

}

.windowbg2

{

color: #FFFFFF;

background-color:#261D14;

border:0px;borde***tyle:none;border-color:black;

}



.windowbg3

{

color: #FFFFFF;

background-color:#261D14;

border:0px;borde***tyle:none;border-color:black;

}

/* the today container in calendar */

.calendar_today

{

color: #FFFFFF;

background-color:#000000;

}



/* 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: white;

font-style: normal;

background-color:#1C1610;

border-bottom: solid 3px #382418;

padding-left: 10px;

padding-right: 10px;

}

.titlebg, .titlebg a:link, .titlebg a:visited

{

font-weight: bold;

color: #90c040; text-decoration: none;

font-style: normal;

}



.titlebg a:hover

{

color: #90c040; text-decoration: underline;

}

/* same as titlebg, but used where bold text is not needed */

.titlebg2 a:link, .titlebg2 a:visited

{

color: #90c040; text-decoration: none;

}



.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

{

color: white;

font-style: normal;

background-color:#1C1610;

border-bottom: solid 3px #382418;

padding-left: 10px;

padding-right: 10px;

}

.catbg2 , tr.catbg2 td

{



color: #FFFFFF;

padding-left: 10px;

padding-right: 10px;

}



.catbg, .catbg2

{

font-weight: bold;

}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited

{

font-size: 95%;

color: #90c040; text-decoration: none;

}

.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited

{

color: #90c040; text-decoration: none;

}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover

{

color: #90c040; text-decoration: none;

}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */

.bordercolor

{

padding:0px;

border: solid 1px #382418;

background-color:#382418;

}



/* This is used on tables that should just have a border around them. */

.tborder

{

padding:0px;

background-color:#382418;

border: solid 3px #382418;

}



/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */

.smalltext

{

borde***tyle:none;

border:0px;

font-size: x-small;

font-family: arial, 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: #040534;

text-transform: uppercase;

vertical-align: top;

}

.maintab_back, .maintab_active_back

{

color: #040534;

text-decoration: none;

font-size: 9px;

vertical-align: top;

padding: 2px 6px 6px 6px;

font-family: tahoma, sans-serif;

}



.maintab_first

{

width: 10px;

}

.maintab_back

{

}

.maintab_last

{

width: 8px;

}

.maintab_active_first

{

width: 6px;

}

.maintab_active_back

{

}

.maintab_active_last

{

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: #90c040; text-decoration: none;

}



.maintab_back a:hover, .maintab_active_back a:hover

{

color: #90c040; text-decoration: none;

}

/* definitions for the mirror tab */

.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last

{

color: #90c040;

text-transform: uppercase;

vertical-align: top;

}

.mirrortab_back, .mirrortab_active_back

{

color: #90c040

text-decoration: none;

font-size: 9px;

vertical-align: bottom;

padding: 6px 6px 2px 6px;

font-family: tahoma, sans-serif;

}



.mirrortab_first

{

width: 10px;

}

.mirrortab_back

{

}

.mirrortab_last

{

width: 6px;

}

.mirrortab_active_first

{

width: 6px;

}

.mirrortab_active_back

{

}

.mirrortab_active_last

{

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: #90c040; text-decoration: none;



}



.mirrortab_back a:hover, .mirrortab_active_back a:hover

{

color: #90c040; 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;

}

Look i have that code, for the layout but how do I add it?

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: Layout
« Reply #1 on: March 14, 2010, 02:47:07 pm »
You can't use that as it is written - there are many errors in it and it has direct links to runescapes images on their site. 

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1125 Views
Last post August 10, 2007, 04:10:30 pm
by bardok
0 Replies
1446 Views
Last post August 27, 2007, 08:04:50 pm
by H_S_C
2 Replies
773 Views
Last post September 20, 2007, 07:52:21 pm
by lOOmis
7 Replies
2139 Views
Last post October 10, 2007, 11:39:22 am
by simply sibyl
13 Replies
2889 Views
Last post January 23, 2008, 03:10:49 pm
by simply sibyl