MediaWiki:Common.css: Difference between revisions

From Blueseum - History of the Carlton Football Club
No edit summary
No edit summary
Line 89: Line 89:


blockquote {
blockquote {
     margin: 1.5em 0 1.5em 40px; /* Adjust margin to allow space for the quote mark */
     border-left: 8px solid #78C0A8; /* Adds a colored left border */
     padding: 0 1em;
     padding: 1.2em 30px;           /* Adds padding around the text */
    position: relative;        /* Required for absolute positioning of pseudo-element */
     margin: 1.5em 0;               /* Resets top and bottom margin */
    font-style: italic;        /* Makes the quoted text italic */
     font-size: 1.1em;               /* Adjusts font size */
}
     color: #555555;                 /* Changes text color */
 
     line-height: 1.6;               /* Adjusts line spacing */
blockquote::before {
     background: #EDEDED;           /* Adds a light background color */
     color: #ccc;               /* Color of the quotation mark */
    content: "\201C";          /* Unicode for a left double quotation mark */
     font-size: 5em;           /* Large font size for the quote mark */
     position: absolute;       /* Positions the quote mark relative to the blockquote */
     left: 5px;                 /* Adjust position from the left */
     top: 0.3em;               /* Adjust position from the top */
    line-height: 0.1em;
}
}

Revision as of 14:27, 10 March 2026

/* Nuke SpecialPages for Guests - chameleon specific IDs */
body.user-anon #t-specialpages,
body.user-anon .nav-item-specialpages,
body.user-anon a[href*="Special:SpecialPages"],
body.user-anon a[data-mw="interface"][href*="Special:SpecialPages"] {
    display: none !important;
}

body.anon #t-specialpages {
    display: none;
}

/* Also hide the "Tools" header if it's now empty at the bottom */
body.user-anon #p-tb-label,
body.user-anon .sidebar-title-tools {
    display: none !important;
}

/* Target the links by their destination URL for anonymous users */
body.user-anon a[href*="action=history"],
body.user-anon a[href*="action=edit"],
body.user-anon a[href*="title=Special:Log"] {
    display: none !important;
}

/* Hide special links by default */
.show-for-user {
    display: none;
}

/* Show links only when user is logged in */
body.ns-0 .show-for-user {
    display: list-item; /* or block, depending on theme */
}

/* Standard link colors */
.pagetools a,.pagetools .tab-group a {
    color: #cfccfc;
}

#p-views a,
#p-cactions a,
.vector-menu-content-list a {
    color: #cfccfc !important; /* Replace with your desired color */
}

.footer-info  {
  color: #212529;
  background-color: #e9ecef;
  margin-left: 0px;
 }

.mw-list-item a { color: #0000ff; }
.mw-body-content a { color: #0000ff; }
a:link { color: #0000ff; } /* normal unvisited links */
a:hover { color: #FFA500; } /* hovered links (example: orange) */

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

.flex-grow-0.col {
  max-width: 400px;
  width: auto; 
}

.p-logo img {
  max-width: 400px;
  width: auto; 

}

.p-logo {
  max-width: 400px;
  width: auto; 

}

/* To make images responsive */
img {
	max-width:100%;
	height:auto;
}


/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}

blockquote {
    border-left: 8px solid #78C0A8; /* Adds a colored left border */
    padding: 1.2em 30px;            /* Adds padding around the text */
    margin: 1.5em 0;                /* Resets top and bottom margin */
    font-size: 1.1em;               /* Adjusts font size */
    color: #555555;                 /* Changes text color */
    line-height: 1.6;               /* Adjusts line spacing */
    background: #EDEDED;            /* Adds a light background color */
}