Jump to content

MediaWiki:Common.css: Difference between revisions

From Rejoice in Saint Joan of Arc
No edit summary
No edit summary
 
(41 intermediate revisions by the same user not shown)
Line 21: Line 21:


/* Reduce font size of footnotes */
/* Reduce font size of footnotes */
.reference, .reference-text {
/* adding .references 2/11/25 to reduce size of the footnote number - works? */
.references .reference, .reference-text {
     font-size: 0.8em; /* Adjust the value as needed */
     font-size: 0.8em; /* Adjust the value as needed */
}
}


/* max width page content for standard view */
/* limit page width using standard and not wide */
.skin-standard .mw-body {
.vector-feature-limited-width-clientpref-1 body {
     max-width: 750px;   /* Adjust this value as needed */
     max-width: 1400px;
    margin: 0 auto;
}
}


/* Apply consistent width to the content area */
.vector-feature-limited-width-clientpref-1 .mw-content-container {
.mw-body {
     max-width: 900px;
     flex: 1; /* Allow content to take up available space */
    margin: 0 auto;
}
}


/* Styles to ensure sidebar does not affect the width */
/to wrap blockquotes around images/etc */
#mw-content-text {
.img-wrap {
     box-sizing: border-box; /* Include padding and border in the element's width and height */
     margin-left: 220px; /* Adjust this value based on your image width and padding */
}
}
/*  see discussion for page widths code test */

Latest revision as of 00:02, 21 February 2025

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

/* Adjust the size of the logo */
.mw-logo-icon  {
    width: 125px; /* Adjust this value to your desired width */
    height: auto; /* This maintains the aspect ratio */
}

/* blockquote formatting */
blockquote {
	clear: both;
    background-color: #f5f5f5;
    border: 1px solid #ccc !important;
    font-family: Roboto Mono !important;
    font-size: 110% !important;
    padding: 10px !important;
    margin-left: 20px 0 !important;
    width:80% !important; 
    border-radius: 4px !important;
}

/* Reduce font size of footnotes */
/* adding .references 2/11/25 to reduce size of the footnote number - works? */
.references .reference, .reference-text {
    font-size: 0.8em; /* Adjust the value as needed */
}

/* limit page width using standard and not wide */
.vector-feature-limited-width-clientpref-1 body {
    max-width: 1400px;
    margin: 0 auto;
}

.vector-feature-limited-width-clientpref-1 .mw-content-container {
    max-width: 900px;
    margin: 0 auto;
}

/to wrap blockquotes around images/etc */
.img-wrap {
    margin-left: 220px; /* Adjust this value based on your image width and padding */
}