Difference between revisions of "MediaWiki:Liberty.css"

From Arks-Visiphone
Jump to navigation Jump to search
(Remove shrink-card width)
 
(19 intermediate revisions by one other user not shown)
Line 33: Line 33:
 
}
 
}
  
[data-theme="dark"] .mw-datatable td {
+
.unit-set {
background-color: transparent!important;
+
border-collapse: collapse;
 +
border-spacing: 0;
 +
background-color: #2b333b;
 +
color: white;
 +
border-radius: 20px;
 +
}
 +
 
 +
table.unit-set > tbody > tr > td {
 +
    padding-right: 15px;
 +
    padding-bottom: 15px;
 +
    padding-left: 15px;
 +
    padding-top: 15px;
 +
}
 +
 
 +
.unit-mx-auto {
 +
margin-right: auto !important;
 +
margin-left: auto !important;
 +
}
 +
 
 +
.thumb {
 +
page-break-inside: avoid
 +
}
 +
 
 +
div.thumb {
 +
background-color: transparent;
 +
width: auto
 +
}
 +
div.thumb a {
 +
border-bottom: 0
 +
}
 +
div.thumbinner {
 +
background-color: #fff;
 +
border: 0;
 +
border-radius: 2px;
 +
padding: 5px;
 +
font-size: 10pt;
 +
color: #666;
 +
text-align: center;
 +
overflow: hidden;
 +
min-width: 100px
 +
}
 +
html .thumbcaption {
 +
text-align: left;
 +
line-height: 1.4;
 +
padding: 3px
 +
}
 +
img.thumbborder {
 +
border: 1pt solid #ddd
 +
}
 +
 
 +
.mw-content-ltr .thumbcaption {
 +
text-align: left
 +
}
 +
.mw-content-ltr .magnify {
 +
float: right
 +
}
 +
.mw-content-rtl .thumbcaption {
 +
text-align: right
 +
}
 +
.mw-content-rtl .magnify {
 +
float: left
 +
}
 +
 
 +
div.thumb {
 +
margin-bottom: 0.5em;
 +
width: auto;
 +
background-color: transparent
 +
}
 +
div.thumbinner {
 +
border: 1px solid #c8ccd1;
 +
padding: 3px;
 +
background-color: #f8f9fa;
 +
font-size: 94%;
 +
text-align: center;
 +
overflow: hidden
 +
}
 +
html .thumbimage {
 +
background-color: #fff;
 +
border: 1px solid #c8ccd1
 +
}
 +
html .thumbcaption {
 +
border: 0;
 +
line-height: 1.4em;
 +
padding: 3px;
 +
font-size: 94%;
 +
text-align: left
 +
}
 +
div.magnify {
 +
display: none;
 +
}
 +
img.thumbborder {
 +
border: 1px solid #eaecf0
 +
}
 +
.mw-content-ltr .thumbcaption {
 +
text-align: left
 +
}
 +
.mw-content-ltr .magnify {
 +
float: right;
 +
margin-left: 3px;
 +
margin-right: 0
 +
}
 +
.mw-content-ltr div.magnify a {
 +
background-image: url(/resources/src/mediawiki.skinning/images/magnify-clip-ltr.png?4f704);
 +
background-image: linear-gradient( transparent, transparent), url("data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22%3F%3E%0A%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 11 15%22 width=%2215%22 height=%2211%22%3E%0A %3Cg id=%22magnify-clip%22 fill=%22%23fff%22 stroke=%22%23000%22%3E%0A %3Cpath id=%22bigbox%22 d=%22M1.509 1.865h10.99v7.919h-10.99z%22/%3E%0A %3Cpath id=%22smallbox%22 d=%22M-1.499 6.868h5.943v4.904h-5.943z%22/%3E%0A %3C/g%3E%0A%3C/svg%3E%0A")
 +
}
 +
.mw-content-rtl .thumbcaption {
 +
text-align: right
 +
}
 +
.mw-content-rtl .magnify {
 +
float: left;
 +
margin-left: 0;
 +
margin-right: 3px
 +
}
 +
.mw-content-rtl div.magnify a {
 +
background-image: url(/resources/src/mediawiki.skinning/images/magnify-clip-rtl.png?a9fb3);
 +
background-image: linear-gradient( transparent, transparent), url("data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22%3F%3E%0A%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 11 15%22 width=%2215%22 height=%2211%22%3E%0A %3Cg id=%22magnify-clip%22 fill=%22%23fff%22 stroke=%22%23000%22%3E%0A %3Cpath id=%22bigbox%22 d=%22M9.491 1.865h-10.99v7.919h10.99z%22/%3E%0A %3Cpath id=%22smallbox%22 d=%22M12.499 6.868h-5.943v4.904h5.943z%22/%3E%0A %3C/g%3E%0A%3C/svg%3E%0A")
 +
}
 +
div.tright {
 +
margin: 0.5em 0 1.3em 1.4em
 +
}
 +
div.tleft {
 +
margin: 0.5em 1.4em 1.3em 0
 +
}
 +
 
 +
.catlinks {
 +
      margin-top: 20px;
 
}
 
}

Latest revision as of 20:58, 9 October 2020

/* CSS placed here will affect users of the Liberty skin */
.fixed-toc-button {
 display:none;
}

.liberty-expand {
	width: 75px!important;
}

.liberty-expand-2 {
	width: 90px!important;
}

.dropdown-item-unit {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  white-space: nowrap;
  border: 0;
}

div.title > h1 {
	font-size: 30px;
}

.card-body {
	padding: 12px;
    padding-top: 1px;
    padding-bottom: 15px;
}

.unit-set {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: #2b333b;
	color: white;
	border-radius: 20px;
}

table.unit-set > tbody > tr > td {
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-top: 15px;
}

.unit-mx-auto {
	margin-right: auto !important;
	margin-left: auto !important;
}

.thumb {
	page-break-inside: avoid
}

div.thumb {
	background-color: transparent;
	width: auto
}
div.thumb a {
	border-bottom: 0
}
div.thumbinner {
	background-color: #fff;
	border: 0;
	border-radius: 2px;
	padding: 5px;
	font-size: 10pt;
	color: #666;
	text-align: center;
	overflow: hidden;
	min-width: 100px
}
html .thumbcaption {
	text-align: left;
	line-height: 1.4;
	padding: 3px
}
img.thumbborder {
	border: 1pt solid #ddd
}

.mw-content-ltr .thumbcaption {
	text-align: left
}
.mw-content-ltr .magnify {
	float: right
}
.mw-content-rtl .thumbcaption {
	text-align: right
}
.mw-content-rtl .magnify {
	float: left
}

div.thumb {
	margin-bottom: 0.5em;
	width: auto;
	background-color: transparent
}
div.thumbinner {
	border: 1px solid #c8ccd1;
	padding: 3px;
	background-color: #f8f9fa;
	font-size: 94%;
	text-align: center;
	overflow: hidden
}
html .thumbimage {
	background-color: #fff;
	border: 1px solid #c8ccd1
}
html .thumbcaption {
	border: 0;
	line-height: 1.4em;
	padding: 3px;
	font-size: 94%;
	text-align: left
}
div.magnify {
	display: none;
}
img.thumbborder {
	border: 1px solid #eaecf0
}
.mw-content-ltr .thumbcaption {
	text-align: left
}
.mw-content-ltr .magnify {
	float: right;
	margin-left: 3px;
	margin-right: 0
}
.mw-content-ltr div.magnify a {
	background-image: url(/resources/src/mediawiki.skinning/images/magnify-clip-ltr.png?4f704);
	background-image: linear-gradient( transparent, transparent), url("data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22%3F%3E%0A%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 11 15%22 width=%2215%22 height=%2211%22%3E%0A %3Cg id=%22magnify-clip%22 fill=%22%23fff%22 stroke=%22%23000%22%3E%0A %3Cpath id=%22bigbox%22 d=%22M1.509 1.865h10.99v7.919h-10.99z%22/%3E%0A %3Cpath id=%22smallbox%22 d=%22M-1.499 6.868h5.943v4.904h-5.943z%22/%3E%0A %3C/g%3E%0A%3C/svg%3E%0A")
}
.mw-content-rtl .thumbcaption {
	text-align: right
}
.mw-content-rtl .magnify {
	float: left;
	margin-left: 0;
	margin-right: 3px
}
.mw-content-rtl div.magnify a {
	background-image: url(/resources/src/mediawiki.skinning/images/magnify-clip-rtl.png?a9fb3);
	background-image: linear-gradient( transparent, transparent), url("data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22%3F%3E%0A%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 11 15%22 width=%2215%22 height=%2211%22%3E%0A %3Cg id=%22magnify-clip%22 fill=%22%23fff%22 stroke=%22%23000%22%3E%0A %3Cpath id=%22bigbox%22 d=%22M9.491 1.865h-10.99v7.919h10.99z%22/%3E%0A %3Cpath id=%22smallbox%22 d=%22M12.499 6.868h-5.943v4.904h5.943z%22/%3E%0A %3C/g%3E%0A%3C/svg%3E%0A")
}
div.tright {
	margin: 0.5em 0 1.3em 1.4em
}
div.tleft {
	margin: 0.5em 1.4em 1.3em 0
}

.catlinks {
       margin-top: 20px;
}