📄 2col_leftnav.css
字号:
/***********************************************/
/* 2col_leftNav.css */
/* Use with template 2col_leftNav.html */
/***********************************************/
/***********************************************/
/* HTML tag styles */
/***********************************************/
body{
font-family: Arial,sans-serif;
color: #333333;
line-height: 1.166;
margin: 0px;
padding: 0px;
}
/*
a:link, a:visited, a:hover {
color: #006699;
text-decoration: none;
}
a:hover {
text-decoration: underline;
background-color: #CCFF9D;
}
*/
/* overrides decoration from previous rule for hovered links */
h1, h2, h3, h4, h5, h6 {
margin: 0px;
padding: 0px;
}
h1{
font-family: Verdana,Arial,sans-serif;
font-size: 120%;
color: #334d55;
}
h2{
font-family: Tahoma,sans-serif;
font-size: 12px;
color: #006699;
}
h3{
font-size: 100%;
color: #334d55;
padding-top: 5px;
}
h4{
font-size: 10px;
font-weight: normal;
color: #333333;
backgroud-color:#006699;
}
h5{
font-size: 80%;
color: #334d55;
}
ul{
list-style-type: square;
font-size: 80%;
}
ul ul{
list-style-type: disc;
font-size: 70%;
}
ul ul ul{
list-style-type: none;
}
label{
font: bold 100% Arial,sans-serif;
color: #334d55;
}
/***********************************************/
/* Layout Divs */
/***********************************************/
#bannerDiv{
margin: 0;
padding: 10px 0px;
border-bottom: 1px solid #cccccc;
width: 100%;
}
#mainDiv{
margin: 0 27% 0 0;
border-right: 1px solid #ccc;
}
/***********************************************/
/*Component Divs */
/***********************************************/
#siteName{
margin: 0px;
padding: 0px 0px 10px 10px;
background-color: #FFFFFF;
}
/*************** #pageName styles **************/
#pageName{
padding: 0px 0px 10px 10px;
}
.tagTitle{
padding: 5px 0px 2px 10px;
background-color:#E5ECF9;
border-top: solid 1px;
border-top-color: #3366CC;
font-size: 14px;
font-weight: bold;
}
/************* #globalNav styles **************/
#globalNav{
color: #cccccc;
padding: 0px 0px 0px 5px;
margin:0 30% 0 0;
white-space: nowrap;
}
.feedDesc{
padding: 5px 0px 0px 5px;
font-size: 80%;
}
/* 'nowrap' prevents links from line-wrapping if there are too many to fit in one line
this will force a horizontal scrollbar if there isn't enough room for all links
remove rule or change value to 'normal' if you want the links to line-wrap */
#globalNav img{
display: block;
}
#globalNav a {
font-size: 90%;
padding: 0px 4px 0px 0px;
}
/************* #Category Div styles *************/
#topCatDiv{
font-size: 80%;
padding: 5px 0px 5px 10px;
}
#subCatDiv{
font-size: 80%;
padding: 2px 0px 5px 10px;
}
#readingListDiv{
padding: 5px 0px 5px 10px;
min-height:600px;
}
#readingBlocksDiv{
padding: 5px 0px 5px 10px;
}
/* adjust margins to change separation between the feature image and text flowing around it */
/************** .story styles *****************/
.story{
padding: 10px 0px 0px 10px;
font-size: 80%;
}
.story a {
font-size: 12px;
padding: 0px 0px 0px 0px;
}
.story p{
padding: 0px 0px 10px 0px;
}
/************* #siteInfo styles ***************/
#siteInfo{
clear: both;
border: 1px solid #cccccc;
font-size: 75%;
color: #cccccc;
padding: 10px 10px 10px 10px;
margin-top: -1px;
}
/* negative top margin pulls siteinfo up so its top border overlaps (and thus lines up with)
the bottom border of the navBar in cases where they "touch" */
#siteInfo img{
padding: 4px 4px 4px 0px;
vertical-align: middle;
}
/*********** #navBar link styles ***********/
/*
#navBar ul a:link, #navBar ul a:visited {display: block;}
*/
#navBar ul {list-style: none; margin: 0; padding: 0;}
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}
/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}
/*********** #sectionLinks styles ***********/
#sectionLinks{
position: relative;
margin: 0px;
padding: 0px;
border-bottom: 1px solid #cccccc;
font-size: 90%;
}
#sectionLinks h3{
padding: 10px 0px 2px 10px;
}
/*
#sectionLinks a:link{
padding: 2px 0px 2px 10px;
border-top: 1px solid #cccccc;
width: 100%;
voice-family: "\"}\"";
voice-family:inherit;
width: auto;
}
#sectionLinks a:visited{
border-top: 1px solid #cccccc;
padding: 2px 0px 2px 10px;
}
#sectionLinks a:hover{
border-top: 1px solid #cccccc;
background-color: #dddddd;
padding: 2px 0px 2px 10px;
}
*/
/*********** .relatedLinks styles ***********/
.relatedLinks{
margin: 0px;
padding: 0px 0px 10px 10px;
font-size: 90%;
}
.relatedLinks h3{
padding: 10px 0px 2px 0px;
}
/************** #advert styles **************/
#advert{
height:20px;
font-size: 80%;
position: static;
}
#advert img{
display: block;
}
/************** #headlines styles **************/
#headlines{
margin: 0px;
padding: 10px 0px 20px 10px;
font-size: 80%;
}
#headlines p{
padding: 5px 0px 5px 0px;
}
/************** #popitmenu styles **************/
#popitmenu{
position: absolute;
background-color: white;
border:1px solid black;
font: normal 14px;
line-height: 18px;
z-index: 100;
visibility: hidden;
cursor:default;
}
#popitmenu a{
text-decoration: none;
padding-left: 6px;
color: black;
display: block;
}
#popitmenu a:hover{ /*hover background color*/
background-color: #CCFF9D;
}
/************** #tab style **************/
.tabspacer {width:4px;border-bottom:1px solid #97acd4;}
.tab {padding:2px 15px 1px 15px;font-size:82%;text-align:center;text-decoration:none;color:#676767;cursor:pointer;cursor:hand;empty-cells:show;}
.selectedtab {border:1px solid #97acd4;color:#3366cc;border-bottom:0px;padding-bottom:1px;color:#3366cc;font-weight:bold;}
.unselectedtab {border:1px solid #97acd4;background-color:#e5ecf9;color:#000000;border-bottom-color:#97acd4;}
.tab_hover {background-color:#3366cc;color: #ffffff;border-top-color:#3366cc;border-left-color:#3366cc;border-right-color:#3366cc;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -