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; /* gray-200 */
background-color: #ffffff;
color: #374151; /* gray-700 */
border-radius: 0.75rem; /* rounded-xl */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
margin: 1.5rem 0;
transition: box-shadow 0.3s ease;
height: unset !important;
}
.mw-custom-note:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.mw-custom-note .card-header {
display: flex;
align-items: center;
background-color: #f3f4f6; /* gray-100 */
color: #111827; /* gray-900 */
font-size: 1rem;
padding: 0.75rem 1rem;
border-bottom: 1px solid #e5e7eb;
border-radius: 0.75rem 0.75rem 0 0;
}
.mw-custom-note .note-icon {
font-size: 1.25rem;
color: #3b82f6; /* blue-500 */
display: inline-block;
}
.mw-custom-note .note-title {
font-size: 1rem;
font-weight: 600;
}
.mw-custom-note .card-body {
padding: 1rem 1.25rem;
font-size: 0.9375rem;
line-height: 1.6;
}
.mw-custom-note p {
margin: 0;
}
.mw-custom-note a {
color: #2563eb; /* blue-600 */
text-decoration: underline;
}
.mw-custom-note a:hover {
color: #1d4ed8; /* blue-700 */
}