/* 全局二级标题样式*/ h2 { text-align: center; border: none; overflow: visible; background: #cdf9c7; padding: 5px; margin-top: 10px; border-left: 10px solid #129822; border-right: 10px solid #129822; border-radius: 10px; overflow:hidden; } .toc .toctitle h2 { background: none; border: 0; } h2 .mw-headline { font-family: "sans-serif"; position: relative; color: black; } /* h2:hover, h2:focus { max-width: 100%; background-color: #cdf9c7; letter-spacing: 0.5em; transition: letter-spacing 1s, background-color 1s; } */ /* 专题动态info栏样式 */ .VUPwork-info { margin: 5px 10px; background: #f9f9f9; border: 1px solid #cccccc; width: 40em; } @media screen and (max-width: 600px) { .VUP-info { float: none; width:100%; } } /*“轻松一刻”娱乐向栏目侧边栏样式 */ .VUPhumor-sidebar { float: right; width: 30%; padding: 5px; border: solid 2px green; border-radius: 10px; margin-left: 10px; background: rgba(255,255,255,0.5); } .VUP-dyk::before { content:"❓"; } .VUP-history::before { content:"📅"; } .VUP-spl::before { content:"❤"; } .VUP-birthday::before { content:"🎂"; } .VUP-medal::before { content:"🏅"; }