MediaWiki:Common.css:修订间差异
来自The Ysmir Collective
无编辑摘要 |
无编辑摘要 |
||
| 第116行: | 第116行: | ||
.mw-table a { | .mw-table a { | ||
color: # | color: #5A7D9A; /* Soft muted blue inspired by Skyrim's aesthetic */ | ||
text-decoration: none; /* Remove underline for links */ | text-decoration: none; /* Remove underline for links */ | ||
font-weight: bold; /* Make links more prominent */ | font-weight: bold; /* Make links more prominent */ | ||
| 第122行: | 第122行: | ||
.mw-table a:hover { | .mw-table a:hover { | ||
color: # | color: #2C3E50; /* Darker blue-gray for hover state */ | ||
text-decoration: | text-decoration: none; /* Keep underline removed on hover */ | ||
} | } | ||
2025年1月4日 (六) 23:28的版本
/* 这里放置的CSS将应用于所有皮肤 */
.wikitable img {
height: auto;
width:100%;
}
.titlepic img {
height: auto;
width:100%;
}
.character-info img {
height: auto;
width:100%;
}
div.thumbinner {
border:solid 1px #aaaaaa;
box-shadow:0 1px 6px rgba(0,0,0,.25);
}
li.gallerybox div.thumb {
border:solid 1px #aaaaaa;
box-shadow:0 1px 6px rgba(0,0,0,.25);
}
div.center-text {
text-align:center;
}
div.right-text {
text-align:right;
}
/* Basic table styling */
.mw-table {
border-collapse: collapse; /* Ensure borders don't double */
margin: 16px auto; /* Add margin for proper placement */
background-color: #ffffff; /* Set white background */
width: 100%; /* Table spans container width */
max-width: 90%; /* Limit table width for better readability */
color: #235;
}
.mw-table th, .mw-table td {
border-top: 1px solid #000000; /* Black border for table rows */
border-bottom: 1px solid #000000; /* Black border for table rows */
padding: 12px 24px; /* 左右增加24px间距 */
text-align: left; /* Align text to the left */
vertical-align: middle; /* Vertically center text */
}
.mw-table th {
font-weight: bold; /* Bold headers */
background-color: #f9f9f9; /* Light gray background for headers */
text-align: center;
}
.mw-table td.centered, .mw-table th.centered {
text-align: center;
}
/* 暗红色文字 */
.mw-table td.red-text, .mw-table th.red-text {
color: #8B0000; /* 暗红色文字 */
}
/* 绿色文字 */
.mw-table td.green-text, .mw-table th.green-text {
color: #006400; /* 深绿色文字 */
}
/* 蓝色文字 */
.mw-table td.blue-text, .mw-table th.blue-text {
color: #00008B; /* 深蓝色文字 */
}
/* Timeline event styles */
.mw-table td.major-event {
background-color: #2F4F4F; /* DarkSlateGray for significant events */
color: #DCDCDC; /* Gainsboro text for readability */
}
.mw-table td.minor-event {
background-color: #B0C4B1; /* Soft green resembling Rift's nature */
color: #3E4C3A; /* Darker green text for contrast */
}
.mw-table td.historical-event {
background-color: #B5C3D1; /* Soft blue-gray inspired by the Empire */
color: #2C3E50; /* Navy text for readability */
}
.mw-table td.future-event {
background-color: #EEDFCC; /* Soft golden tone inspired by Summerset */
color: #5C4033; /* Dark brown text for contrast */
}
.mw-table td.major-event a {
color: #DCDCDC; /* Gainsboro for major event links */
}
.mw-table td.minor-event a {
color: #3E4C3A; /* Darker green for minor event links */
}
.mw-table td.historical-event a {
color: #2C3E50; /* Navy blue for historical event links */
}
.mw-table td.future-event a {
color: #5C4033; /* Dark brown for future event links */
}
.mw-table a {
color: #5A7D9A; /* Soft muted blue inspired by Skyrim's aesthetic */
text-decoration: none; /* Remove underline for links */
font-weight: bold; /* Make links more prominent */
}
.mw-table a:hover {
color: #2C3E50; /* Darker blue-gray for hover state */
text-decoration: none; /* Keep underline removed on hover */
}