📄 style.css
字号:
/*
=== ShranM Guestbook StyleSheet File ===
=== Name: Default Blue
=== For: V2.20/V2.21
=== By: Howlion
=== On: 2005-08-23
=== In: Luoyang, China
========================================
*/
body {
padding: 0px;
margin: 5px;
font-family: 宋体, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 1.4;
color: #505050;
text-align: center;
font-weight: normal;
background: #4D4D4D;
voice-family: "\"}\"";
voice-family: inherit;
font-family: Arial, Helvetica, sans-serif;
}
A:link, A:visited, A:active {text-decoration: underline; color: #2F2F2F;}
A:hover {text-decoration: underline; color: #79A417;}
#wrapper { /* 页面框架 */
width: 752px;
border: 6px solid #3A97EB;
margin: 0px auto;
background: #FFFFFF;
}
#wrapperInner {
text-align: left;
margin: 5px;
background: #E9E9E9;
}
h1,h2,h3,p,form,ul {margin: 0px; padding: 0px;}
h2 {font-size: 12px; display: inline;}
h3 {font-size: 12px; display: inline;}
ul {list-style-type: none;}
img {vertical-align: middle; border: 0px none;}
html>body img {max-width: 100%; height: auto;}
img.face {width: 30px; height: 30px;}
img.emot {width: 20px; height: 20px;}
img.imgLink {width: 15px; height: 15px;}
.red {color: #FF0000; font-family: 宋体, Arial, Helvetica, sans-serif;}
.autoSizeImg {clear: both; width: 100%; overflow-x: auto;}
.normalText {font-weight: normal; font-size: 12px;}
.noteText {font-weight: normal; color: #868686;font-family: verdana, arial, helvetica, sans-serif;}
.Highlight {color: #FF5402; font-weight: bold;}
.backText {clear: both;margin-top: 20px; text-align: center;}
.keyword{font-weight: bold; color: white; background-color: #CC3333}
.divLine {clear:both;width: 540px;height: 12px;border-top: 1px dashed #C9C9C9;}
#smallWrapper {border: 5px solid #339CF2; background: #FFFFFF; height: 100%; text-align: left;}
hr {clear: both; margin-right: 8px; height: 1px; border-top: 1px dashed; color: #929292;}
hr.normalHR {clear: both; margin: 0px 18px; height: 1px; border-top: 1px dashed; color: #929292;}
table {font-size: 12px;}
td{word-break: break-all;}
.button {border: 1px solid #6C6C6C; background: #FFFFFF;}
input,textarea,select {
font-size: 12px;
font-family: verdana, arial, helvetica, sans-serif;
}
#topArea { /* 页面顶部区域 */
clear: both;
width: 100%;
background: #FFFFFF;
}
#topArea-logo { /* LOGO显示区域 */
height: 100px;
background: #78B8F1 url(images/topbg.jpg) no-repeat right top;
vertical-align: bottom;
}
html>body #topArea-logo {margin-bottom: 8px;}
#logo {margin: 25px 0px 0px 20px;}
#gbInfo { /* 留言本信息栏(网站名、管理员名、访问统计、留言数等) */
clear: both;
margin-top: 5px;
padding: 4px 8px 0px 8px;
height: 20px;
background: #F28135;
color: #FFFFFF;
border-left: 5px solid #CE5A0D;
border-right: 5px solid #CE5A0D;
}
html>body #gbInfo {
margin-top: 0px;
}
#gbInfo A:link, #gbInfo A:visited, #gbInfo A:active {
text-decoration: none;
color: #FFFFFF;
}
#gbInfo A:hover {
text-decoration: none;
color: #A6D2FF;
}
#gbInfo-info {
float: left;
}
#gbInfo-pageName {
float: right;
font-weight: bold;
display: inline;
}
#nav { /* 导航栏 */
padding: 0px;
border-top: 15px solid #FFFFFF;
float: left;
}
#navLink {
text-align: right;
width: 160px;
background: #FFFFFF;
}
#navLink li {
line-height: 22px;
margin: 0px 0px 1px 0px;
}
#navLink li a {
text-decoration: none;
color: #666666;
display: block;
background: #E9E9E9;
border-right: solid 6px #78B8F1;
padding: 0px 10px 0px 0px;
width: 160px;
voice-family: "\"}\"";
voice-family: inherit;
width: 144px;
}
#navLink li a:hover, #navLink li a.selected {
color: #FFFFFF;
background: #78B8F1;
border-right: solid 6px #175C82;
}
#mainContent { /* 主内容区 */
float: right;
width: 570px;
background: #FBFBFB;
text-align: center;
voice-family: "\"}\"";
voice-family: inherit;
width: 582px;
}
#gbcontent {
padding: 5px 0px 0px 10px;
margin: 10px 0px;
text-align: center;
}
html>body #gbcontent {
margin-left: 15px;
}
.page { /* 页码 */
clear: both;
text-align: right;
margin: 0px 18px 12px 0px;
}
.page A:link, .page A:visited, .page A:active {
color: #626262;
text-decoration: none;
}
.page A:hover {
color: #111111;
text-decoration: underline;
}
.currtNum {
font-size: 16px;
font-weight: bold;
}
.adminLinks { /* 留言下部的管理链接 */
clear: both;
margin: 5px 0px 5px 4px;
padding: 5px;
height: 15px;
text-align: right;
background: #EFEFEF;
}
.adminLinks A:link, .adminLinks A:visited, .adminLinks A:active {
text-decoration: none;
}
.noItem {
clear: both;
margin-top: 60px;
padding: 10px;
width: 350px;
height: 120px;
border: 1px solid #838383;
background: #EEEEEE;
vertical-align: middle;
font-weight: bold;
}
#footer { /* 页脚 */
clear: both;
padding: 10px 0px 10px 0px;
height: 35px;
border-top: 6px solid #FFFFFF;
color: #2D2D2D;
font-size: 11px;
text-align: center;
background: #78B8F1;
}
html>body #footer {
font-size: 12px;
}
/*
=====================================
=== StyleSheet File for index.asp ===
=====================================
*/
.msgArea { /* 留言显示容器 */
clear:both;
width: 540px;
padding: 15px 0px 0px 0px;
text-align: left;
border-top: 1px dashed #C9C9C9;
}
.msgArea-clear {
clear: both;
visibility: hidden;
}
.msgArea-left { /* 头像、称呼 */
float: left;
margin: 0px 0px 0px 3px;
padding: 2px;
}
.msgArea-left ul {
list-style-type: none;
}
.msgArea-left li {
width: 90px;
text-align: center;
}
.userFace {
}
.face-bulletin {
border: 0px;
width: 80px;
height: 80px;
}
.face-normal {
border: 0px;
width: 80px;
height: 80px;
}
.userName {
margin: 10px 0px 10px 0px;
color: #454545;
}
.userName-whisper {
color: #BEBEBE;
}
.userName-istop {
color: #6699FF;
}
.msgArea-right { /* 标题、时间、留言内容、回复 */
float: right;
width: 420px;
margin: 0px 5px 10px 5px;
}
.msgTitleAndTime {
clear: both;
background: #DDDDDD;
border: 1px solid #FF6633;
}
.msgTitle {
clear: both;
margin: 0px 4px;
font-weight: bold;
}
.msgTitle-whisper {
color: #BEBEBE;
}
.msgTitle-istop {
color: #6699FF;
}
.msgTime {
float: left;
margin: 0px 0px 0px 2px;
}
.userContact {
float: right;
margin: 0px 6px 0px 0px;
width: 200px;
text-align: right;
}
.msgContent {
clear: both;
margin: 3px 4px 5px 6px;
padding-top: 8px;
border-top: 1px dashed #C9C9C9;
white-space: normal;
word-wrap: break-word;
}
.msgContent-whisper {
color: #BEBEBE;
padding: 10px 6px;
}
.msgReply {
clear: both;
margin: 10px 35px 5px 10px;
padding: 5px;
}
.msgReply-top {
padding: 3px;
color: #FFFFFF;
background: #94BFEF;
border-bottom: 1px dashed #000000;
}
.msgReply-content {
padding: 9px;
color: #4F4F4F;
background: #EBEBEB;
white-space: normal;
word-wrap: break-word;
}
/*
======================================
=== StyleSheet File for other page ===
======================================
*/
.row { /* 显示表单内容的行 */
clear: both;
margin: 10px 10px 5px 0px;
white-space: normal;
word-wrap: break-word;
}
.row-left {
float: left;
width: 100px;
text-align: right;
}
.row-right {
float: right;
text-align: left;
width: 458px;
}
html>body .row-right {
margin: 1px 0px;
width: 436px;
voice-family: "\"}\"";
voice-family: inherit;
width: 442px;
}
.row-right-graybg {
width: 366px;
background: #EBEBEB;
margin-top: 3px;
padding: 3px;
}
#notice {
clear: both;
padding: 8px;
text-align: left;
background: #EFEFEF;
}
.batchArea-left {
float: left;
width: 50px;
}
.batchArea-right {
float: right;
text-align: left;
width: 510px;
}
html>body .batchArea-right {
width: 480px;
voice-family: "\"}\"";
voice-family: inherit;
width: 490px;
}
.batchArea-topRight {
float: right;
margin-top: 8px;
text-align: right;
width: 510px;
}
html>body .batchArea-topRight {
width: 480px;
margin-bottom: 10px;
voice-family: "\"}\"";
voice-family: inherit;
width: 490px;
}
#submitForm {clear: both; margin-top: 50px;} /* 提交留言的表单 */
#searchForm { /* 输入搜索内容的表单 */
padding: 20px 40px;
text-align: left;
height: 230px;
}
#helpContent { /* 帮助内容 */
padding: 20px 25px;
text-align: left;
font-family: verdana, Arial, Helvetica, sans-serif;
}
#helpContent li {
margin: 8px;
padding-left: 20px;
list-style: none;
background: url(images/list_bg.gif) no-repeat 0px 3px;
}
#loginForm { /* 后台登陆表单 */
height: 290px;
text-align: center;
}
#errorBox { /* 错误显示容器 */
padding: 50px;
height: 230px;
text-align: left;
color: #CC0000;
}
/*
== End Style==
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -