Difference between revisions of "MediaWiki:Common.css"

From S.H.O.
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
body.page-HQ.action-view h1.firstHeading, body.page-HQ.action-submit h1.firstHeading { display: none; }
 
body.page-HQ.action-view h1.firstHeading, body.page-HQ.action-submit h1.firstHeading { display: none; }
  
p {
+
.tocnumber { display: none; }
    margin: 0.4em 8.5em 0.7em 0em;
+
 
    line-height: 1.25em;
+
/* See also jquery.makeCollapsible.js */
    font-size:150%;
+
.mw-collapsible-toggle {
 +
float: center;
 +
margin: 5px
 +
-moz-user-select: none;
 +
-webkit-user-select: none;
 +
-ms-user-select: none;
 +
user-select: none;
 
}
 
}
  
.tocnumber { display: none; }
+
.mw-customtoggle,
 +
.mw-collapsible-toggle {
 +
cursor: pointer;
 +
}
 +
 
 +
/* collapse links in captions should be inline */
 +
caption .mw-collapsible-toggle,
 +
.mw-content-ltr caption .mw-collapsible-toggle,
 +
.mw-content-rtl caption .mw-collapsible-toggle,
 +
.mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,
 +
.mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
 +
float: none;
 +
}
  
/* Fix sidebar */
+
/* list-items go as wide as their parent element, don't float them inside list items */
div#mw-panel { position: fixed;
+
li .mw-collapsible-toggle,
  overflow: auto;
+
.mw-content-ltr li .mw-collapsible-toggle,
  top: 0px;
+
.mw-content-rtl li .mw-collapsible-toggle,
  bottom: 0px;
+
.mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle,
  height: 100%;
+
.mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle {
  /* Prevent content overlay when sidewards scrolling */
+
float: none;
  background-color: #F6F6F6;
+
  border-right: 1px solid #A7D7F9;
+
 
}
 
}
  
/* Prevent sidewards scrolling in pre elements */
+
/* the added list item should have no list-style */
pre {
+
.mw-collapsible-toggle-li {
  overflow: auto;
+
list-style: none;
  max-height: 25em;
+
 
}
 
}

Latest revision as of 10:51, 24 September 2016

/* CSS placed here will be applied to all skins */

body.page-HQ.action-view h1.firstHeading, body.page-HQ.action-submit h1.firstHeading { display: none; }

.tocnumber { display: none; }

/* See also jquery.makeCollapsible.js */
.mw-collapsible-toggle {
	float: center;
	margin: 5px
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.mw-customtoggle,
.mw-collapsible-toggle {
	cursor: pointer;
}

/* collapse links in captions should be inline */
caption .mw-collapsible-toggle,
.mw-content-ltr caption .mw-collapsible-toggle,
.mw-content-rtl caption .mw-collapsible-toggle,
.mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,
.mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
	float: none;
}

/* list-items go as wide as their parent element, don't float them inside list items */
li .mw-collapsible-toggle,
.mw-content-ltr li .mw-collapsible-toggle,
.mw-content-rtl li .mw-collapsible-toggle,
.mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle,
.mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle {
	float: none;
}

/* the added list item should have no list-style */
.mw-collapsible-toggle-li {
	list-style: none;
}