MediaWiki:Common.css: Difference between revisions

From Borsheim Crane Service Wiki
No edit summary
No edit summary
Line 20: Line 20:
a {
a {
     color: #c41e3a !important;
     color: #c41e3a !important;
}
.wikitable {
    table-layout: auto; /* Let table size itself */
    width: 100%; /* Use full width available */
}
.wikitable td,
.wikitable th {
    height: auto; /* Auto height based on content */
    padding: 8px 12px; /* Comfortable padding */
    vertical-align: top;
    word-wrap: break-word; /* Handle long text */
    white-space: normal; /* Allow text wrapping */
}
/* Auto-adjust column widths */
.wikitable td {
    width: auto; /* Columns size to content */
    min-width: 80px; /* Minimum width to prevent too narrow */
    max-width: 300px; /* Maximum width to prevent too wide */
}
}

Revision as of 19:46, 3 June 2025

/* Borsheim red navbar styling */
.navbar-default {
    background-color: #c41e3a !important;
    border: none !important;
}

.navbar-default .navbar-brand {
    color: white !important;
}

.navbar-default .navbar-nav > li > a {
    color: white !important;
}

.navbar-default .navbar-nav > li > a:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

/* Red links */
a {
    color: #c41e3a !important;
}

.wikitable {
    table-layout: auto; /* Let table size itself */
    width: 100%; /* Use full width available */
}

.wikitable td, 
.wikitable th {
    height: auto; /* Auto height based on content */
    padding: 8px 12px; /* Comfortable padding */
    vertical-align: top;
    word-wrap: break-word; /* Handle long text */
    white-space: normal; /* Allow text wrapping */
}

/* Auto-adjust column widths */
.wikitable td {
    width: auto; /* Columns size to content */
    min-width: 80px; /* Minimum width to prevent too narrow */
    max-width: 300px; /* Maximum width to prevent too wide */
}