MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.welcome-table { | .welcome-table { | ||
background-color: #f9e3f9; | background-color: #f9e3f9; | ||
border: 1px solid #808080; /* Solid grey border */ | border: 1px solid #808080; /* Solid grey border */ | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Line 14: | Line 14: | ||
.welcome-table th { | .welcome-table th { | ||
padding-top: 8px; /* Increased padding on top for header cells */ | padding-top: 8px; /* Increased padding on top for header cells */ | ||
} | } | ||
/* Base table styling */ | /* Base table styling */ | ||
.eras-table { | .eras-table { | ||
background-color: #f9e3f9; | |||
border: 1px solid #808080; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
width: 100%; | width: 100%; | ||
| Line 44: | Line 37: | ||
text-align: center; /* Center the text under the image */ | text-align: center; /* Center the text under the image */ | ||
padding: 10px; /* Add some padding for spacing */ | padding: 10px; /* Add some padding for spacing */ | ||
} | |||
/* Ensure images scale properly */ | |||
.eras-table img { | |||
max-width: 200px; | |||
width: 100%; | |||
height: auto; | |||
display: block; /* Ensure image behaves as a block for centering */ | |||
margin: 0 auto; /* Center the image horizontally */ | |||
} | } | ||