MediaWiki:Vector.css

/* All CSS here will be loaded for users of the Vector skin */ /****************************** * Hide items on main page ******************************/ .action-view.page-Main_Page #siteSub, .action-view.page-Main_Page #contentSub, .action-view.page-Main_Page .firstHeading { display: none !important; }

/****************************** * Changing the tagline ******************************/	display:block; font-weight:500; font-size:90%; padding-bottom: 1em; }
 * 1) siteSub {

/****************************** * Changing the font family ******************************/   font-family: sans-serif; font-size: 0.875em; font-weight:400; } .firstHeading { font-family: sans-serif; }
 * 1) bodyContent {

.mw-body .firstHeading { margin-bottom: .2em; }

.mw-body-content h2 { font-family: sans-serif; font-size: 1.5em; font-weight: bold; line-height: 1.5em; margin-top: 0.25em; margin-bottom: 0.25em; }

.mw-body-content h3 { font-family: sans-serif; font-size: 1.15em; font-weight: bold; line-height: 1.5em; margin-top: 0.25em; margin-bottom: 0.25em; }

.mw-body-content h4 { font-family: sans-serif; font-size: 1.1em; font-weight: bold; line-height: 1.5em; margin-top: 0.25em; margin-bottom: 0.25em; }

p { font-size: 1em; font-weight: 400; letter-spacing: 0; font-family: sans-serif; }

a { font-family: sans-serif; }

li { font-size: 1em; font-weight: 400; }

/****************************** * Font-size in text editor ******************************/	font-size:0.9em; }
 * 1) wpTextbox1 {

/****************************** * Make references smaller ******************************/ ol.references, div.reflist, div.refbegin { font-size: 90%;           /* Default font-size */ margin-bottom: 0.5em; } div.refbegin-100 { font-size: 100%;          /* Option for normal fontsize in  */ } div.reflist ol.references { font-size: 100%;          /* Reset font-size when nested in div.reflist */ list-style-type: inherit; /* Enable custom list style types */ }

/****************************** * Styles for mobile main page ******************************/

@media all and (min-width: 768px) { .lonsdale-mainpage-column { float: left; width: 50%; }	.lonsdale-mainpage-column-first { padding-right: 10px; }	.lonsdale-mainpage-column-second { padding-left: 10px; }	.lonsdale-mainpage-sister-projects { text-align: center; } }

/****************************** * Bullets ******************************/ ul { list-style-type: disc; list-style-image: none; }

.mw-content-ltr ul { margin: 0.2em 1.7em 0.5em; /**padding-left: 0.3em;**/ }

.mw-content-ltr ul ul { margin: 0 0 0 1.1em; }

/*****************************   margin-top:1em; font-size:90%; }
 * Category links
 * 1) catlinks {
 * 1) catlinks {

.catlinks { border: 1px solid #ccc; }

/***************************** .mw-footer-container { padding-top:0; }
 * Anything footer related

/***************************** .clickablecell a { display:block; width:100%; }
 * Clickable table cell

/***************************** .gm-style img { max-width: none; }
 * Fix google maps in responsive skin

/************************************************** * Styling for the timelines and on this day pages *************************************************/ table.timeline, table.timeline tbody { display: block; }

table.timeline tr { position: relative; margin-left: 8px; padding: 5px 20px 5px 12px; display: flex; flex-direction: column; border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

table.timeline tr:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; display: block; width: 1px; background-color: #e0e0e0; /* The vertical line between the bullets*/ }

table.timeline tr td { /*font-size: 1rem;*/ /*font-weight: var( --font-weight-semibold );*/ color: #202122; padding: 0 10px; }

table.timeline tr td:first-child:before { content: ""; width: 8px; height: 8px; display: block; background-color: #72777d; border-radius: 100%; position: absolute; left: -3.5px; margin-top: 8px; }

/*table.timeline tr td { padding: 0; }*/

table.timeline tr + tr { border-top: 0; } */

/************************************************** * Styling for responsive flex boxes *************************************************/ /* * { box-sizing: border-box; } */

.flex-container { display: flex; flex-direction: row; }

.flex-item-1 { /*background-color: ;*/ border:1px solid #f3f2f2; border-radius: 8px; box-shadow: 0 3px 6px #f2f2f2; padding: 10px; margin: 5px; flex: 33.3%; box-sizing: border-box; }

.flex-item-2 { /*background-color: ;*/ border:1px solid #f3f2f2; border-radius: 8px; box-shadow: 0 3px 6px #f2f2f2; padding: 10px; margin: 5px; flex: 33.3%; box-sizing: border-box; }

.flex-item-3 { /*background-color: ;*/ border:1px solid #f3f2f2; border-radius: 8px; box-shadow: 0 3px 6px #f2f2f2; padding: 10px; margin: 5px; flex: 33.3%; box-sizing: border-box; }

/* Responsive layout - makes a one column-layout instead of two-column layout */ @media (max-width: 900px) { .flex-container { flex-direction: column; } }

/********************************************************* * Styling for a responsive image gallery with 4 coloumns *********************************************************/ .row { display: flex; flex-wrap: wrap; padding: 0 5px; }

/* Create four equal columns that sits next to each other */ .column { flex: 25%; max-width: 23%; padding: 0 5px; }

.column img { margin-top: 8px; vertical-align: middle; }

/* Responsive layout - makes a two column-layout instead of four columns */ @media (max-width: 800px) { .column { flex: 50%; max-width: 48%; } }

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ @media (max-width: 600px) { .column { flex: 100%; max-width: 100%; } }