MediaWiki:InfoBox.css
From The Seven Sages of Rome
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.mw-custom-note {
border: 1px solid #e5e7eb; /* Tailwind gray-200 */
background-color: #f9fafb; /* Tailwind gray-50 */
color: #374151; /* Tailwind gray-700 */
border-radius: 0.5rem; /* rounded-lg */
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* subtle shadow */
margin: 1rem 0;
max-width: 100%;
}
.mw-custom-note .card-header {
background-color: #f3f4f6; /* Tailwind gray-100 */
color: #111827; /* Tailwind gray-900 */
font-size: 1rem; /* text-base */
padding: 0.75rem 1rem; /* py-3 px-4 */
border-bottom: 1px solid #e5e7eb; /* gray-200 */
border-radius: 0.5rem 0.5rem 0 0;
}
.mw-custom-note .card-body {
padding: 1rem; /* p-4 */
font-size: 0.875rem; /* text-sm */
line-height: 1.5;
}