📄 css_editor.htm
字号:
/*Editor Offical Style for Discuz!(R)URL: http://www.discuz.net(C) 2001-2007 Comsenz Inc.<style type="text/css">*//*PostForm & Editor*/.editor_cell { vertical-align: top; }#editor { border: solid; border-color: {CATBORDER}; border-width: 1px 1px 0; background: {COMMONBOXBG}; } #editor td { border: none; padding: 2px; }.editortoolbar table { width: auto; }.editortoolbar a, .editortoolbar .a { display: block; padding: 1px; border: 1px solid {COMMONBOXBG}; cursor: pointer; } .editortoolbar a.hover, .editortoolbar a:hover, .editortoolbar .a1 { background-color: {ALTBG2}; border: 1px solid {BORDERCOLOR}; text-decoration: none; }.editor_switcher_bar { position: relative; } .editor_switcher_bar a { float: right; padding: 0 3px; margin-right: 5px; } .editor_switcher_bar button { border: 1px solid; border-color: {CATBORDER} {CATBORDER} {TABLEBG} {CATBORDER}; font-weight: bold; height: 30px; he\ight: 28px; line-height: 28px; background: {TABLEBG}; margin: 0 2px; position: relative; cursor: pointer; } *+html .editor_switcher_bar button { top: 1px; } * html .editor_switcher_bar button { top: 1px; } .editor_switcher_bar .editor_switcher { border-bottom-color: {CATBORDER}; font-weight: normal; }.editor_text { border: 1px solid; border-color: {CATBORDER} {CATBORDER} {CATBORDER} {CATBORDER}; } .editor_text textarea { border: none; width: 99%; font: {MSGFONTSIZE}/1.6em {FONT}; }.editor_button { background: {COMMONBOXBG}; border: solid {CATBORDER}; border-width: 0 1px 0; margin-bottom: {BOXSPACE}; } .editor_button button { background: transparent; border-width: 0 0 0 1px; color: {HIGHLIGHTLINK}; }.editor_attach { border: 1px solid {CATBORDER}; }#wysiwyg { font: {MSGFONTSIZE}/1.6em {FONT} !important; } #wysiwyg * { line-height: normal; } #wysiwyg a { text-decoration:underline; color: {HIGHLIGHTLINK} !important; color: {HIGHLIGHTLINK}; } #wysiwyg li { margin-left: 2em; } #wysiwyg strong, #wysiwyg b { font-weight: bold; } #wysiwyg em, #wysiwyg i { font-style: italic; } #wysiwyg p { margin: 0 !important; } #wysiwyg table td { padding: 4px; border: 1px solid {BORDERCOLOR}; }.fontname_menu { width: 97px; }.fontsize_menu { width: 27px; line-height: normal; }.fontsize_menu ul li{ line-height: normal; }#posteditor_popup_table_menu { width: 220px; }.fontname_menu li, .fontsize_menu li { cursor: pointer; }.editor_colornormal, .editor_colorhover { border: none !important; padding: 2px !important; } .editor_colornormal div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {TABLEBG}; } .editor_colorhover div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {TABLETEXT}; }.editor { border: solid; border-color: {CATBORDER}; border-width: 1px 1px 0; background: {COMMONBOXBG}; text-align: left; } .editorrow { padding: 3px; overflow: hidden; } * html .editor div { height: 1%; } .editor em { margin: 0 5px; float: left; display: block; height: 20px; width: 3px; background:url(../../images/common/editor.gif) no-repeat 0 -701px; border: 1px solid {COMMONBOXBG}; } .editor a { margin-bottom: 6px; float: left; text-align: left; text-decoration: none; display: block; height: 20px; width: 21px; background:url(../../images/common/editor.gif) no-repeat 0 30px; text-indent: -9999px; overflow: hidden; border: 1px solid {COMMONBOXBG}; } a.oneditor, .editor a:hover { background: #E8F3FD url(../../images/common/editor.gif) no-repeat 0 21px; border: 1px solid #9DB3C5; } #posteditor_cmd_bold { background-position: 0 0; } #posteditor_cmd_italic { background-position: 0 -21px; } #posteditor_cmd_underline { background-position: 0 -41px;} #posteditor_popup_fontname { margin-right: 6px; width: 116px; background-position: 106px -721px; text-indent: 2px; } #posteditor_popup_fontsize { margin-right: 6px; width: 40px; background-position: 30px -721px; text-indent: 2px; } #posteditor_popup_forecolor { text-indent: 0px; width: 40px; background-position: 30px -721px; } #posteditor_cmd_justifyleft { background-position: 0 -61px;} #posteditor_cmd_justifycenter { background-position: 0 -81px;} #posteditor_cmd_justifyright { background-position: 0 -101px;} #posteditor_cmd_createlink { background-position: 0 -121px;} #posteditor_cmd_email { background-position: 0 -141px;} #posteditor_cmd_insertimage { background-position: 0 -161px;} #posteditor_cmd_removeformat { background-position: 0 -181px;} #posteditor_cmd_unlink { background-position: 0 -201px;} #posteditor_cmd_undo { background-position: 0 -221px;} #posteditor_cmd_redo { background-position: 0 -241px;} #posteditor_cmd_insertorderedlist { background-position: 0 -261px;} #posteditor_cmd_insertunorderedlist { background-position: 0 -281px;} #posteditor_cmd_indent { background-position: 0 -301px;} #posteditor_cmd_outdent { background-position: 0 -321px;} #posteditor_cmd_floatleft { background-position: 0 -341px;} #posteditor_cmd_floatright { background-position: 0 -361px;} #posteditor_cmd_table { background-position: 0 -381px;} #posteditor_cmd_free { background-position: 0 -401px;} #posteditor_cmd_hide { background-position: 0 -421px;} #posteditor_cmd_quote { background-position: 0 -441px;} #posteditor_cmd_code { background-position: 0 -461px;} #posteditor_popup_media { background-position: 0 -541px;} a.editormode { width: 60px; text-align: center; float: right; } a.plugeditor { text-indent: 0; background-position: 0 40px; } a.upmedia { width: 68px; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -