MediaWiki:Common.css:修订间差异
来自The Ysmir Collective
无编辑摘要 标签:手工回退 |
无编辑摘要 |
||
| 第31行: | 第31行: | ||
div.right-text { | div.right-text { | ||
text-align:right; | 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 */ | |||
} | |||
.mw-table th, .mw-table td { | |||
border: 1px solid #000000; /* Black border for table cells */ | |||
padding: 8px; /* Space inside cells */ | |||
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 */ | |||
} | } | ||
2025年1月4日 (六) 22:26的版本
/* 这里放置的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 */
}
.mw-table th, .mw-table td {
border: 1px solid #000000; /* Black border for table cells */
padding: 8px; /* Space inside cells */
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 */
}