Jump to content

MediaWiki:Common.css: Difference between revisions

From Rejoice in Saint Joan of Arc
No edit summary
No edit summary
Line 25: Line 25:
}
}


 
/* max width page content for standard view */
/* max width page content  
.skin-standard .mw-body {
.skin-standard .mw-body {
     max-width: 950px;    /* Adjust this value as needed */
     max-width: 750px;    /* Adjust this value as needed */
}
}



Revision as of 00:23, 1 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 */
.reference, .reference-text {
    font-size: 0.8em; /* Adjust the value as needed */
}

/* max width page content for standard view */
.skin-standard .mw-body {
    max-width: 750px;    /* Adjust this value as needed */
}

/* Apply consistent width to the content area */
.mw-body {
    flex: 1;  /* Allow content to take up available space */
}

/* Styles to ensure sidebar does not affect the width */
#mw-content-text {
    box-sizing: border-box;  /* Include padding and border in the element's width and height */
}

/*  see discussion for page widths code test */