MediaWiki:Common.css: Difference between revisions
| IssuePress (talk | contribs) No edit summary | IssuePress (talk | contribs)  No edit summary | ||
| (108 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| /* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| . | |||
| @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:[email protected]&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Roboto+Mono&display=swap'); | |||
| @import "/w/extensions/FontAwesome/res/fontawesome/css/all.min.css"; | |||
| html, body { | |||
| 	font-family: "Roboto", sans-serif; | |||
| 	font-style: normal; | |||
| } | |||
| .mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-page-title-main, .box .box-header { | |||
|   font-family: "Roboto Slab", serif; | |||
|   font-optical-sizing: auto; | |||
|   font-weight: 500; | |||
|   font-style: normal; | |||
| } | |||
| .mw-body-content img { | |||
|     max-width: 100%; | |||
|     height: auto; | |||
|     width: auto;  | |||
|     display: block; | |||
| } | |||
| .code { | |||
| 	font-family: "Roboto Mono", monospace; | |||
| 	font-optical-sizing: chauto; | |||
| 	font-weight: 400; | |||
| 	font-style: normal; | |||
| } | |||
| .grid { | |||
|   display: grid; | |||
|   gap: 1rem; | |||
| } | |||
| .grid.home-page-grid { | |||
| 	column-gap:1rem; | |||
| 	row-gap: 0; | |||
| } | |||
| .grid-cols-2 { | |||
|   grid-template-columns: repeat(2, 1fr); | |||
| } | |||
| .grid-cols-3 { | |||
|   grid-template-columns: repeat(3, 1fr); | |||
| } | |||
| .grid-cols-4 { | |||
|   grid-template-columns: repeat(4, 1fr); | |||
| } | |||
| .text-lg { | |||
| 	font-size:1.125rem;  | |||
| } | |||
| .text-xl { | |||
| 	font-size:1.25rem;  | |||
| } | |||
| .box { | |||
| 	display: flex; | |||
| 	flex-direction: column; | |||
| 	background-color: #f8f9fa; | |||
| 	padding: 1.5rem 1.5rem;  | |||
| 	border-radius:.75rem; | |||
| 	border:1px solid; | |||
| 	border-color:  #F1F3F5; | |||
| 	margin:.5rem 0; | |||
| } | |||
| .box > p:only-child { | |||
|   margin: 0; | |||
| } | |||
| .box > p:first-child { | |||
|   margin-top: 0; | |||
| } | |||
| .box > b:last-child { | |||
|   margin-bottom: 0; | |||
| } | |||
| .box .box-header { | |||
| 	font-size: 1.5rem; | |||
| 	font-weight: bold; | |||
| 	line-height: 1; | |||
| } | |||
| .box .box-header a { color: #000000;} | |||
| .box .box-header .icon { | |||
| 	margin-right: .125rem; | |||
| } | |||
| .box .box-footer { | |||
| 	margin-top: auto; | |||
| 	display: flex; | |||
| 	flex-direction: row; | |||
| 	flex-wrap: wrap; | |||
| 	gap: .5rem; | |||
| 	padding-top: 1rem; | |||
| } | |||
| .box a .icon, | |||
| .box .icon { | |||
| 	color: #5C6266; | |||
| } | |||
| .box.blue { | |||
| 	background-color: #f2f8fc ; | |||
| 	border-color: #E6F2F9; | |||
| } | |||
| .box.blue a .icon, | |||
| .box.blue .icon { | |||
| 	color: #0078BF; | |||
| } | |||
| .box.kelly-green { | |||
| 	background-color: #f7fbf6; | |||
| 	border-color: #F0F7EC; | |||
| } | |||
| .box.kelly-green a .icon, | |||
| .box.kelly-green .icon { | |||
| 	color: #67B346; | |||
| } | |||
| .box.light-teal { | |||
| 	background-color: #f2fafa; | |||
| 	border-color: #E6F5F6; | |||
| } | |||
| .box.light-teal a .icon, | |||
| .box.light-teal .icon { | |||
| 	color: #009DA5; | |||
| } | |||
| .box.orchid { | |||
| 	background-color: #fcf8fd; | |||
| 	border-color: #F8F1FA; | |||
| } | |||
| .box.orchid a .icon, | |||
| .box.orchid .icon { | |||
| 	color: #BB76CF; | |||
| } | |||
| .box.red { | |||
| 	background-color: #fff7f7; | |||
| 	border-color: #FFF0EF; | |||
| } | |||
| .box.red a .icon, | |||
| .box.red .icon { | |||
| 	color: #FF665E; | |||
| } | |||
| .box.sunflower { | |||
| 	background-color: #fffbf3; | |||
| 	border-color:#FFF8E7;  | |||
| } | |||
| .box.sunflower a .icon, | |||
| .box.sunflower .icon { | |||
| 	color: #FFB511; | |||
| } | |||
| .leaflet-container { | |||
| 	aspect-ratio: 16/9; | |||
| 	border: 1px solid F1F3F5; | |||
| 	border-radius:1rem; | |||
| 	height: 100% !important; | |||
| 	min-height: 200px; | |||
| 	margin-bottom: .5rem; | |||
| } | |||
| .infobox { | |||
| 	font-size: .875rem; | 	font-size: .875rem; | ||
|      background: #f8f9fa; |      background: #f8f9fa; | ||
|      padding: 1.375rem 1rem; |      padding: 1.375rem 1rem; | ||
|     margin-bottom: 1.5rem; | |||
| 	width: 100%; | 	width: 100%; | ||
|      border-radius: 1rem; |      border-radius: 1rem; | ||
|     border: 1px solid #F1F3F5; | |||
|     max-width: 342px; | |||
| } | } | ||
| Line 15: | Line 194: | ||
| .infobox .leaflet-container { | .infobox .leaflet-container { | ||
| 	aspect-ratio: 7/5; | 	aspect-ratio: 7/5; | ||
| 	border-radius:. | 	border: 1px solid F1F3F5; | ||
| 	border-radius:.375rem; | |||
| 	height: 100% !important; | 	height: 100% !important; | ||
| 	min-height: 200px; | 	min-height: 200px; | ||
| 	margin-bottom: .5rem; | |||
| } | } | ||
| Line 35: | Line 216: | ||
| } | } | ||
| th.infobox-title { | .infobox tr th { | ||
| 	min-width: 80px; | |||
| } | |||
| .infobox th.infobox-title { | |||
|      font-size: 1rem; |      font-size: 1rem; | ||
|      font-weight: bold; |      font-weight: bold; | ||
| Line 52: | Line 237: | ||
| 	font-weight: 600; | 	font-weight: 600; | ||
| 	text-align: center; | 	text-align: center; | ||
| } | |||
| .button { | |||
|     position: relative; | |||
|     background-color: #5C6266; | |||
|     padding: 0.25rem 1.5rem; | |||
|     border-radius: 1rem; | |||
|     color: #FFF;	 | |||
|     text-decoration: none; | |||
|     display: inline-flex; | |||
|     font-size: .875rem; | |||
|     font-weight: 500; | |||
|     letter-spacing:.05rem; | |||
|     align-items: center; | |||
|     justify-content: center; /* Add for better alignment in the button */ | |||
|     box-sizing: border-box; | |||
|     height: 32px; | |||
|     overflow: hidden; /* Ensures the ::before pseudo-element doesn't exceed boundaries */ | |||
|     cursor: pointer; /* Ensures it looks clickable */ | |||
|     transition: background-color 0.3s ease; /* Smooth hover transitions */ | |||
| } | |||
| .button::before { | |||
|     content: ""; /* Required for pseudo-elements to display */ | |||
|     background-color: currentColor; /* Matches text color */ | |||
|     position: absolute; | |||
|     top: 0; | |||
|     bottom: 0; | |||
|     left: 0; | |||
|     right: 0; | |||
|     opacity: 0; | |||
|     transition: opacity 0.3s ease; /* Smooth opacity transition */ | |||
| } | |||
| .button:hover::before { | |||
|     opacity: 0.2; /* Soft hover effect */ | |||
| } | |||
| .button.black { | |||
| 	background-color: #000000; | |||
| } | |||
| .button.black.outline { | |||
| 	background-color: #F8F9FA; | |||
|     border: 1px solid currentColor;  | |||
|     color: #000000; | |||
| } | |||
| .button.blue { | |||
| 	background-color: #0078BF; | |||
| } | |||
| .button.blue.outline { | |||
| 	background-color: #E6F2F9; | |||
|     border: 1px solid currentColor;  | |||
|     color: #0078BF; | |||
| } | |||
| .button.kelly-green { | |||
| 	background-color: #67B346; | |||
| } | |||
| .button.kelly-green.outline { | |||
| 	background-color: #F0F7EC; | |||
| 	border: 1px solid currentColor;  | |||
|     color: #67B346; | |||
| } | |||
| .button.light-teal { | |||
| 	background-color: #009DA5; | |||
| } | |||
| .button.light-teal.outline { | |||
| 	background-color: #E6F5F6; | |||
| 	border: 1px solid currentColor;  | |||
|     color: #009DA5; | |||
| } | |||
| .button.orchid { | |||
| 	background-color: #BB76CF; | |||
| } | |||
| .button.orchid.outline { | |||
| 	background-color: #F8F1FA; | |||
| 	border: 1px solid currentColor;  | |||
|     color: #BB76CF; | |||
| } | |||
| .button.red { | |||
| 	background-color: #FF665E; | |||
| } | |||
| .button.red.outline { | |||
| 	background-color: #FFF0EF; | |||
| 	border: 1px solid currentColor;  | |||
|     color: #FF665E; | |||
| } | |||
| .button.sunflower { | |||
| 	background-color: #FFB511; | |||
| } | |||
| .button.sunflower.outline { | |||
| 	background-color: #FFF8E7; | |||
| 	border: 1px solid currentColor;  | |||
|     color: #FFB511; | |||
| } | |||
| .button.disabled { | |||
| 	background-color: #B9C3CD; | |||
| 	cursor: not-allowed; | |||
| } | |||
| .button.disabled.outline { | |||
| 	background-color: #F1F3F5; | |||
|     border: 1px solid currentColor;  | |||
|     color: #B9C3CD; | |||
| } | } | ||
| Line 57: | Line 357: | ||
| .rootpage-Main_Page .vector-page-toolbar { | .rootpage-Main_Page .vector-page-toolbar { | ||
|    display: none; |    display: none; | ||
| } | |||
| .catlinks, | |||
| .chip-container { | |||
| 	font-size: .875rem; | |||
|     background: #f8f9fa; | |||
|     padding: 1.5rem; | |||
|     border-radius: 1rem; | |||
|     overflow: hidden; | |||
|     margin: 1rem 0; | |||
|     border: 1px solid #F1F3F5; | |||
| } | } | ||
| .chip-container h2 { | .chip-container h2 { | ||
| 	font-family:  | 	font-family: "Roboto" !important; | ||
| 	margin: 0 0  | 	font-size: 1rem; | ||
| 	font-weight: bold; | |||
| 	line-height: 1; | |||
| 	margin: 0 0 .75rem 0; | |||
| 	padding-top: 0; | 	padding-top: 0; | ||
| 	border-bottom: unset; | 	border-bottom: unset; | ||
| } | |||
| .chip-container .icon { | |||
| 	margin-right: .125rem; | |||
| } | } | ||
| Line 70: | Line 388: | ||
| 	gap: 0.5rem; | 	gap: 0.5rem; | ||
| 	flex-wrap: wrap; | 	flex-wrap: wrap; | ||
| } | |||
| .chip-container .chip-container-footer { | |||
| 	font-size: .875rem; | |||
| 	margin-top: 1rem; | |||
| } | } | ||
| Line 87: | Line 410: | ||
| 	border: 1px solid #F1F3F5; | 	border: 1px solid #F1F3F5; | ||
| 	height: 32px; | 	height: 32px; | ||
| 	overflow: hidden; | |||
| } | |||
| p .chip { | |||
| 	font-size: .875rem; | |||
| 	padding:.125rem .375rem; | |||
| 	height: 24px; | |||
| } | |||
| a .chip::before { | |||
|     content: ""; /* Required for pseudo-elements to display */ | |||
|     background-color: currentColor; /* Matches text color */ | |||
|     position: absolute; | |||
|     top: 0; | |||
|     bottom: 0; | |||
|     left: 0; | |||
|     right: 0; | |||
|     opacity: 0; | |||
|     transition: opacity 0.3s ease; /* Smooth opacity transition */ | |||
| } | |||
| a .chip:hover::before { | |||
|     opacity: 0.2; /* Soft hover effect */ | |||
| } | } | ||
| Line 107: | Line 453: | ||
| } | } | ||
| .text-white, | |||
| .text-white a { | |||
| 	color: white; | 	color: white; | ||
| } | } | ||
| . | .text-black, | ||
| .text-black a { | |||
| 	color: black; | 	color: black; | ||
| } | |||
| .city-list { | |||
| 	width: 100%; | |||
| } | |||
| .atlas-breadcrumb { | |||
| 	display:block;  | |||
| 	font-size: .875rem; | |||
|     max-width:90%; | |||
| 	padding-bottom: .5rem; | |||
| } | } | ||
| @media screen { | @media screen { | ||
| 	#mw-indicator-smw-entity-examiner { | |||
| 	  max-height: 10px; | |||
| 	} | |||
|    .vector-body { |    .vector-body { | ||
|      font-size: 1rem; |      font-size: 1rem; | ||
| Line 122: | Line 485: | ||
|      line-height: 1.6; |      line-height: 1.6; | ||
|    } |    } | ||
|   .infobox code, | |||
|   .color-metadata code { | |||
|   	background-color: #ffffff; | |||
|   } | |||
|  .wikitable { | |||
| 	border-collapse: separate; | |||
|     border-spacing: 0; | |||
|    	border-radius: 1rem; | |||
|    	overflow: hidden; | |||
|    	border: .5px solid #F1F3F5; | |||
|  } | |||
|    .wikitable > tr > th, .wikitable > * > tr > th { | |||
| 		background-color: #f4f6f7; | |||
|    } | |||
|    .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | |||
|     	border: .5px solid #F1F3F5; | |||
|     	padding: .5rem 1rem; | |||
| 	} | |||
| 	.wikitable > tr, .wikitable > * > tr { | |||
| 		background-color: #ffffff; | |||
| 	} | |||
| 	.wikitable tr.row-even { | |||
| 		background-color: #f8f9fa; | |||
| 	} | |||
| 	.wikitable tr:first-child td { border-top-style: solid; } | |||
| 	.wikitable tr td:first-child { border-left-style: solid; } | |||
| 	.wikitable tr:last-child td:first-child { | |||
| 	    border-bottom-left-radius: 1rem; | |||
| 	    overflow:hidden; | |||
| 	} | |||
| 	.wikitable tr:last-child td:last-child { | |||
| 		border-bottom-right-radius: 1rem; | |||
| 	    overflow:hidden; | |||
| 	} | |||
| 	#mw-subcategories h3 { display: none; } | |||
| 	#vector-main-menu { | |||
| 		display: flex; | |||
| 		flex-direction: column; | |||
| 		background-color: #f8f9fa; | |||
| 		border-radius:.75rem; | |||
| 		border:1px solid; | |||
| 		border-color:  #F1F3F5;	 | |||
| 	} | |||
| 	.vector-feature-zebra-design-disabled .vector-dropdown .vector-dropdown-content { | |||
| 	    border: none;  | |||
| 	    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); | |||
| 	    padding: 0; | |||
| 	    background-color: #f8f9fa; | |||
| 	    max-width: 250px; | |||
| 	    overflow: initial; | |||
| 	    border-radius: .5rem; | |||
|     	border-color: #F1F3F5; | |||
| 	} | |||
| 	.vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu { | |||
| 	    margin-left: -1.5rem; | |||
| 	    padding: 1.5rem; | |||
| 	} | |||
| 	.vector-menu-content-list li a::before { | |||
| 	    font-family: "Font Awesome 6 Free"; | |||
| 	    font-size: .875em; | |||
| 	    font-weight: 900; | |||
| 	    width: .875rem; | |||
| 	    height: .75rem; | |||
| 	    margin-right: .5rem; | |||
| 	    display: flex; | |||
| 	    justify-content: center; | |||
| 	} | |||
| 	.vector-menu-content-list li a:hover::before { | |||
| 		text-decoration: none; | |||
| 	} | |||
| 	.vector-menu-content-list #n-mainpage-description a::before { | |||
| 	    content: "\f015"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Atlas-of-Modern-Risography a::before { | |||
| 	    content: "\f279"; | |||
| 	    font-weight: 900; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Events a::before { | |||
| 	    content: "\f073"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Inks a::before { | |||
| 	    content: "\f5c3"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Resources a::before { | |||
| 	    content: "\f02d"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Equipment a::before { | |||
| 	    content: "\f7d9"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-recentchanges a::before { | |||
| 	    content: "\e2ca"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-randompage a::before { | |||
| 	    content: "\f522"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-Upload-a-file a::before { | |||
| 	    content: "\f574"; | |||
| 	} | |||
| 	.vector-menu-content-list #n-help-mediawiki a::before { | |||
| 	    content: "\f059"; | |||
| 	} | |||
| } | } | ||
| @media (min-width: | @media (min-width:640px) { | ||
| 	.infobox { | 	.infobox { | ||
| 		margin: 0 0  | 		margin: 0 0 1.5rem 1.5rem; | ||
| 		max-width: 350px; | 		max-width: 350px; | ||
|      	width: auto; |      	width: auto; | ||
| 	} | 	} | ||
| 	.active-places-city-list { | |||
| 		-webkit-column-count: 2;  | |||
| 		-moz-column-count: 2;  | |||
| 		column-count: 2; | |||
| 	} | |||
| } | |||
| @media (min-width: 768px) {  | |||
| 	.grid.home-page-grid { | |||
| 		grid-template-columns: repeat(2, 1fr); | |||
| 	}	 | |||
| } | |||
| @media (min-width: 1024px) {  | |||
| 	.grid.home-page-grid { | |||
| 		grid-template-columns: repeat(3, 1fr); | |||
| 	} | |||
| 	.vector-feature-page-tools-pinned-enabled.vector-feature-main-menu-pinned-enabled .grid.home-page-grid { | |||
| 		grid-template-columns: repeat(2, 1fr); | |||
| 	} | |||
| 	.active-places-city-list { | |||
| 		-webkit-column-count: 3;  | |||
| 		-moz-column-count: 3;  | |||
| 		column-count: 3; | |||
| 	} | |||
| } | |||
| @media (min-width: 1280px) {  | |||
| 	.vector-feature-page-tools-pinned-enabled.vector-feature-main-menu-pinned-enabled .grid.home-page-grid { | |||
| 		grid-template-columns: repeat(3, 1fr); | |||
| 	} | |||
| } | |||
| .vector-main-menu-action-opt-out { | |||
| 	display: none !important; | |||
| } | } | ||
Latest revision as of 13:21, 15 January 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:[email protected]&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Roboto+Mono&display=swap');
@import "/w/extensions/FontAwesome/res/fontawesome/css/all.min.css";
html, body {
	font-family: "Roboto", sans-serif;
	font-style: normal;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-page-title-main, .box .box-header {
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.mw-body-content img {
    max-width: 100%;
    height: auto;
    width: auto; 
    display: block;
}
.code {
	font-family: "Roboto Mono", monospace;
	font-optical-sizing: chauto;
	font-weight: 400;
	font-style: normal;
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid.home-page-grid {
	column-gap:1rem;
	row-gap: 0;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.text-lg {
	font-size:1.125rem; 
}
.text-xl {
	font-size:1.25rem; 
}
.box {
	display: flex;
	flex-direction: column;
	background-color: #f8f9fa;
	padding: 1.5rem 1.5rem; 
	border-radius:.75rem;
	border:1px solid;
	border-color:  #F1F3F5;
	margin:.5rem 0;
}
.box > p:only-child {
  margin: 0;
}
.box > p:first-child {
  margin-top: 0;
}
.box > b:last-child {
  margin-bottom: 0;
}
.box .box-header {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1;
}
.box .box-header a { color: #000000;}
.box .box-header .icon {
	margin-right: .125rem;
}
.box .box-footer {
	margin-top: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5rem;
	padding-top: 1rem;
}
.box a .icon,
.box .icon {
	color: #5C6266;
}
.box.blue {
	background-color: #f2f8fc ;
	border-color: #E6F2F9;
}
.box.blue a .icon,
.box.blue .icon {
	color: #0078BF;
}
.box.kelly-green {
	background-color: #f7fbf6;
	border-color: #F0F7EC;
}
.box.kelly-green a .icon,
.box.kelly-green .icon {
	color: #67B346;
}
.box.light-teal {
	background-color: #f2fafa;
	border-color: #E6F5F6;
}
.box.light-teal a .icon,
.box.light-teal .icon {
	color: #009DA5;
}
.box.orchid {
	background-color: #fcf8fd;
	border-color: #F8F1FA;
}
.box.orchid a .icon,
.box.orchid .icon {
	color: #BB76CF;
}
.box.red {
	background-color: #fff7f7;
	border-color: #FFF0EF;
}
.box.red a .icon,
.box.red .icon {
	color: #FF665E;
}
.box.sunflower {
	background-color: #fffbf3;
	border-color:#FFF8E7; 
}
.box.sunflower a .icon,
.box.sunflower .icon {
	color: #FFB511;
}
.leaflet-container {
	aspect-ratio: 16/9;
	border: 1px solid F1F3F5;
	border-radius:1rem;
	height: 100% !important;
	min-height: 200px;
	margin-bottom: .5rem;
}
.infobox {
	font-size: .875rem;
    background: #f8f9fa;
    padding: 1.375rem 1rem;
    margin-bottom: 1.5rem;
	width: 100%;
    border-radius: 1rem;
    border: 1px solid #F1F3F5;
    max-width: 342px;
}
.infobox-image {
    text-align: center;
}
.infobox .leaflet-container {
	aspect-ratio: 7/5;
	border: 1px solid F1F3F5;
	border-radius:.375rem;
	height: 100% !important;
	min-height: 200px;
	margin-bottom: .5rem;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    padding: .125rem .5rem;
}
.infobox td {
    vertical-align: top;
    padding: .125rem .5rem;
}
.infobox p {
	margin: 0;
}
.infobox tr th {
	min-width: 80px;
}
.infobox 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;
}
.button {
    position: relative;
    background-color: #5C6266;
    padding: 0.25rem 1.5rem;
    border-radius: 1rem;
    color: #FFF;	
    text-decoration: none;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing:.05rem;
    align-items: center;
    justify-content: center; /* Add for better alignment in the button */
    box-sizing: border-box;
    height: 32px;
    overflow: hidden; /* Ensures the ::before pseudo-element doesn't exceed boundaries */
    cursor: pointer; /* Ensures it looks clickable */
    transition: background-color 0.3s ease; /* Smooth hover transitions */
}
.button::before {
    content: ""; /* Required for pseudo-elements to display */
    background-color: currentColor; /* Matches text color */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth opacity transition */
}
.button:hover::before {
    opacity: 0.2; /* Soft hover effect */
}
.button.black {
	background-color: #000000;
}
.button.black.outline {
	background-color: #F8F9FA;
    border: 1px solid currentColor; 
    color: #000000;
}
.button.blue {
	background-color: #0078BF;
}
.button.blue.outline {
	background-color: #E6F2F9;
    border: 1px solid currentColor; 
    color: #0078BF;
}
.button.kelly-green {
	background-color: #67B346;
}
.button.kelly-green.outline {
	background-color: #F0F7EC;
	border: 1px solid currentColor; 
    color: #67B346;
}
.button.light-teal {
	background-color: #009DA5;
}
.button.light-teal.outline {
	background-color: #E6F5F6;
	border: 1px solid currentColor; 
    color: #009DA5;
}
.button.orchid {
	background-color: #BB76CF;
}
.button.orchid.outline {
	background-color: #F8F1FA;
	border: 1px solid currentColor; 
    color: #BB76CF;
}
.button.red {
	background-color: #FF665E;
}
.button.red.outline {
	background-color: #FFF0EF;
	border: 1px solid currentColor; 
    color: #FF665E;
}
.button.sunflower {
	background-color: #FFB511;
}
.button.sunflower.outline {
	background-color: #FFF8E7;
	border: 1px solid currentColor; 
    color: #FFB511;
}
.button.disabled {
	background-color: #B9C3CD;
	cursor: not-allowed;
}
.button.disabled.outline {
	background-color: #F1F3F5;
    border: 1px solid currentColor; 
    color: #B9C3CD;
}
.rootpage-Main_Page .mw-body-header,
.rootpage-Main_Page .vector-page-toolbar {
  display: none;
}
.catlinks,
.chip-container {
	font-size: .875rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    margin: 1rem 0;
    border: 1px solid #F1F3F5;
}
.chip-container h2 {
	font-family: "Roboto" !important;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1;
	margin: 0 0 .75rem 0;
	padding-top: 0;
	border-bottom: unset;
}
.chip-container .icon {
	margin-right: .125rem;
}
.chip-container .chips {
	display:flex; 
	gap: 0.5rem;
	flex-wrap: wrap;
}
.chip-container .chip-container-footer {
	font-size: .875rem;
	margin-top: 1rem;
}
.chip {
	color: black;
	background-color: white;
	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 .625rem;
	border: 1px solid #F1F3F5;
	height: 32px;
	overflow: hidden;
}
p .chip {
	font-size: .875rem;
	padding:.125rem .375rem;
	height: 24px;
}
a .chip::before {
    content: ""; /* Required for pseudo-elements to display */
    background-color: currentColor; /* Matches text color */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth opacity transition */
}
a .chip:hover::before {
    opacity: 0.2; /* Soft hover effect */
}
.chip a, .chip span {
	display: inline-flex;
	line-height: 1 !important;
	padding: 0 .125rem;
}
.chip a {
  position: relative;
  bottom: -0.02em;
}
.chip span[typeof="mw:File"],
.chip span[typeof="mw:File"] a {
	height: 100%;
	bottom: 0;
	align-items: center;
}
.text-white,
.text-white a {
	color: white;
}
.text-black,
.text-black a {
	color: black;
}
.city-list {
	width: 100%;
}
.atlas-breadcrumb {
	display:block; 
	font-size: .875rem;
    max-width:90%;
	padding-bottom: .5rem;
}
@media screen {
	
	#mw-indicator-smw-entity-examiner {
	  max-height: 10px;
	}
	
  .vector-body {
    font-size: 1rem;
    font-size: calc(1em * 1);
    line-height: 1.6;
  }
  
  .infobox code,
  .color-metadata code {
  	background-color: #ffffff;
  }
  
 .wikitable {
	border-collapse: separate;
    border-spacing: 0;
   	border-radius: 1rem;
   	overflow: hidden;
   	border: .5px solid #F1F3F5;
 }
 
   .wikitable > tr > th, .wikitable > * > tr > th {
		background-color: #f4f6f7;
   }
  
   .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    	border: .5px solid #F1F3F5;
    	padding: .5rem 1rem;
	}
	.wikitable > tr, .wikitable > * > tr {
		background-color: #ffffff;
	}
	.wikitable tr.row-even {
		background-color: #f8f9fa;
	}
	
	.wikitable tr:first-child td { border-top-style: solid; }
	.wikitable tr td:first-child { border-left-style: solid; }
	
	.wikitable tr:last-child td:first-child {
	    border-bottom-left-radius: 1rem;
	    overflow:hidden;
	}
	.wikitable tr:last-child td:last-child {
		border-bottom-right-radius: 1rem;
	    overflow:hidden;
	}
	#mw-subcategories h3 { display: none; }
	
	
	#vector-main-menu {
		display: flex;
		flex-direction: column;
		background-color: #f8f9fa;
		border-radius:.75rem;
		border:1px solid;
		border-color:  #F1F3F5;	
	}
	
	.vector-feature-zebra-design-disabled .vector-dropdown .vector-dropdown-content {
	    border: none; 
	    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	    padding: 0;
	    background-color: #f8f9fa;
	    max-width: 250px;
	    overflow: initial;
	    border-radius: .5rem;
    	border-color: #F1F3F5;
	}
	
	.vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu {
	    margin-left: -1.5rem;
	    padding: 1.5rem;
	}
	.vector-menu-content-list li a::before {
	    font-family: "Font Awesome 6 Free";
	    font-size: .875em;
	    font-weight: 900;
	    width: .875rem;
	    height: .75rem;
	    margin-right: .5rem;
	    display: flex;
	    justify-content: center;
	}
	
	.vector-menu-content-list li a:hover::before {
		text-decoration: none;
	}
	
	.vector-menu-content-list #n-mainpage-description a::before {
	    content: "\f015";
	}
	
	.vector-menu-content-list #n-Atlas-of-Modern-Risography a::before {
	    content: "\f279";
	    font-weight: 900;
	}
	
	.vector-menu-content-list #n-Events a::before {
	    content: "\f073";
	}
	
	.vector-menu-content-list #n-Inks a::before {
	    content: "\f5c3";
	}
	
	.vector-menu-content-list #n-Resources a::before {
	    content: "\f02d";
	}
	
	.vector-menu-content-list #n-Equipment a::before {
	    content: "\f7d9";
	}
	
	.vector-menu-content-list #n-recentchanges a::before {
	    content: "\e2ca";
	}
	
	.vector-menu-content-list #n-randompage a::before {
	    content: "\f522";
	}
	
	.vector-menu-content-list #n-Upload-a-file a::before {
	    content: "\f574";
	}
	
	.vector-menu-content-list #n-help-mediawiki a::before {
	    content: "\f059";
	}
}
@media (min-width:640px) {
	.infobox {
		margin: 0 0 1.5rem 1.5rem;
		max-width: 350px;
    	width: auto;
	}
	.active-places-city-list {
		-webkit-column-count: 2; 
		-moz-column-count: 2; 
		column-count: 2;
	}
}
@media (min-width: 768px) { 
	.grid.home-page-grid {
		grid-template-columns: repeat(2, 1fr);
	}	
}
@media (min-width: 1024px) { 
	.grid.home-page-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.vector-feature-page-tools-pinned-enabled.vector-feature-main-menu-pinned-enabled .grid.home-page-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.active-places-city-list {
		-webkit-column-count: 3; 
		-moz-column-count: 3; 
		column-count: 3;
	}
}
@media (min-width: 1280px) { 
	.vector-feature-page-tools-pinned-enabled.vector-feature-main-menu-pinned-enabled .grid.home-page-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.vector-main-menu-action-opt-out {
	display: none !important;
}