📄 css_common.htm
字号:
/*common.css Offical Style for Discuz!(R)URL: http://www.discuz.net(C) 2001-2007 Comsenz Inc.<style type="text/css">*//* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Common Style ~~~~ */* { word-wrap: break-word; }body { {BGCODE}; text-align: center; }body, td, input, textarea, select, button { color: {TABLETEXT}; font: {FONTSIZE}/1.6em {FONT}; }body, ul, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin: 0; padding: 0; }h1, h2, h3, h4, h5, h6 { font-size: 1em; }#menu li, .popupmenu_popup li, #announcement li, .portalbox li, .tabs li, .postmessage fieldset li, .side li, .formbox li, .notice li { list-style: none; }a { color: {LINK}; text-decoration: none; } a:hover { text-decoration: underline; } a img { border: none; }em, cite, strong, th { font-style: normal; font-weight: normal; }table { empty-cells: show; border-collapse: collapse; }/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Layout & Block Style ~~~~ */.wrap { width: {MAINTABLEWIDTH}; text-align: left; margin: 0 auto; }.notice { font-size: {MSGFONTSIZE}; border: 1px solid {NOTICEBORDER}; background: {NOTICEBG} url({IMGDIR}/notice.gif) no-repeat 1em 0.7em; padding: 0.5em 1em 0.3em 3em; margin-bottom: {BOXSPACE}; color: {NOTICETEXT}; }.videoact { width: 445px; font-size: {MSGFONTSIZE}; border: 1px solid {CATBORDER}; background: {CATCOLOR} url({IMGDIR}/videoact.gif) no-repeat 1em 0.5em; padding: 0.5em 1em 0.3em 3em; margin-bottom: {BOXSPACE}; color: {NOTICETEXT}; }.message { margin: 3em 10em 5em !important; } .message h1 { line-height: 26px; border: 1px solid; {PORTALBOXBGCODE}; background-repeat: repeat-x; background-position: 0 0; border-color: {TABLEBG} {TABLEBG} {CATBORDER} {TABLEBG}; padding-left: 1em; margin-bottom: 1em; } .message p { margin: 1.5em 1em; } .message a { color: {HIGHLIGHTLINK}; }#header { width: 100%; overflow: hidden; } #header h2 { float: left; padding: 5px 0; }#footer { border-top: 1px solid {BORDERCOLOR}; background: {ALTBG2}; color: {TEXT}; padding: 12px 0; } #footlinks { float: right; margin-top: -3px; text-align: right; } #footer img { float: left; margin: 0 10px 0 0; } #copyright, #debuginfo { font: {SMFONTSIZE}/1.5em {SMFONT}; } #copyright strong, #copyright em { font-weight: bold; } #copyright strong a { color: #0954A6; } #copyright em { color: #FF9D25; } #debuginfo { color: {LIGHTTEXT}; } .scrolltop { cursor: pointer; }#menu { height: 31px; border: 1px solid {CATBORDER}; {HEADERMENUBGCODE}; background-repeat: repeat-x; } #menu ul { float: right; padding: 4px 10px 0; border-right: 1px solid {TABLEBG}; } #menu li { float: left; } #menu li a { text-decoration: none; display: block; color: {HEADERMENUTEXT}; padding: 4px 8px 3px; background: url({IMGDIR}/menu_itemline.gif) no-repeat 0 6px; } #menu li.hover, #menu li.current { background-color: {BGCOLOR}; border: 1px solid; border-color: {CATBORDER} {CATBORDER} {BGCOLOR}; } #menu li.current { font-weight: bold; } #menu li.hover a { padding: 3px 7px; background-image: none; } #menu li.current a { padding: 4px 7px 3px; background-image: none; } #menu cite a { font-weight: bold; background-image: none; } .frameswitch { float: left; height: 30px; line-height: 30px; padding-left: 10px; } #menu a.frameoff, #menu a.frameon { float: left; border: none; padding-left: 16px; margin-left: 0; background: no-repeat 0 50%; } #menu a.frameoff { background-image: url({IMGDIR}/frame_off.gif); } #menu a.frameon { background-image: url({IMGDIR}/frame_on.gif); }#foruminfo { width: 100%; overflow: hidden; margin: 10px 0; color: {TEXT}; } #userinfo, #foruminfo #nav { float: left; padding-left: 5px; } #forumstats, #headsearch { float: right; text-align: right; padding-right: 5px; } #foruminfo p { margin: 0; } #foruminfo a{ color: {HIGHLIGHTLINK}; } #foruminfo em { color: {TABLETEXT}; } #foruminfo cite { font-weight: bold; } #foruminfo strong a { font-weight: bold; color: {TABLETEXT}; } #nav { margin: 10px 5px; } #foruminfo #nav { margin: 0; } #userinfo #nav { float: none; padding: 0; } #nav a { font-weight: bold; color: {HIGHLIGHTLINK}; }#announcement { border-top: 1px dashed {CATBORDER}; line-height: 36px; height: 36px; overflow: hidden; } #announcement div { border: 1px solid {BGCOLOR}; padding: 0 10px; line-height: 35px !important; height: 36px; overflow-y: hidden;} #announcement li { float: left; margin-right: 20px; padding-left: 10px; background: url({IMGDIR}/arrow_right.gif) no-repeat 0 50%; white-space: nowrap; } #announcement li em { font-size: 0.83em; margin-left: 5px; color: {TEXT}; }.portalbox { width: 100%; background: {CATBORDER}; margin-bottom: {BOXSPACE}; border-collapse: separate; } .portalbox td { padding: 10px; vertical-align: top; {PORTALBOXBGCODE}; background-repeat: repeat-x; background-position: 0 0; background-repeat: repeat-x; border: 1px solid {TABLEBG}; } .portalbox h3 { margin: 0 0 5px; font-size: 1em; white-space: nowrap; } .portalbox strong { font-weight: bold; margin-top: 4px;} .portalbox em { color: {LIGHTTEXT}; } .portalbox em a { color: {LIGHTTEXT}; } .portalbox cite a { color: {HIGHLIGHTLINK}; } #hottags a { white-space: nowrap; margin-right: 0.5em; } #hottags h3 { clear:both; }.headactions { float: right; line-height: 1em; padding: 10px 10px 0 0; } .headactions img { vertical-align: middle; cursor: pointer; padding: 0 5px; } .mainbox .headactions { color: {HEADERTEXT}; } .mainbox .headactions a, .mainbox .headactions span, .mainbox .headactions strong { background: url({IMGDIR}/headactions_line.gif) no-repeat 100% 50%; padding-right: 10px; margin-right: 8px; color: {HEADERTEXT}; } .mainbox .headactions strong { font-weight: bold; background-image: url({IMGDIR}/arrow_left.gif); }.pages_btns { clear: both; width: 100%; padding: 0 0 8px; overflow: hidden; } .postbtn, .replybtn { float: right; } .postbtn { margin-left: 10px; cursor: pointer; } .pages_btns .pages em { line-height: 26px; }.pages, .threadflow { float: left; border: 1px solid {CATBORDER}; background: {COMMONBOXBG}; height: 24px; line-height: 26px; color: {LIGHTTEXT}; overflow: hidden; } .pages a, .pages strong, .pages em, .pages kbd, #multipage .pages em { float: left; padding: 0 8px; line-height:26px; } .pages a:hover { background-color: {BGCOLOR}; } .pages strong { font-weight: bold; color: {NOTICETEXT}; background: {BGBORDER}; } .pages a.prev, .pages a.next { line-height: 24px; font-family: Verdana, Arial, Helvetica, sans-serif; } .pages a.next { padding: 0 15px; } .pages kbd { border-left: 1px solid {CATBORDER}; margin: 0; } * html .pages kbd { padding: 1px 8px; } .pages kbd input { border: 1px solid {CATBORDER}; margin-top: 3px !important; * > margin-top: 1px !important; margin: 1px 4px 0 3px; padding: 0 2px; height: 17px; } .pages kbd>input { margin-bottom: 2px; } .threadflow { margin-right: 5px; padding: 0 5px; }.tabs { padding-bottom: 26px; margin-bottom: 15px; background: {ALTBG2}; border-top: 1px solid {TABLEBG}; border-bottom: 1px solid {CATBORDER}; } .tabs li { float: left; line-height: 27px; border-right: 1px solid {BGBORDER}; height: 27px; } .tabs li.current { background: {BGCOLOR}; height: 27px; font-weight: bold; } .tabs li a { float: left; padding: 0 10px; }.smileytabs { height: 28px; background: {ALTBG2}; position: relative; padding-right: 24px; } .smileytabs span { float: right; width: 24px; height: 24px; margin: 2px 0; position:absolute; right: 0; top: 0; } #smileytypes { white-space: nowrap; padding:0px; height: 27px; overflow-y:hidden; float: left; border: none; margin-top: 1px; } .headertabs { background: {BGCOLOR} none; margin-bottom: 0; } .headertabs li.current { background-color: {CATCOLOR}; } .sendpm a { color: {NOTICETEXT}; background: url({IMGDIR}/buddy_sendpm.gif) no-repeat 15px 50%; padding: 0 20px 0 35px !important; }#headfilter { border: solid {BORDERCOLOR}; border-width: 1px 1px 0; } #headfilter .tabs { border-bottom-color: {BGCOLOR}; margin-bottom: 0; }#footfilter { padding: 10px; he\ight: 44px; height: 24px; line-height: 24px; background: {COMMONBOXBG}; border-color: {COMMONBOXBORDER}; font-family: Simsun, "Times New Roman"; } #footfilter form { float: right; } #footfilter * { vertical-align: middle; }.legend { border: 1px solid {BGBORDER}; background: {ALTBG1}; padding: 10px; margin: 10px auto; width: 500px; text-align: center; line-height: 35px; } .legend label { padding: 0 20px; } .legend img { vertical-align: middle; margin-right: 10px; }.taglist { width: 100%; padding: 10px 0; overflow: hidden; } .taglist li { float: left; display: inline; width: 10em; height: 24px; overflow: hidden; margin: 0 10px; } .taglist li em { font-size: 10px; color: {LIGHTTEXT}; }.attriblist * { color: {TABLETEXT}; } .attriblist dt { float: left; margin-right: 10px; } .attriblist .name { font-weight: bold; } .attriblist dd a { color: {HIGHLIGHTLINK};}#forumlinks {} #forumlinks td { padding: 5px 5px 5px 55px; background: url({IMGDIR}/forumlink.gif) no-repeat 18px 50%; color: {LIGHTTEXT}; } #forumlinks .forumlink_logo { float: right; }#online {} #online h4 { font-weight: normal; color: {TEXT}; } #online h4 strong { font-weight: bold; } #online dl { padding: 5px 5px 5px 55px; } #onlinelist { background: url({IMGDIR}/online.gif) no-repeat 10px 10px; border-top: 1px solid {COMMONBOXBORDER}; } #online dt { padding: 5px; } #online dt img { margin-bottom: -3px; } #online dd { border-top: 1px solid {COMMONBOXBORDER}; } #bdayslist { padding: 10px 0 10px 55px; border-top: 1px solid {COMMONBOXBORDER}; background: url({IMGDIR}/bdays_cake.gif) no-repeat 10px 5px; }.userlist { overflow: hidden; padding: 5px 5px 0; } * html .userlist { height: 1%; } .userlist li { float: left; width:128px; height: 20px; overflow: hidden; } .userlist li img { vertical-align: middle; } #onlinelist .userlist li { height: auto; margin:4px auto ;}#recommendlist { } #recommendlist li { float: left; white-space: nowrap; width: 24.9%; overflow: hidden; text-indent: 12px; background: url({IMGDIR}/arrow_right.gif) no-repeat 2px 7px; } #recommendlist.rules li { width: 49%; }.recommendrules { padding: 0px;}#seccode { cursor: pointer; }.autosave { behavior: url(#default#userdata); }#menu a.notabs { background: none; }.headactions a.notabs { background: none; margin-right: 0px; padding-right: 0px; }.absmiddle { vertical-align: middle; }.mainbox ins { display: block; text-align: center; text-decoration: none; margin-bottom: 1px; background: {COMMONBOXBG}; border-bottom: 1px solid {CATBORDER}; line-height: 26px; } ins.logininfo { background: {CATCOLOR}; padding: 2px 5px; line-height: 22px; color: {TEXT}; text-align: left; border: none; }/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Box Style ~~~~ *//*Main Box*/.mainbox { background: {TABLEBG}; border: {BORDERWIDTH} solid {BORDERCOLOR}; padding: {TABLESPACE}; margin-bottom: {BOXSPACE}; } .mainbox h1, .mainbox h3, .mainbox h6 { line-height: 31px; padding-left: 1em; {HEADERBGCODE}; background-repeat: repeat-x; background-position: 0 0; color: {HEADERTEXT}; } .mainbox h1 a, .mainbox h3 a { color: {HEADERTEXT}; } .mainbox table { width: 100%; } .forumlist table, .threadlist table { border-collapse: separate; } .mainbox thead th, .mainbox thead td { background: {CATCOLOR}; padding: 2px 5px; line-height: 22px; color: {TEXT}; } .mainbox thead.category th, .mainbox thead.category td { {CATBGCODE}; } .mainbox thead.separation th, .mainbox thead.separation td { border-top: 1px solid {BGBORDER} } .mainbox tbody th, .mainbox tbody td { border-top: 1px solid {BGBORDER}; padding: 5px; } .mainbox tbody cite, .mainbox tbody em { line-height: 1.3em; } .forumlist tbody strong, .threadlist tbody strong , .formbox tbody strong { color: {NOTICETEXT}; } /*Tabel Footer: Button Operation*/ .footoperation { background: {CATCOLOR}; padding: 5px; border-top: 1px solid {CATBORDER}; } .threadlist .footoperation { padding-left: 61px; } .footoperation * { vertical-align: middle; } .footoperation label { margin-right: 1em; cursor: pointer; } .footoperation button { line-height: 1em; display: inline; width: 0; overflow: visible; padding: 3px 5px 2px; border: 1px solid {BGBORDER}; background: {TABLEBG}; color: {HIGHLIGHTLINK}; cursor: pointer; margin-left: 2px; } .footoperation>button { width: auto; } /*Forum & Thread List*/ .forumlist tbody th, .forumlist tbody td, .threadlist tbody th, .threadlist tbody td { color: {TEXT}; padding: 1px 5px; border-bottom: 1px solid {TABLEBG}; background-color: {ALTBG1}; } .forumlist tbody th { height: 40px; } .forumlist th, .threadlist th { text-align: left; } .forumlist th { padding-left: 55px !important; } .forumlist h2 em { color: {HIGHLIGHTLINK}; } .forumlist tbody th { background-image: url({IMGDIR}/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; } .forumlist tbody th.new { background-image: url({IMGDIR}/forum_new.gif); } .moderators a { color: {HIGHLIGHTLINK}; } .moderators a strong { font-weight: bold; color: {HIGHLIGHTLINK}; } .threadlist th label { float: right; } .threadpages { background: url({IMGDIR}/multipage.gif) no-repeat 0 100%; font-size: 11px; margin-left: 5px; white-space: nowrap; } .threadpages a { padding-left: 8px; } .threadpages a:hover { text-decoration: underline; } .threadlist th a.new { color: {NOTICETEXT}; text-transform: uppercase; font-size: 9px; white-space: nowrap; } .threadlist th input { float: left; margin-right: 5px; } .threadlist th em, .threadlist th em a { color: {LIGHTTEXT}; } .threadlist th img.icon { float: left; margin-left: -22px; } .threadlist th img.attach, .threadlist th img.icon { margin-bottom: -3px; } .threadlist .target { float: left; display: block; width: 20px; height: 20px; margin-left: -28px; text-indent: -9999px; overflow: hidden; } * html .threadlist .target { margin-left: -14px; margin-right: 5px; } .forumlist tbody tr:hover th, .forumlist tbody tr:hover td, .threadlist tbody tr:hover th, .threadlist tbody tr:hover td { background-color: {ALTBG2}; } .forumlist td.lastpost { width: 260px; } .threadlist td.folder { text-align: center; width: 30px; } .threadlist td.icon { text-align: center; padding: 3px 0; width: 16px; } .threadlist td.author { width: 120px; } .threadlist td.lastpost { text-align: right; width: 120px; padding-right: 15px; } .threadlist td.lastpost cite a { color: {LIGHTTEXT}; } .forumlist cite, .threadlist cite { display: block; } .threadlist td.author em, .threadlist td.lastpost em { font-size: {SMFONTSIZE}; } label.highlight { width: 40px; margin-right: 30px; } label.highlight, label.highlight input { float: left; } label.highlight em { float: right; width: 16px; height:16px; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -