MediaWiki:Common.css: Difference between revisions

From Lumenpedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:
/* Increase font size for main sidebar items */
/* Increase font size for main sidebar items */
#mw-panel .portal h5 {
#mw-panel .portal h5 {
     font-size: 2em; /* Increase font size for section titles */
     font-size: 1.8em; /* Reduce font size for section titles */
}
}


#mw-panel .portal ul {
#mw-panel .portal ul {
     font-size: 1.5em; /* Increase font size for list items */
     font-size: 1.3em; /* Reduce font size for list items */
     padding: 0;
     padding: 0;
}
}
Line 67: Line 67:
#mw-panel .portal ul li {
#mw-panel .portal ul li {
     margin: 2px 0; /* Reduce spacing between items */
     margin: 2px 0; /* Reduce spacing between items */
     border: 1px solid #b0e0e6; /* Add border with light tone */
     border: 1px solid #4682b4; /* Add border with steel blue tone */
     border-radius: 5px; /* Optional: add border radius for rounded corners */
     border-radius: 5px; /* Optional: add border radius for rounded corners */
    background-color: #e6f2ff; /* Light blue background within border */
}
}



Revision as of 02:15, 27 June 2024

/* General page background */
body {
    background-color: #e6f7ff; /* Very light blue background */
}

/* Header background */
#content h1, #content h2 {
    background-color: #4682b4; /* Steel blue for headers */
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* Link colors */
a {
    color: #1e90ff; /* Dodger blue for links */
}

a:visited {
    color: #104e8b; /* Darker blue for visited links */
}

/* Box styling for the images */
div[style*="display: inline-block; margin: 10px;"] {
    background-color: #87cefa; /* Light sky blue for boxes */
    border: 2px solid #4682b4; /* Steel blue border */
    border-radius: 10px;
    padding: 10px;
}

/* Text styling within boxes */
div[style*="display: inline-block; margin: 10px;"] p {
    color: #000080; /* Navy for text */
    font-weight: bold;
}

/* Sidebar Styles */
#mw-panel {
    background-color: #e6f7ff !important; /* Very light blue background */
    color: #000 !important; /* Black text color */
    padding: 10px;
    font-family: Arial, sans-serif;
}

#p-logo {
    background-color: #e6f7ff !important; /* Background color for the logo */
    padding: 10px;
    text-align: center;
    margin-left: -20px; /* Move the logo slightly to the left */
}

#p-logo a {
    color: #000 !important; /* Black text color */
    text-decoration: none;
}

/* Increase font size for main sidebar items */
#mw-panel .portal h5 {
    font-size: 1.8em; /* Reduce font size for section titles */
}

#mw-panel .portal ul {
    font-size: 1.3em; /* Reduce font size for list items */
    padding: 0;
}

#mw-panel .portal ul li {
    margin: 2px 0; /* Reduce spacing between items */
    border: 1px solid #4682b4; /* Add border with steel blue tone */
    border-radius: 5px; /* Optional: add border radius for rounded corners */
    background-color: #e6f2ff; /* Light blue background within border */
}

#mw-panel .portal ul li a {
    color: #000 !important; /* Black text color */
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

#mw-panel .portal ul li a:hover {
    background-color: #b0e0e6 !important; /* Hover background color */
}