MediaWiki:Common.css: Difference between revisions

From Lumenpedia
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 37: Line 37:
/* Sidebar Styles */
/* Sidebar Styles */
#mw-panel {
#mw-panel {
     background-color: #001f3f; /* Dark background color */
     background-color: #e6f2ff !important; /* Light blue background */
     color: #fff; /* White text color */
     color: #003366 !important; /* Dark blue text color */
     padding: 10px;
     padding: 10px;
     font-family: Arial, sans-serif;
     font-family: Arial, sans-serif;
Line 44: Line 44:


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


#p-logo a {
#p-logo a {
     color: #fff;
     color: #003366 !important; /* Dark blue text color */
     text-decoration: none;
     text-decoration: none;
}
}


#p-navigation .body ul {
/* Increase font size for main sidebar items */
     list-style-type: none;
#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;
     padding: 0;
    margin: 0;
}
}


#p-navigation .body ul li {
#mw-panel .portal ul li {
     margin: 5px 0;
     margin: 2px 0; /* Reduce spacing between items */
    background-color: #ffffff; /* White background */
    border: 1px solid #b0e0e6; /* Light blue border */
    border-radius: 5px; /* Optional: add border radius for rounded corners */
    padding: 5px;
}
}


#p-navigation .body ul li a {
#mw-panel .portal ul li a {
     color: #fff;
     color: #003366 !important; /* Dark blue text color */
     text-decoration: none;
     text-decoration: none;
    padding: 5px 10px;
     display: block;
     display: block;
    border-radius: 5px; /* Rounded corners for links */
}
}


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


/* Style for the search box */
/* Center text within the boxes under guides */
#p-search {
div[style*="display: grid;"] {
    background-color: #001f3f; /* Background color for search box */
     text-align: center;
    padding: 10px;
    border-radius: 5px;
     margin-bottom: 10px;
}
}


#searchInput {
div[style*="display: grid;"] ul {
     width: 100%;
     text-align: left; /* Align the text of list items to the left */
     padding: 5px;
     padding-left: 0;
    border-radius: 5px;
     list-style: none;
    border: 1px solid #4682b4; /* Border color for search input */
     margin-bottom: 5px;
}
}


#searchButton {
div[style*="display: grid;"] ul li {
    background-color: #4682b4; /* Background color for search button */
     display: block;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
 
#searchButton:hover {
     background-color: #1e90ff; /* Hover background color for search button */
}
 
/* Style for the menu headings */
#mw-panel .portal .body h3 {
    background-color: #001f3f; /* Background color for menu heading */
    color: white;
     padding: 5px;
     padding: 5px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    margin: 0;
}
/* 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: #4682b4; /* Light blue background color */
    color: #fff; /* White text color */
    padding: 10px;
    font-family: Arial, sans-serif;
}
#p-logo {
    background-color: #4682b4; /* Background color for the logo */
    padding: 10px;
    text-align: center;
}
#p-logo a {
    color: #fff;
    text-decoration: none;
}
#p-navigation .body ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#p-navigation .body ul li {
     margin: 5px 0;
     margin: 5px 0;
    background-color: #ffffff; /* White background */
    border: 1px solid #b0e0e6; /* Light blue border */
    border-radius: 5px; /* Optional: add border radius for rounded corners */
}
}


#p-navigation .body ul li a {
div[style*="display: grid;"] ul li a {
     color: #fff;
     color: #003366; /* Dark blue text color */
     text-decoration: none;
     text-decoration: none;
    padding: 5px 10px;
    display: block;
    border-radius: 5px; /* Rounded corners for links */
    font-size: 16px; /* Larger font size */
}
#p-navigation .body ul li a:hover {
    background-color: #1e90ff; /* Hover background color */
}
/* Style for the search box */
#p-search {
    background-color: #4682b4; /* Background color for search box */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
#searchInput {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #4682b4; /* Border color for search input */
    margin-bottom: 5px;
    font-size: 16px; /* Larger font size */
}
#searchButton {
    background-color: #1e90ff; /* Background color for search button */
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}
}


#searchButton:hover {
div[style*="display: grid;"] ul li a:hover {
     background-color: #104e8b; /* Hover background color for search button */
     background-color: #b0e0e6; /* Hover background color */
}
 
/* Style for the menu headings */
#mw-panel .portal .body h3 {
    background-color: #4682b4; /* Background color for menu heading */
    color: white;
    padding: 5px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    margin: 0;
    font-size: 18px; /* Larger font size */
}
}

Latest revision as of 02:22, 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: #e6f2ff !important; /* Light blue background */
    color: #003366 !important; /* Dark blue text color */
    padding: 10px;
    font-family: Arial, sans-serif;
}

#p-logo {
    background-color: #e6f2ff !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: #003366 !important; /* Dark blue 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 */
    background-color: #ffffff; /* White background */
    border: 1px solid #b0e0e6; /* Light blue border */
    border-radius: 5px; /* Optional: add border radius for rounded corners */
    padding: 5px;
}

#mw-panel .portal ul li a {
    color: #003366 !important; /* Dark blue text color */
    text-decoration: none;
    display: block;
}

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

/* Center text within the boxes under guides */
div[style*="display: grid;"] {
    text-align: center;
}

div[style*="display: grid;"] ul {
    text-align: left; /* Align the text of list items to the left */
    padding-left: 0;
    list-style: none;
}

div[style*="display: grid;"] ul li {
    display: block;
    padding: 5px;
    margin: 5px 0;
    background-color: #ffffff; /* White background */
    border: 1px solid #b0e0e6; /* Light blue border */
    border-radius: 5px; /* Optional: add border radius for rounded corners */
}

div[style*="display: grid;"] ul li a {
    color: #003366; /* Dark blue text color */
    text-decoration: none;
}

div[style*="display: grid;"] ul li a:hover {
    background-color: #b0e0e6; /* Hover background color */
}