MediaWiki:Common.css: Difference between revisions

From FizzWiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(65 intermediate revisions by the same user not shown)
Line 5: Line 5:
     margin-right: 16px; /* Must be wider than #right-sidebar */
     margin-right: 16px; /* Must be wider than #right-sidebar */
}
}
/* 176
/* 16


/* Change color of the text in the personal tools menu (Talk, Preferences, Watchlist, etc.) */
/* Add a 1-pixel wide solid line on the right edge of the legacy content body */
#p-personal {
.skin-vector-legacy .mw-body {
     color: #ffffff; /* Change to your desired color (e.g., red) */
     border-right: 1px solid #a7d7f9;
}
}


/* Change the base color of sidebar links */
/* Style the main title at the top of the Portable Infobox */
#mw-panel .sidebar-chunk,
.portable-infobox .pi-title {
#p-navigation,
    text-align: center;
#p-tb {
    justify-content: center;
     color: #88DDFF
/*    background-color: #A1B6D7; /* Change to your preferred hex color code */
/*    color: #000000;            /* Changes text color to white for contrast */
    font-size: 1.4em;          /* Makes the title font larger (150% of standard size) */
    font-weight: bold;        /* Makes the text bold */
     padding: 2px;              /* Adds spacing around the text so it doesn't touch the borders */
 
}
}


/* Change sidebar link color on hover */
/* Style all section group headers inside the Portable Infobox */
#mw-panel .sidebar-chunk a:hover,
.portable-infobox .pi-header {
#p-navigation a:hover,
    text-align: center;
#p-tb a:hover {
    justify-content: center;
     color: #FFFF00;  
/*    background-color: #A1B6D7; /* Slightly different shade for section headers */
/*    color: #000000;            /* White text color */
    font-size: 1.2em;          /* Adjusts font size slightly smaller than the main title */
    font-weight: bold;
     padding: 2px;             /* Adds comfortable spacing inside the header box */
 
}
}


#footer-info-lastmod {
/* Add a 1-pixel solid border around the entire infobox container */
     color: #ffffff
.portable-infobox {
     border: 1px solid #a2a9b1; /* A standard gray color; change the hex code to match your wiki's theme */
    border-collapse: separate; /* Ensures borders render smoothly */
    box-sizing: border-box;    /* Prevents the border from causing alignment or overflow issues */
}
}
 
.portable-infobox .pi-item,
#footer {
.portable-infobox .pi-data {
     color: #88DDFF
     border: none !important;
}
}
#footer, #footer:visited {
/* Sets a fixed size for the image container */
     color: #88DDFF
.portable-infobox .pi-image-thumbnail {
    max-height: 250px;
    max-width: 250px;
    width: auto !important;
    height: auto !important;
     margin: 0 auto; /* Centers the image inside the box */
}
}
 
.portable-infobox .pi-caption {
/* Change color of the Tools header on the sidebar */
    font-style: normal !important;
#p-tb-label, .vector-menu-heading, #p-cactions-label {
     color: inherit !important;
     color: #88DDFF
}
}


 
/* Remove external link icons globally */
 
#content a.external {
 
     background: none !important;
 
     padding-right: 0 !important;
 
.mw-body {
background-image: url(http://localhost:4000/images/8/89/Fizzwiki-background2.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
     background-size: cover;
     background-position: center;
    background-color: rgba(255, 255, 255, 0.85);
}
}
#mw-page-base {
.portable-infobox .pi-data {
     background-color: rgba(255, 255, 255, 0);
     padding: 4px 6px; /* Modify these values to your preference */
    background-image: none; /* Removes the default gradient */
}
#mw-panel {
    background-color: #f0f0f0; /* Replace with your desired color */
}
}
/* Example CSS to hide the tab */
/*#ca-history { display: none !important; }

Latest revision as of 23:35, 28 September 2026

/* CSS placed here will be applied to all skins */

/* Adjust the main content so it doesn't overlap with the new sidebar */
#content {
    margin-right: 16px; /* Must be wider than #right-sidebar */
}
/* 176
/* 16

/* Add a 1-pixel wide solid line on the right edge of the legacy content body */
.skin-vector-legacy .mw-body {
    border-right: 1px solid #a7d7f9;
}

/* Style the main title at the top of the Portable Infobox */
.portable-infobox .pi-title {
    text-align: center;
    justify-content: center;
/*    background-color: #A1B6D7; /* Change to your preferred hex color code */
/*    color: #000000;            /* Changes text color to white for contrast */
    font-size: 1.4em;          /* Makes the title font larger (150% of standard size) */
    font-weight: bold;         /* Makes the text bold */
    padding: 2px;              /* Adds spacing around the text so it doesn't touch the borders */

}

/* Style all section group headers inside the Portable Infobox */
.portable-infobox .pi-header {
    text-align: center;
    justify-content: center;
/*    background-color: #A1B6D7; /* Slightly different shade for section headers */
/*    color: #000000;            /* White text color */
    font-size: 1.2em;          /* Adjusts font size slightly smaller than the main title */
    font-weight: bold;
    padding: 2px;              /* Adds comfortable spacing inside the header box */

}

/* Add a 1-pixel solid border around the entire infobox container */
.portable-infobox {
    border: 1px solid #a2a9b1; /* A standard gray color; change the hex code to match your wiki's theme */
    border-collapse: separate; /* Ensures borders render smoothly */
    box-sizing: border-box;    /* Prevents the border from causing alignment or overflow issues */
}
.portable-infobox .pi-item,
.portable-infobox .pi-data {
    border: none !important;
}
/* Sets a fixed size for the image container */
.portable-infobox .pi-image-thumbnail {
    max-height: 250px;
    max-width: 250px;
    width: auto !important;
    height: auto !important;
    margin: 0 auto; /* Centers the image inside the box */
}
.portable-infobox .pi-caption {
    font-style: normal !important;
    color: inherit !important;
}

/* Remove external link icons globally */
#content a.external {
    background: none !important;
    padding-right: 0 !important;
}
.portable-infobox .pi-data {
    padding: 4px 6px; /* Modify these values to your preference */
}

/* Example CSS to hide the tab */
/*#ca-history { display: none !important; }