📄 style.css
字号:
* {margin:0;padding:0}
body {
font: 81.25%/1.4 Verdana, Arial, Tahoma, Sans-Serif;
background: #eee;
text-align: center;
margin: auto;
color: #333;
}
dt { width: 10px; float: left; }
dd { margin-left: 5px; }
a:link, a:visited {
color: yellow;
text-decoration: underline;
}
a:hover, a:focus {
color: white;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Trebuchet MS", Georgia, Serif;
font-weight: normal;
}
h1 {
margin-top: 0.6em;
font-size: 210%;
color: #4075C9;
}
h2 {
font-size: 150%;
}
h3 {
font-size: 140%;
}
h4 {
font-size: 170%;
}
#container {
position: relative;
background: #fff url(/styles/images/contrepeat.gif) top left repeat-y;
width: 95%;
margin: 0 auto;
}
#header {
position: relative;
width: 100%;
height: 83px;
background: #4075C9 url(/styles/images/scan.gif) top left repeat;
margin: 0 auto;
}
#headerright {
width: 280px;
height: 83px;
background: url(/styles/images/cir1.jpg) top left no-repeat;
position: absolute;
top: 0;
right: 0;
}
#google-ads {
margin-top: 5px;
}
/* --- logo image styles ---*/
.logo, .logo em {
width:304px;
height:26px;
position:absolute;
left:10px;
top:10px;
font-size:.1em;
display:block;
cursor:pointer
}
.logo em {background:white url(/styles/images/logo.gif) top left no-repeat}
.logo a:link, .logo a:visited, .logo a:hover {
color:#4075C9;
text-decoration:none
}
ul#nav {
width: 100%;
line-height: 1.4em;
padding: 15px 0;
list-style: none;
background: #000;
font-size: .9em;
text-align: center;
font-weight: bold;
text-indent: 10px;
}
ul#nav li {
margin: 0 6px;
display: inline;
}
#contentWrap {
text-align: left;
}
#main {
padding: 20px 15px;
margin-left: 200px;
}
#main p {
margin: 1.5em 0;
}
#main ul {
margin: 10px 20px;
}
#main li{
margin-left: 10px;
}
#main a:link, #main a:visited {
color: #4075C9;
}
#main a:hover, #main a:focus {
color: #333;
}
ul.tabs {
list-style: none;
float: right;
}
.tabs li {
list-style: none;
font-size: .8em;
display: inline;
margin: 0 3px;
}
.tabs li a {
padding: 4px 0 0 23px;
}
.tabs li a.print {
background: url("/styles/images/printer.gif") center left no-repeat;
}
.tabs li a.email {
background: url("/styles/images/email.gif") center left no-repeat;
}
.tabs li a.pdf {
background: url("/styles/images/pdf.gif") center left no-repeat;
}
#sidebar {
padding: 20px 0 0 1px;
float:left;
width:200px;
height: 100%;
color: #fff;
font-weight: normal;
font-size: .92em;
}
#sidebar h5 {
margin: 10px 0 5px 0;
font-size: 120%;
color: #333;
}
#sidebar p {
padding: 0 15px 0 0;
margin: 0 0 20px 0;
}
#sidebar ul {
margin: 0 0 20px 5px;
padding: 0 0 0 0;
list-style: none;
}
#sidebar ul li {
margin: 0 0 5px 0;
list-style: none;
}
#sidebar a:link {
width: 90%;
display: block;
color: yellow;
text-decoration: underline;
padding: 3px;
}
#sidebar a:visited {
width: 90%;
display: block;
color: #FCFCFC;
text-decoration: underline;
padding: 3px;
}
#sidebar a:hover, #sidebar a:focus {
color: white;
text-decoration: none;
background: black;
}
#side-recent a:link, #side-recent a:visited {
width: 90%;
display: block;
color: yellow;
text-decoration: underline;
padding: 3px;
}
ul#footer {
width: 100%;
position: relative;
bottom: 0;
left: 0;
font-size: .9em;
list-style: none;
background: #316AC5;
text-align: center;
padding: 16px 0;
}
ul#footer li {
display: inline;
margin: 0 10px;
color: #fff;
}
/* --- various --- */
img a, a img {
border: none;
}
cite {
font-size: .9em;
font-style: normal;
font-weight: bold;
}
acronym, abbr {
cursor: help;
border-bottom: 1px dashed #999;
letter-spacing: .07em;
}
.navigation {
list-style: none;
padding: 0 1em 2em 0;
margin: 0 0 0 15px;
font-size: 1em;
}
.center {
text-align: center;
}
.alignright {
float: right;
}
.alignleft {
float: left;
}
/* --- search/subscribe form --- */
#searchbox {
text-align: left;
margin: 5px 0 10px 5px;
}
/* -- nav -- */
.mainnav {
font-size: .90em;
}
.botnav {
padding-top: 10px;
font-size: 1.5em;
text-decoration: bold;
}
.hilite1 { background-color: #cdf; }
.hilite2 { background-color: #cfd; }
.hilite3 { background-color: #dfc; }
.hilite4 { background-color: #fdc; }
.hilite5 { background-color: #fcd; }
.hilite6 { background-color: #dcf; }
#proofread {
background-color: #ffce7b;
border: 1px solid #ffa500;
color: black;
font-weight: bold;
margin: 2em 0 1em;
padding: .5em 1em;
vertical-align: middle;
text-align: center;
}
#showhidelink {
font-size: 1.0em;
text-decoration: bold;
text-align: center
}
#showhidelink a:link, #main a:visited {
color: #4075C9;
}
#showhidelink a:hover, #main a:focus {
color: #333;
}
.answer {
display:none;
border-style:solid;
margin:10px;
padding:10px;
}
.notes {
border-style:solid;
border-width: 1px;
border-color: #FF0000;
margin: 10px;
padding:10px;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -