MediaWiki:Common.css: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
 
(93 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 */
#mw-navigation {
@import url('/index.php?title=MediaWiki:BentoGrid.css&action=raw&ctype=text/css');
z-index: 999;
@import url('/index.php?title=MediaWiki:Navbar.css&action=raw&ctype=text/css');
border-bottom: 1px solid #e7e7e7;
@import url('/index.php?title=MediaWiki:Breadcrumb.css&action=raw&ctype=text/css');
background-color: rgba(255, 255, 255, 0.2) !important;
@import url('/index.php?title=MediaWiki:LandingPage.css&action=raw&ctype=text/css');
backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%) !important;
@import url('/index.php?title=MediaWiki:WikiTable.css&action=raw&ctype=text/css');
-webkit-backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);
@import url('/index.php?title=MediaWiki:MotifBadges.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomFiltered.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomDatatable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:InfoBox.css&action=raw&ctype=text/css');
 
@font-face {
    font-family: 'Inter', sans-serif;
    src: url('/images/f/f1/Inter.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}
}


.nav-link {
@font-face {
color: #374151 !important;
    font-family: 'Inter', sans-serif;
    src: url("/images/9/94/Inter-Italic.ttf") format('ttf'),
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}
}


.nav-link:hover {
body {
color: #030712 !important;
    font-family: 'Inter', sans-serif;
}
}


.page-Main_Page .contentHeader {
.smw-datatable {
display: none;
font-family: 'Inter', sans-serif !important;
}
 
@media (max-width: 768px) {
.mw-body.content {
padding: 0 !important;
}
}
 
.grid-container {
    display: block; /* Change from grid to block display */
    padding: 20px; /* Keep the padding */
}
}


.grid-container .wikitable {
    margin-bottom: 20px; /* Add space between tables */
    width: 100%; /* Make tables full width */
}


.card {
.card {
Line 81: Line 109:


#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
max-width: 98% !important;
max-width: 98%;
}
 
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > input,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .select2,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .pf-select2-container,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .oo-ui-comboBoxInputWidget {
width: 100% !important;
}
}


/* Drilldown customization */
/* WIP banner */
.drilldown-btn-wrapper {
.wip-alert {
width: 25%;
    position: fixed;
    display: none;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}
}
.drilldown-results {
 
    -webkit-filter: blur(5px);
/* Version test */
    -moz-filter: blur(5px);
/* Reset default list styling */
    -o-filter: blur(5px);
ul {
    -ms-filter: blur(5px);
  list-style-type: none;
    filter: blur(5px);
  padding: 0;
  margin: 0;
}
}


.drilldown-categories-wrapper {
.maps-map {
display: none;
border-radius: 0.5rem;
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
}
 
.dtfh-floatingparent {
top: 48px !important;
}
 
.alert-info {
background: rgba(64, 112, 255, 0.1) !important;
backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
-webkit-backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
border: none !important;
}
 
.oo-ui-windowManager-modal > .oo-ui-dialog {
z-index: 999 !important;
}
}


.drilldown-filter {
.oo-ui-popupToolGroup-tools.oo-ui-popupToolGroup-active-tools .oo-ui-iconElement-icon {
background-color: #fafafa;
position: static !important;
    border-radius: 2px;
    padding: 5px;
    border-color: #e4e4e7;
    border-width: 1px;
    border-style: solid;
}
}


.drilldown-filter:hover {
.oo-ui-menuSelectWidget {
    background-color: #f4f4f5;  
z-index: 999 !important;
}
}
.drilldown-values-toggle {
 
padding-right: 6px;
#catlinks {
border-radius: 0.75rem;
background-color: white;
padding: 0.5rem 1rem 0.5rem 1rem;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
}


/* WIP banner */
.srf-tagcloud-wordcloud {
.wip-alert {
width: unset !important;
    position: fixed;
    bottom: 0;
a {
    left: 0;
  font-family: "Inter", sans-serif !important;
     transform: translate(-50%, 0);
  font-weight: 500 !important;
    z-index: 999;
  letter-spacing: -1px;
    }
      
a:hover {
text-decoration: underline !important;
}
}
 
.editor-view {
display: none;
}
}

Latest revision as of 11:23, 12 June 2025

/* CSS placed here will be applied to all skins */
@import url('/index.php?title=MediaWiki:BentoGrid.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Navbar.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Breadcrumb.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:LandingPage.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:WikiTable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:MotifBadges.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomFiltered.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomDatatable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:InfoBox.css&action=raw&ctype=text/css');

@font-face {
    font-family: 'Inter', sans-serif;
    src: url('/images/f/f1/Inter.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Inter', sans-serif;
    src: url("/images/9/94/Inter-Italic.ttf") format('ttf'),
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

body {
    font-family: 'Inter', sans-serif;
}

.smw-datatable {
	font-family: 'Inter', sans-serif !important;
}

@media (max-width: 768px) {
	.mw-body.content {
		padding: 0 !important;
	}
}

.grid-container {
    display: block; /* Change from grid to block display */
    padding: 20px; /* Keep the padding */
}

.grid-container .wikitable {
    margin-bottom: 20px; /* Add space between tables */
    width: 100%; /* Make tables full width */
}

.card {
	height: 250px;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	border-radius: 0.75rem;
}

.card:hover {
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card-block {
	display: grid;
	align-content: space-between;
	height: 100%;
}

.primary-btn {
  margin-right: auto;
  margin-left: auto;
  background-color: #222;
  border-radius: 4px;
  border-style: none;
  box-sizing: border-box;
  color: #fff !important;
  cursor: pointer;
  display: inline-block;
  font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: none;
  min-height: 44px;
  min-width: 10px;
  outline: none;
  overflow: hidden;
  padding: 9px 20px 8px;
  position: relative;
  text-align: center;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
}

.primary-btn:hover,
.primary-btn:focus {
	opacity: .75;
}

.smw-datatable select {
	background: #fff;
}

.smw-datatable th a {
	color: black;
}

#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
	max-width: 98%;
}

#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > input,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .select2,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .pf-select2-container,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .oo-ui-comboBoxInputWidget {
	width: 100% !important;
}

/* WIP banner */
.wip-alert {
    position: fixed;
    display: none;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}

/* Version test */
/* Reset default list styling */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.maps-map {
	border-radius: 0.5rem;
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
}

.dtfh-floatingparent {
	top: 48px !important;
}

.alert-info {
	background: rgba(64, 112, 255, 0.1) !important;
	backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
	-webkit-backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
	border: none !important;
}

.oo-ui-windowManager-modal > .oo-ui-dialog {
	z-index: 999 !important;
}

.oo-ui-popupToolGroup-tools.oo-ui-popupToolGroup-active-tools .oo-ui-iconElement-icon {
	position: static !important;
}

.oo-ui-menuSelectWidget {
	z-index: 999 !important;
}

#catlinks {
	border-radius: 0.75rem;
	background-color: white;
	padding: 0.5rem 1rem 0.5rem 1rem;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.srf-tagcloud-wordcloud {
	width: unset !important;
	
	a {
	  font-family: "Inter", sans-serif !important;
	  font-weight: 500 !important;
	  letter-spacing: -1px;
    }
    
	a:hover {
		text-decoration: underline !important;
	}
}

.editor-view {
	display: none;
}