Jump to content

MediaWiki:Common.css: Difference between revisions

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


/to wrap blockquotes around images/etc */
/to wrap blockquotes around images/etc */
.blockquote-wrap {
.img-wrap {
    overflow: auto;
     display: flex;
     display: flex;
    flex-wrap: wrap;
     align-items: flex-start;
     align-items: flex-start;
}
}
.blockquote-wrap blockquote {
.img-wrap img {
     margin: 0;
     margin-right: 15px;
    padding-left: 15px;
     margin-bottom: 15px;
     padding-right: 15px;
}
}

Revision as of 23:59, 20 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 {
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.img-wrap img {
    margin-right: 15px;
    margin-bottom: 15px;
}