跳转到内容
开关侧边栏
戏曲百科
搜索
个人工具
创建账号
登录
网站导航
网站首页
最近更改
随机页面
表单起始
网站分类
戏曲剧种
戏曲演员
戏曲剧目
戏曲剧团
戏曲活动
戏曲名词
工具
链入页面
相关更改
特殊页面
页面信息
查看“︁模板:Main page/styles.css”︁的源代码
模板
讨论
English
阅读
查看源代码
查看历史
更多
阅读
查看源代码
查看历史
←
模板:Main page/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
.mainpage_topbox { background: #f9f9f9; margin: 1em 0; } .mainpage_layouttable { border: 0; margin: 0; width: 100%; border-spacing: 10px; } .mainpage_layouttable * > tr > td { vertical-align: top; } .mainpage_boxtitle { font-size: 175%; padding: 0.4em; background-color: #eeeeee; font-weight: bold; min-height: 2em; vertical-align: middle; } .mainpage_pagetitle { color: #cf7606; font-size: 200%; padding: 0.2em 0.4em; } .mainpage_sitelinks { padding: 0.2em; text-align: center; background-color: white; font-weight: bold; } .mainpage_hubtitle { text-align: center; } .mainpage_boxcontents { background: #ffffff; padding: 0.2em 0.4em; } .mainpage_boxcontents_small { font-size: 95%; } .mainpage_boxcontents_title { display: block; border-bottom: 1px solid #AAA; margin-bottom: 0.5em; text-align: center; font-weight: bold; font-size: larger; } .mainpage_middleblock .mainpage_hubbox { width: 33%; } .mainpage_hubbox, .mainpage_topbox { padding: 0; border: 1px solid #aaaaaa; } .mainpage_newscell .mainpage_boxtitle { background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png); background-repeat: no-repeat; background-position: 99% 0.3em; padding-right: 25px; } .mainpage_downloadcell .mainpage_boxtitle { background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png); background-repeat: no-repeat; background-position: 96% 0.33em; padding-right: 25px; } .mainpage_opportunitiescell .mainpage_boxtitle { background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png); background-repeat: no-repeat; background-position: 98% 0.15em; padding-right: 25px; } .mainpage_featuredpagescell .mainpage_boxtitle { background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png); background-repeat: no-repeat; background-position: 98% 0.15em; padding-right: 25px; } .mainpage_mwtitle { color: #005288; } .mainpage_notice { background: #f9f9f9; border: 1px solid #aaaaaa; margin: 0.2em 10px 10px; padding:0.2em 0.4em; text-align: center; font-size: 125% } .mainpage_row2, .mainpage_row3 { /*display: -webkit-box;*/ /*display: -moz-box;*/ /*display: -ms-flexbox;*/ /*display: -webkit-flex;*/ display: flex; flex-flow: row wrap; justify-content: space-between; margin: 1em 0; } @media screen and (min-width: 45em) { .mainpage_row2 .mainpage_hubbox { box-sizing: border-box; float: left; width: 32%; } } @media screen and (max-width: 45em) { .mainpage_row2 .mainpage_hubbox { box-sizing: border-box; flex: 1 0 100%; width: 100%; margin: 0.5em 0 } } @media screen and (min-width: 45em) { .mainpage_row3 .mainpage_hubbox { box-sizing: border-box; float: left; } .mainpage_row3 .mainpage_downloadcell { flex: 1 2 15em; min-width: 10em; max-width: 20em; } .mainpage_row3 .mainpage_newscell { flex: 6 0 20em; margin-left: 1em; } .mainpage_row3 .mainpage_opportunitiescell { flex: 1 2 15em; min-width: 10em; max-width: 20em; } } @media screen and (max-width: 45em) { .mainpage_row3 .mainpage_hubbox { box-sizing: border-box; flex: 1 0 100%; width: 100%; margin: 0.5em 0; } } @media screen and (max-width: 55em) { .mainpage_row3 .mainpage_newscell { order: -1; flex: 1 0 100%; width: 100%; margin-left: 0; } } /* CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 : */ .mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; margin: 0; } .mainpage_box { flex: 1; margin: 5px; min-width: 210px; border: 1px solid #CCC; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba(0,0,0,0.1); } .mainpage_box h3 { margin: 0.5em 0 0.5em 0; } .mainpage_box h3 .header_icon { float:left; margin-right: 5px; } .mainpage_box .items { border-top: 1px solid #CCC; padding-top: 0.5em; } .mainpage_boxcontents_small { font-size: 95%; } /* Style the "other languages" box the same way as other boxes on the main page */ .mw-pt-languages { display: block; margin: 5px; background: none; border: 1px solid #CCC; box-shadow: 0 2px 2px rgba(0,0,0,0.1); width: auto; } .mw-pt-languages-label { background: none; border-right: none; }
返回
模板:Main page/styles.css
。