MediaWiki:Common.css: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* General body styles */
/* General body styles */
body {
body {
     background-color: #0085ca; /* Light grey background */
     background-color: #00527d; /* Light grey background */
     color: #333333; /* Dark grey text */
     color: #333333; /* Dark grey text */
}
}

Revision as of 22:40, 21 March 2024

/* General body styles */
body {
    background-color: #00527d; /* Light grey background */
    color: #333333; /* Dark grey text */
}

/* Content area styles */
#content {
    background-color: #ffffff; /* White background */
    border: 1px solid #cccccc; /* Light grey border */
    padding: 20px; /* Spacing inside the content area */
}

/* Header styles */
#firstHeading {
    color: #006cb0; /* Custom color for the first heading */
    margin-bottom: 10px; /* Space below the heading */
}

/* Link styles */
a {
    color: #0645ad; /* Blue links */
}

a:visited {
    color: #0b0080; /* Darker blue for visited links */
}

/* Table styles */
table.wikitable {
    border-collapse: collapse; /* Collapse borders between table cells */
}

table.wikitable, table.wikitable th, table.wikitable td {
    border: 1px solid #aaaaaa; /* Light grey borders */
}

table.wikitable th {
    background-color: #f2f2f2; /* Light grey background for table headers */
    text-align: left; /* Align text to the left in headers */
}

/* Infobox styles */
.infobox {
    border: 1px solid #aaaaaa; /* Light grey border */
    background-color: #f9f9f9; /* Slightly grey background */
    padding: 10px; /* Spacing inside the infobox */
    width: 300px; /* Fixed width */
}

/* Custom classes for text styling */
.text-bold {
    font-weight: bold; /* Bold text */
}

.text-italic {
    font-style: italic; /* Italic text */
}

/* Adjustments for mobile view */
@media screen and (max-width: 768px) {
    #content {
        padding: 10px; /* Smaller padding on mobile devices */
    }

    .infobox {
        width: 100%; /* Full width on mobile devices */
    }
}