|
|
| (未显示1个用户的66个中间版本) |
| 第131行: |
第131行: |
| .mw-body, .parsoid-body {background-color: #150D0A;color:#B18D62;} | | .mw-body, .parsoid-body {background-color: #150D0A;color:#B18D62;} |
| .mw-body {border: 3px solid #7C502E !important;} | | .mw-body {border: 3px solid #7C502E !important;} |
|
| |
| .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
| |
| margin-left: 13em !important;
| |
| }
| |
|
| |
|
| /* Table Formatting */ | | /* Table Formatting */ |
| 第148行: |
第144行: |
| padding: 0.3em 0.5em; | | padding: 0.3em 0.5em; |
| } | | } |
| .wikitable tr:nth-child(odd) { background-color: #2C2014 !important;} | | .wikitable tr:nth-child(odd) { background-color: #2C2014;} /* 死老外原来在这里加了个!important强制真是蛋痛 */ |
| .wikitable tr:nth-child(even) { background-color: #271C12 !important;} | | .wikitable tr:nth-child(even) { background-color: #271C12;} /* 死老外原来在这里加了个!important强制真是蛋痛 */ |
|
| |
|
| .wikitable > tr > td > p, .wikitable > * > tr > td > p {display: inline; color: #444444; margin-top: 0; margin-bottom: 0;} /* de-emphasized table info */ | | .wikitable > tr > td > p, .wikitable > * > tr > td > p {display: inline; color: #444444; margin-top: 0; margin-bottom: 0;} /* de-emphasized table info */ |
| 第327行: |
第323行: |
| color: #000000; | | color: #000000; |
| font-weight: bold; | | font-weight: bold; |
| }
| |
|
| |
| /* Tooltip 样式测试*/
| |
| /* 静态 Tooltip */
| |
| .tooltip-wrapper {
| |
| position: relative;
| |
| display: inline-block;
| |
| cursor: help;
| |
| }
| |
|
| |
| .tooltip-content {
| |
| visibility: hidden;
| |
| background-color: #fff;
| |
| border: 1px solid #ccc;
| |
| padding: 8px;
| |
| border-radius: 4px;
| |
| box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
| |
| position: absolute;
| |
| z-index: 500;
| |
| bottom: 50%;
| |
| left: 50%;
| |
| transform: translateX(-50%);
| |
| white-space: nowrap;
| |
| }
| |
|
| |
| .tooltip-wrapper:hover .tooltip-content {
| |
| visibility: visible;
| |
| }
| |
| /* 动态 Tooltip 基础样式 */
| |
| .dynamic-tooltip {
| |
| cursor: help;
| |
| border-bottom: 1px dotted #999;
| |
| }
| |
|
| |
| .tooltip-container {
| |
| position: absolute;
| |
| background: #333;
| |
| color: white;
| |
| padding: 8px 12px;
| |
| border-radius: 4px;
| |
| box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
| |
| max-width: 300px;
| |
| z-index: 9999;
| |
| pointer-events: none; /* 防止遮挡鼠标事件 */
| |
| opacity: 0; /* 初始隐藏 */
| |
| transition: opacity 0.2s;
| |
| }
| |
|
| |
| /* Tooltip 箭头 */
| |
| .tooltip-container::after {
| |
| content: "";
| |
| position: absolute;
| |
| bottom: -10px;
| |
| left: 50%;
| |
| margin-left: -5px;
| |
| border-width: 5px;
| |
| border-style: solid;
| |
| border-color: #333 transparent transparent transparent;
| |
| }
| |
|
| |
| /* 网站公告的样式 Mediawiki:sitenotice 使用 */
| |
| #siteNoticeScroll {
| |
| width: 100%;
| |
| height: 25px;
| |
| line-height: 25px;
| |
| overflow: hidden;
| |
| text-align: center;
| |
| margin-bottom: 0.25em;
| |
| }
| |
|
| |
| #siteNoticeScroll ul {
| |
| height: 25px;
| |
| line-height: 25px;
| |
| -webkit-transition: margin .73s ease-in-out;
| |
| -moz-transition: margin .73s ease-in-out;
| |
| transition: margin .73s ease-in-out;
| |
| }
| |
|
| |
| #siteNoticeScroll li {
| |
| height: 25px;
| |
| list-style: none;
| |
| float: left;
| |
| width: 100%;
| |
| }
| |
|
| |
| /* DropDown 实现 */
| |
| .dropdown {
| |
| position: relative;
| |
| display: inline-block;
| |
| }
| |
| .dropdown-content {
| |
| display: none;
| |
| position: absolute;
| |
| background: #fff;
| |
| box-shadow: 0 8px 16px rgba(0,0,0,0.2);
| |
| z-index: 1;
| |
| }
| |
| .dropdown:hover .dropdown-content {
| |
| display: block;
| |
| } | | } |