Простоузер
Join Date: May 2010
Posts: 8
Версия vB: 4.2.х
Reputation:
Novice 0
Репутация в разделе: 0
|
CSS Style
0
Здравствуйте уважаемые пользователи,
у меня есть шаблон для форума, имеется vbulletin-style.xml и сама папка с файлами. Когда устанавливаешь шаблон через vbulletin-style.xml задаются некоторые параметры CSS стиля. Во общем смысл таков, у меня есть полный css стиль. Как можно его вмонтировать в шаблон? Просто заменяя style.css в папке с шаблоном ничего не получается.
Setroler добавил 03.05.2010 в 21:14
Вид стиля CSS
PHP Code:
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.4 CSS
* Style: 'LifeForGame'; Style ID: 4
*/
body
{
background: #050505;
color: #ffffff;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 5px 5px 5px;
padding: 0px;
}
a:link, body_alink
{
color: #D10400;
}
a:visited, body_avisited
{
color: #D10400;
}
a:hover, a:active, body_ahover
{
color: #3373CD;
}
.page
{
background: #050505;
color: #ffffff;
margin: 0px auto;
padding: 0px;
}
.page a:link, .page_alink
{
color: #D10400;
}
.page a:visited, .page_avisited
{
color: #D10400;
}
.page a:hover, .page a:active, .page_ahover
{
color: #FFFFFF;
}
td, th, p, li
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tborder
{
background: #000000;
color: #FFFFFF;
border: 1px solid #000000;margin0px auto;
}
.tcat
{
background: #1E1E1E;
color: #FFFFFF;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 4px 4px 4px 4px;
}
.tcat a:link, .tcat_alink
{
color: #3373CD;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
color: #3373CD;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
color: #D10400;
text-decoration: underline;
}
.thead
{
background: url(combatscripts/temp/bottombar.gif) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.thead a:link, .thead_alink
{
color: #D10400;
}
.thead a:visited, .thead_avisited
{
color: #D10400;
}
.thead a:hover, .thead a:active, .thead_ahover
{
color: #3373CD;
}
.tfoot
{
background: url(combatscripts/temp/bottombar.gif) repeat-x top left;
color: #E0E0F6;
height: 25px;
}
.tfoot a:link, .tfoot_alink
{
color: #E0E0F6;
}
.tfoot a:visited, .tfoot_avisited
{
color: #E0E0F6;
}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover
{
color: #FFFF66;
}
.alt1, .alt1Active
{
background: #1E1E1E;
color: #ffffff;
padding: 8px 8px 8px 8px;
}
.alt1 a:link, .alt1_alink, .alt1Active a:link, .alt1Active_alink
{
color: #D10400;
}
.alt1 a:visited, .alt1_avisited, .alt1Active a:visited, .alt1Active_avisited
{
color: #D10400;
}
.alt1 a:hover, .alt1 a:active, .alt1_ahover, .alt1Active a:hover, .alt1Active a:active, .alt1Active_ahover
{
color: #3373CD;
}
.alt2, .alt2Active
{
background: #141414;
color: #ffffff;
padding: 8px 8px 8px 8px;
}
.inlinemod
{
background: #333333;
color: #FFFFFF;
}
.wysiwyg
{
background: #1E1E1E;
color: #ffffff;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 5px;
}
.wysiwyg a:link, .wysiwyg_alink
{
color: #CCCCCC;
}
.wysiwyg a:visited, .wysiwyg_avisited
{
color: #CCCCCC;
}
.wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover
{
color: #FFFFFF;
}
textarea, .bginput
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.bginput option, .bginput optgroup
{
font-size: 10pt;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.button
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
select
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
option, optgroup
{
font-size: 11px;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.time
{
color: #3373CD;
}
.navbar
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.highlight
{
color: #FF0000;
font-weight: bold;
}
.fjsel
{
background: #3E5C92;
color: #E0E0F6;
}
.fjdpth0
{
background: #F7F7F7;
color: #000000;
}
.panel
{
background: #000000;
color: #CCCCCC;
padding: 10px;
border: 2px outset;
}
.panelsurround
{
background: #000000;
color: #CCCCCC;
}
legend
{
color: #FFFFFF;
font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.vbmenu_control
{
background: #333333;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.vbmenu_control a:link, .vbmenu_control_alink
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_control a:visited, .vbmenu_control_avisited
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover
{
color: #FFFFFF;
text-decoration: underline;
}
.vbmenu_popup
{
background: #FFFFFF;
color: #000000;
border: 1px solid #0B198C;
}
.vbmenu_option
{
background: #000000;
color: #CCCCCC;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_option a:link, .vbmenu_option_alink
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_option a:visited, .vbmenu_option_avisited
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover
{
color: #999999;
text-decoration: none;
}
.vbmenu_hilite
{
background: #000000;
color: #FFFFFF;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_hilite a:link, .vbmenu_hilite_alink
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_hilite a:visited, .vbmenu_hilite_avisited
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
{
color: #FFFFFF;
text-decoration: none;
}
/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }
/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }
/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }
/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }
/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
</style>
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_important.css?v=382" />
<!-- / CSS Stylesheet -->
Last edited by Setroler : 05-03-2010 at 10:14 PM.
Reason: Добавлено сообщение
|