Difference between revisions of "MediaWiki:Common.css"

From LinnDocs
Jump to: navigation, search
m
m
Line 51: Line 51:
 
  background-image: url('//docs.linn.co.uk/wiki/images/d/dd/SmallArrowDown.png');
 
  background-image: url('//docs.linn.co.uk/wiki/images/d/dd/SmallArrowDown.png');
 
  background-repeat: no-repeat;
 
  background-repeat: no-repeat;
  background-position: left bottom;
+
  background-position: left top;
 
}
 
}
 
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
 
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
Line 58: Line 58:
 
  background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.png');
 
  background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.png');
 
  background-repeat: no-repeat;
 
  background-repeat: no-repeat;
  background-position: left top;
+
  background-position: left bottom;
 
}
 
}
  

Revision as of 07:58, 7 November 2019

/* CSS placed here will be applied to all skins */
/* https://en.wikipedia.org/wiki/MediaWiki:Common.css */

/*.tocnumber { display: none; } */

.noautonum .tocnumber {
    display: none;
}

/* upper blue line  */
/*
#mw-head-base {
	margin-left: 200px !important;
	margin-right: auto !important;
  max-width: 1000px !important;
}   */

/* lower blue line + footer content */
/* #footer {
	margin-left: 200px !important;
	margin-right: auto !important;
  max-width: 1000px !important;
} */
/* main content */
 #content {
	/* margin-left: 200px !important;
	margin-right: auto !important;*/
  max-width: 1000px;
}   

/* history tab */
div.vectorTabs ul li#ca-history {visibility: hidden;}
div.vectorTabs ul li#ca-nstab-main { display:none!important; } 

/* Source code tab*/
div.vectorTabs ul li#ca-viewsource { visibility: hidden;} 

/* Hide discussion tab */
div.vectorTabs ul li#ca-talk {  display: none!important;}

/*User Read tab */
/*div.vectorTabs ul  li#ca-view { display:none!important; }*/

/* User Page tab */
div.vectorTabs ul li#ca-nstab-user {  display: none!important;}

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-toggle-expanded.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-expanded .mw-collapsible-arrowtoggle {
 padding-left: 50px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/d/dd/SmallArrowDown.png');
 background-repeat: no-repeat;
 background-position: left top;
}
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
 padding-left: 50px !important;
 background-image: url('//docs.linn.co.uk/wiki/images/f/f7/SmallArrowRight.png');
 background-repeat: no-repeat;
 background-position: left bottom;
}

blink, .blink {
  -webkit-animation: blink 1s step-end infinite;
  -moz-animation: blink 1s step-end infinite;
  -o-animation: blink 1s step-end infinite;
  animation: blink 1s step-end infinite;
}
@-webkit-keyframes blink {  67% { opacity: 0 }}
@-moz-keyframes blink {  67% { opacity: 0 }}
@-o-keyframes blink {  67% { opacity: 0 }}
@keyframes blink {  67% { opacity: 0 }}

.visually-hidden {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
a:hover .visually-hidden,
a:focus .visually-hidden,
button:hover .visually-hidden,
button:focus .visually-hidden {
	position: relative;
	margin: 0;
}