Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-12-2008, 08:46 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The content (frame's htm pages) are already using css actually.

As a matter of fact, I even added the original alt1 and alt2 classes in their as well.

Code:
body {
margin:5px;
padding:5px;
border:0px;
color:#4D528A;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
font-size:12px;
line-height:20px;
}

A:link, A:active, A:visited {
color:#4D528A;
text-decoration: none;
}

A:hover {
color:#4D528A;
text-decoration: underline;
}

.alt1 {
background-color: #f5f5ff;
}

.alt2 {
background-color: #e4e6f5;
}

.smallfont {
font-size: 12px;
}

#verses {
font-weight: bold;
font-size: 12px;
color: #4D528A;
background-color:#F5F5FF;
padding: 2px;
}

.alpha-numerical {
font-weight: normal;
font-size: 12px;
color: #4D528A;
background-color:#F5F5FF;
padding: 2px;
}

h1{
font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
font-size:1.8em;
font-weight:bold;
color:#4D528A;
}

h2{
font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
font-size:1.3em;
font-weight:bold;
color:#4D528A;
}

h3{
font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
font-size:1.1em;
font-weight:normal;
color:#4D528A;
background-color: #F5F5FF;
padding: 2px;
}

#navholder { float:right; } 
    
/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#menu_container {
    position:relative; 
    width:100%; 
    _width: 100%; /* for IE 6*/
    height:23px; 
    z-index:100;
    }

/* Get rid of the margin, padding and bullets in the unordered lists */
#pmenu, #pmenu ul {padding:0; margin:0; list-style-type: none;}

/* Set up the link size, color and borders */
#pmenu a, #pmenu a:visited {
    display:block;
    width:140px; 
    font-size:11px; 
    color:#fff; 
    height:26px; 
    line-height:25px; 
    text-decoration:none; 
    text-indent:6px;
    }

/* Set up the sub level borders */
#pmenu li ul li a, #pmenu li ul li a:visited {border-width:1px 1px 1px 1px;}
#pmenu li a.enclose, #pmenu li a.enclose:visited {border-width:1px;}

/* Set up the list items */
#pmenu li {float:left; background:#B7BCE2; opacity: 0.90;}

/* For Non-IE browsers and IE7 */
#pmenu li:hover {position:relative; opacity: 1.0;}

/* Make the hovered list color persist */
#pmenu li:hover > a {background:#4D528C; color:#fff;}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#pmenu li ul {display:none;}

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#pmenu li:hover > ul {
    display:block; 
    position:absolute; 
    top:-11px; left:80px; 
    padding:10px 30px 30px 30px;
    background:transparent url(transparent.gif); 
    width:120px;
     }

/* Position the first sub level beneath the top level liinks */
#pmenu > li:hover > ul {left:-30px; top:16px;}

/* get rid of the table */
#pmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #pmenu li a:hover {position:relative; background:#4D528C; color:#fff;}

/* For accessibility of the top level menu when tabbing */
#pmenu li a:active, #pmenu li a:focus {background:#4D528C;; color:#fff;}

/* Set up the pointers for the sub level indication */

#pmenu li.fly {background: #B7BCE2 url(downarrow_light.gif) no-repeat right center; margin-left: 1px;}
#pmenu li.drop {background: transparent url(downarrow_light.gif) no-repeat right center; margin-left: 1px; font-weight: bold; }

#pmenu .drop li a {
    border-bottom: 1px dotted #E4E6F5;
    font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    }


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html #pmenu li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px; background:transparent url(transparent.gif);}

/* keep the third level+ hidden when you hover on first level link */
#pmenu li a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#pmenu li a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#pmenu li a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the sixth level hidden when you hover on fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul ul {
visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#pmenu li a:hover ul {
visibility:visible; left:-30px; top:14px; lef\t:-31px; to\p:15px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#pmenu li a:hover ul a:hover ul{ 
visibility:visible; top:-11px; left:80px;
}
/* make the fourth level visible when you hover over third level link */
#pmenu li a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03776 seconds
  • Memory Usage 2,223KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete