MediaWiki:Common.css

From stencil.wiki
Revision as of 14:56, 6 December 2024 by IssuePress (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.infobox {
	font-size: .875rem;
    background: #f8f9fa;
    float: right;
    padding: 1.375rem 1rem;
	width: 100%;
    border-radius: 1rem;
}

.infobox-image {
    text-align: center;
}

.infobox .leaflet-container {
	aspect-ratio: 7/5;
	border-radius:.25rem ;
	height: 100% !important;
	min-height: 200px;
}

.infobox th {
    text-align: left;
    vertical-align: top;
    padding: .125rem .5rem;
}

.infobox td {
    vertical-align: top;
    padding: .125rem .5rem;
}

.infobox p {
	margin: 0;
}

th.infobox-title {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.infobox .infobox-header {
	font-size: .875rem;
	font-weight: bold;
	text-align: center;
	padding-top:.5rem;
}

.infobox .infobox-subheader {
	font-size: .75rem;
	font-weight: 600;
	text-align: center;
}

.rootpage-Main_Page .mw-body-header,
.rootpage-Main_Page .vector-page-toolbar {
  display: none;
}
.chip {
	color: black;
	display: inline-flex;
	font-size: 1rem; 
	font-weight: 500;
	line-height: 1 !important;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	border-radius: .375rem; 
	box-sizing: border-box;
	padding:.25rem .75rem;
	border: 1px solid #F1F3F5;
	height: 32px;
	grid-gap: .375rem; 
}

.chip a, .chip span {
	display: inline-flex;
	line-height: 1 !important;
}

.chip a {
  position: relative;
  bottom: -0.02rem;
}


.chip.text-white a {
	color: white;
}

.chip.text-black a {
	color: black;
}

@media screen {
  .vector-body {
    font-size: 1rem;
    font-size: calc(1em * 1);
    line-height: 1.6;
  }
}

@media (min-width:641px) {
	.infobox {
		margin: 0 0 1rem 1rem;
		max-width: 350px;
    	width: auto;
	}
}