找回密码
 立即注册
搜索
查看: 3855|回复: 0

discuz页头模板修改说明

[复制链接]

12

主题

2502

回帖

8248

积分

管理员

积分
8248
发表于 2023-4-26 08:27:38 | 显示全部楼层 |阅读模式
/* 页头 */
        #toptb { min-width: 1200px; border-bottom: 1px solid {COMMONBORDER}; background: {COMMONBG}; line-height: 28px; }
                #toptb a { float: left; padding: 0 4px; height: 28px; } 修改顶部参数,如高度
                #toptb a.showmenu { padding-right: 15px; }
                #toptb a.hover { background-color: #FFF; }
                #toptb .pipe { float: left; display: none; }
以上部分修改,顶部参数,即设为首页栏内容。
        #hd { border-bottom: {HEADERBORDER} solid {SPECIALBORDER}; {HEADERBGCODE} }
                #hd .wp { padding: 10px 0 0; }

                        .hdc { min-height: 70px; }
                        #hd h2 { padding: 0 20px 12px 0; float: left; }
                                #space #hd h2 { margin-top: 0; }
                        #hd .fastlg { padding-top: 10px; }
                        #hd .fastlg .pns { margin-bottom: 10px; }

                        #scbar { overflow: hidden; height: 42px; line-height: 42px; border-top: 1px solid #FFF; border-bottom: 1px solid #E9EFF5; background: #E8EFF5; }
                                .scbar_icon_td { width: 15px; }
                                        #scbar_txt { width: 400px; height: 18px; border: 1px solid #cfdee3; outline: none; padding: 5px 6px; }
                                        .scbar_narrow #scbar_txt { width: 260px; }
                                .scbar_btn_td { width: 38px; }
                                        #scbar_btn { display: block; margin: 0 0 0 8px; padding: 0 0 0 2px; border: none; height: 28px; width: 28px; {MENUBGCODE}; font-size: 18px; line-height: 28px; }
                                                #scbar_btn:before { content: "\f101"; font-family: dzicon; }
                                .scbar_type_td { width: 61px; }
                                        #scbar_type { display: block; padding-left: 12px; margin-left: -2px; text-align: left; text-decoration: none; height: 28px; line-height: 28px; border: 1px solid #cfdee3; border-left: 0; background: #fff; }
                                #scbar_hot { padding-left: 8px; height: 45px; overflow: hidden; }
                                        #scbar_hot strong, #scbar_hot a { float: left; margin-right: 8px; white-space: nowrap; }

                        #nv { overflow: hidden; height: 41px; {MENUBGCODE}; }修改导航菜单高度
                                #nv li { float: left; padding-right: 1px; height: 41px; line-height: 41px; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1' height='41'%3e%3cpath fill='%23fff' fill-opacity='0.2' d='M0 7h1v20H0z'/%3e%3c/svg%3e") no-repeat 100% 0; font-weight: 700; font-size: 14px; }
                                        #nv li a { float: left; padding: 0 15px; height: 41px; }
                                                #nv li a { color: {MENUTEXT}; }
                                                #nv li span { display: none; }
                                        #nv li.a { margin-left: -1px; {MENUCURBGCODE}; }
                                                #nv li.a a { color: {MENUHOVERTEXT}; }
                                                #nv li a:hover { background: {MENUHOVERBGCOLOR}; }
                                                #nv li.hover a:hover, #nv li.hover a { background: {MENUHOVERBGCOLOR} url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4'%3e%3cpath fill='%23fff' d='M0 4h8L4 0z'/%3e%3c/svg%3e") no-repeat bottom center; }
                        #mu { position: relative; z-index: 1; }
                                #mu ul { background: #f8f8f8; line-height: 32px; z-index: 2; font-size: 12px; }
                                        #mu li { float: left; height: 22px }
                                                #mu a { float: left; display: inline; margin: 5px 6px; padding: 0 10px; white-space: nowrap; }
                                                        #mu a:hover { margin: 4px 5px; border: 1px solid {SPECIALBORDER}; background: {SPECIALBG}; color: {HIGHLIGHTLINK}; text-decoration: none; }
                                .floatmu { position: absolute; left: 0; top: 0; }
                        #um { padding-top: 10px; padding-right: 60px; padding-bottom: 14px; line-height: 2.3; zoom: 1; }
                                #um, #um a { color: {HEADERTEXT}; }
                                #um p { text-align: right; }
                                #um .avt { display: inline; margin-right: -60px; }
                                /* .vwmy */
                                        .vwmy:before { font-family: dzicon; content: "\f100"; display: inline-block; height: 14px; line-height: 14px; font-size: 16px; color: #7DA0CC; margin-right: 2px; }
                                        .vwmy.qq:before { content: "\f118"; }修改菜单上部高度
                                /* .topnav .new, .sch .new 分别为为个人中心和搜索页面头部新消息样式 */
                                #um .new, .topnav .new, .sch .new, #toptb .new { color: {HIGHLIGHTLINK}; font-weight: 700; }
                                #um .new:before, .topnav .new:before, .sch .new:before, #toptb .new:before { display: inline-block; width: 16px; height: 14px; line-height: 14px; font-size: 16px; font-family: dzicon; margin-right: 2px; color: {NOTICETEXT}; }
                                        #myprompt.new:before { content: "\f145"; }
                                        #pm_ntc.new:before { content: "\f119"; }
                                        #task_ntc:before { content: "\f11a"; }
                                #um .pipe { margin: 0 5px 0 0; }

                                #extcreditmenu, #g_upmine { margin-right: 2px !important; padding-top: 3px; padding-bottom: 3px; padding-left: 10px; }
                                        #g_upmine { margin-right: 1px !important; border: 1px solid transparent; }
                                        #extcreditmenu.a, #g_upmine.a { position: relative; z-index: 302; margin-right: 1px !important; border: 1px solid; border-color: {DROPMENUBORDER}; border-bottom: none; background-color: {WRAPBG}; }
                                        #extcreditmenu_menu, #g_upmine_menu { margin-top: -1px; width: auto; }
                                                #extcreditmenu_menu li { float: none; display: block; padding-left: 5px !important; padding-right: 1em !important; }
                                        #g_upmine_menu li { float: none; display: block; padding-left: 5px !important; }
                                        #g_upmine_menu ul.extg li { padding-left: 0px !important; }

                                #qmenu { float: right; display: inline; margin: 5px 8px 0; padding: 0 5px; width: 103px; height: 24px; background: #fff; line-height: 24px; text-align: center; color: {HIGHLIGHTLINK}; font-weight: 700; overflow: hidden; }
                                        #qmenu:hover { text-decoration: none; }
                                        #qmenu::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; }
                                        #qmenu.a { position: relative; z-index: 302;}
                                        #qmenu.a::after { border-top: 0; border-bottom: 0.3em solid; }
                                #qmenu_menu { margin-top: -2px; padding: 20px 5px 10px; width: 610px; border-color: #DCE4EB; }
                                        #qmenu_menu ul.nav li { float: left; }
                                        #qmenu_menu ul.nav a { margin-bottom: 10px; padding: 47px 0 0; width: 60px; border: none; border-radius: 4px; background: no-repeat 50% 5px; background-image: linear-gradient(0deg, #e8eff5, #e8eff5); background-size: 40px 40px; text-align: center; }
                                                #qmenu_menu ul.nav a:hover { background-color: {SPECIALBG}; color: {HIGHLIGHTLINK}; text-shadow: none; }
                                #shortcut { position: relative; display: none; height: 30px; line-height: 30px; background-color: #3A83F1; color: white; text-align: center; }
                                        #shortcuttip { padding: 2px 8px; background: #fff; border-radius: 3px; color: #3A83F1; font-weight: 700; }
                                        #shortcutcloseid { position: absolute; right: 8px; top: 8px; display: block; width: 12px; height: 12px; background: #09c; line-height: 12px; overflow: hidden; }
                                                #shortcutcloseid:before { content: "\d7"; color: #fff; font-weight: 700; }

QQ|Archiver|手机版|小黑屋|天津人力资源服务网 ( 津ICP备2021006922号-1 )

GMT+8, 2025-7-5 03:34 , Processed in 0.050404 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表