[ 1vi @ 28.08.2009. 12:57 ] @
Prilažem style.css pa ako nekoga ne mrzi da pogleda koji kod bi trebao da ispravim da Forum raširim. Znači kao i ES po širini 100%. Tema je SMF Multiblue 118. I još ako bi neko imao istu u ZIP formatu neka je okači pošto je ja nemam u originalnom pakovanju. Hvala. Code: /* Normal, standard links. */ a:link { color: #0064A7; text-decoration: none; } a:visited { color: #0064A7; text-decoration: none; } a:hover { color:#0064A7; text-decoration: none; } /* Navigation links - for the link tree. */ .nav, .nav:link, .nav:visited { color:white; text-decoration: none; background-color:#91CDE6; } a.nav:hover { color:#0064A7; text-decoration:none; } /* 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(images/bg-body.gif) 50% 100% repeat-x; padding: 52px 0 20px 0; } html{ padding:0; margin:0; background: url(images/bg.gif) #005ea2 0% 0% repeat-x; font: x-small "Tahoma", "Verdana", "Arial", sans-serif; color: #0f0f0f; text-align: center; min-height: 100%; font-size/* */:/**/small; font-size: /**/small; } /* Input boxes - just a bit smaller than normal so they align well. */ input, textarea, button { 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%; } /* 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, #preview_body { color: #000000; background-color: #F6F6F6; } .windowbg2 { color: #000000; background-color: #F6F6F6; } .windowbg3 { color: #000000; background-color: #F6F6F6; } /* 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: black; font-style: normal; background: url(images/titlebg.jpg) #989898 repeat-x; 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: 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('images/catbg.gif'); color: black; padding-left: 10px; padding-right: 10px; text-align:center; } .catbg2 , tr.catbg2 td { background: url('images/catbg.gif'); color: black; padding-left: 10px; padding-right: 10px; text-align:center; } .catbg, .catbg2, .catbg3 { border-bottom: none; text-align:center; } .catbg, .catbg2 { font-weight: bold; text-align:center; } .catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited { font-size: 95%; color: black; text-decoration: none; } .catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited { color: black; text-decoration: none; text-align:center; } .catbg a:hover, .catbg2 a:hover, .catbg3 a:hover { color: black; text-align:center; } .catbgnew { height: 47px; line-height: 50px; color: black; font-weight: bold; background: url('images/catbg.gif') repeat-x 0 0; padding-left:0; padding-right:0; padding-top:0; padding-bottom:0; text-align:center; } .catbgnew-l { background: url('images/l-cat.gif') no-repeat 0 0; padding-left: 74px; position: relative; } .catbgnew-r { background: url('images/r-cat.gif') no-repeat 100% 0; padding-right: 115px; position: relative; } .catbgnew a:link { color: black; text-decoration: none; text-align:center; } .catbgnew a:visited { color: black; text-decoration: none; text-align:center; } .catbgnew a:hover { text-decoration: underline overline; } /* This is used for tables that have a grid/border background color (such as the topic listing.) */ .bordercolor { background-color: white; padding: 0px; } /* This is used on tables that should just have a border around them. */ .tborder { padding: 1px; border: 2px solid white; background-color: white; } /* 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(images/maintab_active_first.gif) left bottom no-repeat; width: 6px; } .maintab_active_back { background: url(images/maintab_active_back.gif) left bottom repeat-x; } .maintab_active_last { background: url(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: 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: 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: white; text-decoration: none; } .mirrortab_back a:hover, .mirrortab_active_back a:hover { color: #e0e0ff; 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; } #container { width: 769px; margin: 0 auto; text-align: left; background: url(images/bg-container.gif) #91cde6 0% 0% repeat-y; } #container:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } #header { background: url(images/header.jpg) 0% 100% no-repeat; height: 233px; position: relative; } #header h1 { position: absolute; top: 90px; left: 80px; font: bold 100% "Trebuchet MS", "Lucida Sans Unicode", "Verdana", "Arial", sans-serif; color: #fff; } #mainmenu { position: absolute; bottom: 233px; bottom: 233px; /* die, IE 6, die */ left: 30px; margin: 0; padding: 0; } #mainmenu li { display: inline; list-style: none; font: bold 100% "Trebuchet MS", "Lucida Sans Unicode", "Verdana", "Arial", sans-serif; margin: 0; padding: 0; } #mainmenu li a { display: block; width:auto; float:left; margin-right: 10px; padding: 6px 6px; } #mainmenu li a:link, #mainmenu li a:visited { background: #058cc4; color: #fff; } #mainmenu li a:hover, #mainmenu li a:active, #mainmenu li a:focus { background: #fff; color: #058cc4; } #mainmenu .active a { background: #b9def0; color: #058cc4; } #footer { width: 719px; margin: 0 auto; background: url(images/footer.gif) 0% 0% no-repeat; color: #058cc4; padding: 12px 25px 12px 25px; } #footer p { float: left; width: auto; padding: 0px 0px; background: #058cc4; color: #fff; font: normal 100% "Trebuchet MS", "Lucida Sans Unicode", "Verdana", "Arial", sans-serif; } #footer p.credit {float: right;} #footer a:link, #footer a:visited {color: #fff; background: #058cc4;} #footer a:hover, #footer a:active, #footer a:focus {text-decoration: underline;} #footer:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } #content { width:725px; float: center; padding: 15px 25px 0 25px; } .altbgsol { background-image: url(images/altbgsol.png); width: 30px; height: 20px; } .altbgsag { background-image: url(images/altbgsag.png); width: 30px; height: 20px; } .altbgarka { background-image: url(images/altbgarka.png); } mod edit: sve kodove stavljas izmedju code tagova! [Ovu poruku je menjao jockeal dana 28.08.2009. u 15:46 GMT+1] |