MediaWiki:Common.css:修订间差异
来自The Ysmir Collective
无编辑摘要 |
无编辑摘要 |
||
| 第95行: | 第95行: | ||
background-color: #E1BEE7; /* Lavender background for future events */ | background-color: #E1BEE7; /* Lavender background for future events */ | ||
color: #4A148C; /* Dark purple text */ | color: #4A148C; /* Dark purple text */ | ||
} | |||
.mw-table td.major-event a { | |||
color: #1B5E20; /* Dark green for major event links */ | |||
} | |||
.mw-table td.minor-event a { | |||
color: #827717; /* Olive for minor event links */ | |||
} | |||
.mw-table td.historical-event a { | |||
color: #0D47A1; /* Navy blue for historical event links */ | |||
} | |||
.mw-table td.future-event a { | |||
color: #4A148C; /* Dark purple for future event links */ | |||
} | } | ||
2025年1月4日 (六) 23:18的版本
/* 这里放置的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: #D4E157; /* Lime green background for major events */
color: #1B5E20; /* Dark green text */
}
.mw-table td.minor-event {
background-color: #FFF9C4; /* Light yellow background for minor events */
color: #827717; /* Olive text */
}
.mw-table td.historical-event {
background-color: #BBDEFB; /* Light blue background for historical events */
color: #0D47A1; /* Navy blue text */
}
.mw-table td.future-event {
background-color: #E1BEE7; /* Lavender background for future events */
color: #4A148C; /* Dark purple text */
}
.mw-table td.major-event a {
color: #1B5E20; /* Dark green for major event links */
}
.mw-table td.minor-event a {
color: #827717; /* Olive for minor event links */
}
.mw-table td.historical-event a {
color: #0D47A1; /* Navy blue for historical event links */
}
.mw-table td.future-event a {
color: #4A148C; /* Dark purple for future event links */
}