Difference between revisions of "MediaWiki:Common.css"

From No Subject - Encyclopedia of Psychoanalysis
Jump to: navigation, search
(Tags: Mobile edit, Mobile web edit)
Line 3: Line 3:
 
*/
 
*/
  
/* CSS placed here will affect users of the Vector skin */
+
.hiddenStructure {display: none}
/*
 
#content,
 
#footer {
 
    margin-left: 300px;
 
}
 
#left-navigation {
 
    left: 300px;
 
}
 
  
div#mw-panel {  
+
.if {display: none}
width: 300px;
 
}  
 
*/
 
  
/* div#footer, #mw-head-base, div#content { margin-left: 12em; } */
 
  
/* left-navigation { margin-left: 12em; } */
+
/* wikitable/prettytable class for skinning normal tables */
  
/*
+
table.wikit,
#left-navigation {
+
table.prettytable {
   left: 14em;
+
  margin: 1em 1em 1em 0;
 +
  background: #f9f9f9;
 +
  border: 1px #aaaaaa solid;
 +
   border-collapse: collapse;
 
}
 
}
*/
 
  
 
+
table.wikit th, table.wikit td,
/* #mw-panel { padding-left: 300px; } */ /* Reduces sidebar padding on the left. */
+
table.prettytable th, table.prettytable td {
/* div#mw-panel div.portal { margin-left: 300px; margin-right: 300px; } */ /* Reduces sidebar margins. */
+
  border: 1px #aaaaaa solid;
/* div#mw-panel div.portal div.body { margin-left: 300px; } */ /* Reduces left margin of sidebar toolbox */
+
   padding: 0.2em;
 
 
/*
 
#mw-head-base,
 
div#content,
 
div#footer {
 
   margin-left: 300px;
 
 
}
 
}
*/
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 
  
body.mainpage.action-view h1.firstHeading, body.mainpage.action-submit h1.firstHeading {
+
table.wikit th,
      display: none;
+
table.prettytable th {
 +
  background: #f2f2f2;
 +
  text-align: center;
 
}
 
}
  
body.page-Main_Page h1.firstHeading {  
+
table.wikit caption,
      display: none;  
+
table.prettytable caption {
 +
  margin-left: inherit;
 +
  margin-right: inherit;
 
}
 
}
  
body.page-Main_Page h1.firstHeading { display:none; }
 
  
  
 
+
table.wikitable,
.c12 {
+
table.prettytable {
   color: green;
+
   margin: 1em 1em 1em 0;
   font-size:0.80em;
+
   background: #f9f9f9;
   font-style:italic;
+
  border: 1px #aaaaaa solid;
 +
   border-collapse: collapse;
 
}
 
}
  
.mw-some-element {
+
table.wikitable th, table.wikitable td,
background-color: #fff;
+
table.prettytable th, table.prettytable td {
color: #222;
+
   border: 1px #aaaaaa solid;
float: right;
+
   padding: 0.2em;
font-family: 'Arial', 'Helvetica', sans-serif;
 
text-align: left;
 
transform: scale( 1.2 );
 
}
 
.center {
 
   display: block;
 
   margin-left: auto;
 
  margin-right: auto;
 
  width: 50%;
 
 
}
 
}
  
twitter-widget-0 {  
+
table.wikitable th,
      width: 100% !important;  
+
table.prettytable th {
 +
  background: #f2f2f2;
 +
  text-align: center;
 
}
 
}
  
.timeline {
+
table.wikitable caption,
   max-width: 100% !important;
+
table.prettytable caption {
   width: 100% !important;
+
   margin-left: inherit;
 +
   margin-right: inherit;
 
}
 
}
  
 
+
.allpagesredirect {
#twitter-timeline {
+
  font-style: italic;
      width: 100% !important;  
 
 
}
 
}
/* CSS placed here applies to all skins */
 
  
/* Load Wikipedia.css first */
+
/* Infobox template style */
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Wikipedia.css&action=raw&ctype=text/css") screen;
 
  
/* Then override Wikipedia styles with locally defined styles */
+
.infobox {
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Collapse.css&action=raw&ctype=text/css") screen;
+
  border: 1px solid #aaaaaa;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Navigation.css&action=raw&ctype=text/css") screen;
+
  background-color: #f9f9f9;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Colors.css&action=raw&ctype=text/css") screen;
+
  color: black;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Infobox.css&action=raw&ctype=text/css") screen;
+
  margin-bottom: 0.5em;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Fonts.css&action=raw&ctype=text/css") screen;
+
  margin-left: 1em;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Glam.css&action=raw&ctype=text/css") screen;
+
  padding: 0.2em;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/MediaIcons.css&action=raw&ctype=text/css") screen;
+
  float: right;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Messages.css&action=raw&ctype=text/css") screen;
+
  clear: right;
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/Slideshows.css&action=raw&ctype=text/css") screen;
 
@import url("https://en.wikiversity.org/w/index.php?title=MediaWiki:Common.css/addin-mooc.css&action=raw&ctype=text/css") screen;
 
 
 
.same-bg { background: none }
 
 
 
/* for Chinese, Japanese and Korean text words are not broken. Otherwise this is the same as normal */
 
.mw-body-content { word-break: keep-all; }
 
 
 
/* References */
 
.references { font-size:90%; }
 
.references li:target, .reference:target, .citation:target { background-color: #DDEEFF }
 
.reference, .citation, cite { font-weight: normal; font-style: normal; word-wrap: break-word; }
 
 
 
/* Category tree */
 
#mw-subcategories ul { list-style: none none; margin-left: 0.25em; }
 
.CategoryTreeChildren { margin-left: 1.25em; }
 
 
 
/* prettytable class for skinning normal tables */
 
table.prettytable { margin:1em 1em 1em 0em; background:#f9f9f9; border:1px #aaaaaa solid; border-collapse:collapse; }
 
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; }
 
table.prettytable th { background:#f2f2f2; text-align:center; }
 
table.prettytable caption { margin-left:inherit; margin-right:inherit; }
 
 
 
table.table { border-spacing:0em 0.5em; }
 
table.table tr>td { padding:0.25em 1em; }
 
table.table tr.even { background:#ddddff; }
 
table.table tr.odd { background:#ccccff; }
 
 
 
/* Style for "notices" */
 
.notice { text-align: justify; margin:1em; padding:0.2em; }
 
 
 
/* Choose whether to have AD/BC dates or CE/BCE dates */
 
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
 
.Use_Default_Date_Convention { display: inline; }
 
.Use_AD_and_BC  { display: none; } /* display:inline; in your skin for AD and BC. */
 
.Use_BCE_and_CE { display: none; } /* display:inline; in your skin for CE and BCE. */
 
 
 
/* Content in columns with CSS instead of tables [[Template:Columns]] */
 
div.columns-2 div.column { float:left; width:50%; min-width:300px; }
 
div.columns-3 div.column { float:left; width:33%; min-width:200px; }
 
div.columns-4 div.column { float:left; width:25%; min-width:150px; }
 
div.columns-5 div.column { float:left; width:20%; min-width:120px; }
 
 
 
/* Put a checker background at the image description page only visible if the image has transparent background */
 
#file img { background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; }
 
 
 
/* Show only when printing */
 
@media screen, projection, handheld {
 
  .printonly { display: none !important; }
 
}
 
 
 
/* "warning" messages. */
 
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon {
 
  clear:both; margin: 0.2em 0em; border:1px solid #bb7070; background:#ffdbdb; padding:0.25em 0.9em;
 
}
 
 
 
/* Pie chart test: Transparent borders */
 
.transborder {
 
    border: solid transparent;
 
 
}
 
}
* html .transborder { /* IE6 */
+
.infobox td,
    border: solid #000001;
+
.infobox th {
    filter: chroma(color=#000001);
+
  vertical-align: top;
 
}
 
}
 
+
.infobox caption {
.center {
+
  font-size: larger;
  display: block;
+
  margin-left: inherit;
  margin-left: auto;
 
  margin-right: auto;
 
  width: 50%;
 
 
}
 
}
/* "system" messages. Used in [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
+
.infobox.bordered {
div.mw-lag-warn-normal, div.noarticletext, div.fmbox-system {
+
  border-collapse: collapse;
  clear:both; margin:0.2em 0em; border:1px solid #aaaaaa; background:#f9f9f9; padding:0.25em 0.9em;
 
 
}
 
}
 
+
.infobox.bordered td,
tt, code, pre, .mw-geshi { font-family: monospace, "DejaVu Sans Mono", "Courier New" !important; font-size:100%; }
+
.infobox.bordered th {
 
+
  border: 1px solid #aaaaaa;
/* Documentation */
 
.template-documentation { clear:both; margin:1em 0em 0em 0em; padding:1em; }
 
 
 
/* Prevent line breaks in silly places:
 
  1) Where desired
 
  2) Links when we don't want them to
 
  3) Bold "links" to the page itself */
 
.nowrap,
 
.nowraplinks a,
 
.nowraplinks .selflink {
 
  white-space: nowrap;
 
 
}
 
}
.nowrap pre {
+
.infobox.bordered .borderless td,
  white-space: pre;
+
.infobox.bordered .borderless th {
 +
  border: 0;
 
}
 
}
  
/* Selectively hide table of contents auto-numbering, per https://www.mediawiki.org/wiki/Manual:Table_of_contents#Auto-numbering */
+
.infobox.sisterproject {
.noautonum .tocnumber {
+
  width: 20em;
  display: none;  
+
  font-size: 90%;
 
}
 
}
  
/* Table of contents alternative formatting */
+
/* Removes useless links from printout */
.tocplain #toc {
+
@media print {
     border: none;
+
     #privacy, #about, #disclaimer {display:none;}
    background: none;
 
 
}
 
}
  
.tocplain .toctitle {
+
.plainlinksneverexpand a {background: none !important; padding: 0 !important}
    text-align: left;
 
}
 
  
/* Opposite of nomobile class. Paired with definition in MediaWiki:Mobile.css */
+
/* log formatting */
.onlymobile {
+
.logtable pre {
    display: none;
+
margin:0;
 +
padding:0;
 +
border:0;
 
}
 
}
  
 +
/*
 +
</pre>
 +
*/
  
blockquote.twitter-tweet {
+
.tagcloud {
  display: inline-block;
+
width: 98%;
  font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
+
text-align: center;
  font-size: 12px;
+
background-color: #FDFDFD;
  font-weight: bold;
+
border: 1px solid #EEEEEE;
  line-height: 16px;
+
padding: 15px 10px 15px 10px;
  border-color: #eee #ddd #bbb;
 
  border-radius: 5px;
 
  border-style: solid;
 
  border-width: 1px;
 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
 
  margin: 10px 5px;
 
  padding: 0 16px 16px 16px;
 
  max-width: 468px;
 
}
 
 
 
blockquote.twitter-tweet p {
 
  font-size: 16px;
 
  font-weight: normal;
 
  line-height: 20px;
 
 
}
 
}
 
+
.tagcloud a {
blockquote.twitter-tweet a {
+
color: #3a5896;
  color: inherit;
+
margin-left: 10px;
  font-weight: normal;
+
margin-right: 10px;
  text-decoration: none;
+
font-weight: bold;
  outline: 0 none;
 
}
 
 
 
blockquote.twitter-tweet a:hover,
 
blockquote.twitter-tweet a:focus {
 
  text-decoration: underline;
 
}
 
 
 
.twitter-timeline {
 
  display: inline-block;
 
  font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
 
  font-size: 10px;
 
  font-weight: bold;
 
  line-height: 16px;
 
  border-color: #eee #ddd #bbb;
 
  border-radius: 5px;
 
  border-style: solid;
 
  border-width: 1px;
 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
 
  margin: 10px 5px;
 
  padding: 0 16px 16px 16px;
 
  max-width: 468px;
 
}
 
 
 
 
 
blockquote.twitter-timeline {
 
  display: inline-block;
 
  font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
 
  font-size: 12px;
 
  font-weight: bold;
 
  line-height: 16px;
 
  border-color: #eee #ddd #bbb;
 
  border-radius: 5px;
 
  border-style: solid;
 
  border-width: 1px;
 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
 
  margin: 10px 5px;
 
  padding: 0 16px 16px 16px;
 
  max-width: 468px;
 
}
 
 
 
blockquote.twitter-timeline p {
 
  font-size: 16px;
 
  font-weight: normal;
 
  line-height: 20px;
 
}
 
 
 
blockquote.twitter-timeline a {
 
  color: inherit;
 
  font-weight: normal;
 
  text-decoration: none;
 
  outline: 0 none;
 
}
 
 
 
blockquote.twitter-timeline a:hover,
 
blockquote.twitter-timeline a:focus {
 
  text-decoration: underline;
 
}
 
 
 
#twitter_update_list {
 
font-size: 13px;
 
line-height: 21px;
 
list-style: none;
 
}
 
#twitter_update_list li {
 
background: url('images/twitter-divider.gif') bottom left repeat-x;
 
padding-bottom: 7px;
 
margin-bottom: 9px;
 
}
 
#twitter_update_list span, #twitter_update_list span a {
 
color: #ababab;
 
text-decoration: none;
 
}
 
#twitter_update_list a {
 
color: #6f7276;
 
}
 
 
 
.timeline-Tweet-text {
 
    margin-left: 40px;
 
    margin-bottom: 11px;
 
    font-size: 8px;
 
    line-height: 18px;
 
    font-weight: 400;
 
    white-space: pre-wrap;
 
    word-wrap: break-word;
 
}
 
 
 
p.timeline-Tweet-text {
 
    margin-left: 40px;
 
    margin-bottom: 11px;
 
    font-size: 8px;
 
    line-height: 18px;
 
    font-weight: 400;
 
    white-space: pre-wrap;
 
    word-wrap: break-word;
 
}
 
 
 
 
 
.SandboxRoot.env-bp-430 .timeline-Tweet-text {
 
    font-size: 18px;
 
    line-height: 24px;
 
    font-weight: 300;
 
}
 
 
 
/**
 
* News-Bulletins Css
 
* @version 2008-07-11
 
* @author ruggerit
 
* @location MediaWiki:Common.css
 
*/
 
 
 
.news-bulletin {
 
  border: 1px solid #000;
 
  background-color: #ddd;
 
  padding:5px;
 
  width:300px;
 
  text-align:left;
 
}
 
 
 
.news-bulletin-header {
 
  font-size:14px;
 
  padding:3px;
 
  text-decoration:underline;
 
  font-style:italic;
 
  font-weight:bold;
 
}
 
 
 
.news-bulletin-title {
 
  font-weight:bold;
 
  font-size:13px;
 
}
 
 
 
.news-bulletin-title a{
 
  color:#000;
 
}
 
.news-bulletin-title a:visited{
 
  color:#000;
 
}
 
 
 
.news-bulletin-text {
 
  font-size:12px;
 
  padding-left:5px;
 
}
 
 
 
.news-bulletin-time {
 
  font-size:10px;
 
  font-style:italic;
 
  text-align:right;
 
 
}
 
}

Revision as of 02:42, 26 May 2019

/*
<pre>
*/

.hiddenStructure {display: none}

.if {display: none}


/* wikitable/prettytable class for skinning normal tables */

table.wikit,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikit th, table.wikit td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikit th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikit caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}



table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

.allpagesredirect {
  font-style: italic;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

/* Removes useless links from printout */
@media print {
    #privacy, #about, #disclaimer {display:none;}
}

.plainlinksneverexpand a {background: none !important; padding: 0 !important}

/* log formatting */
.logtable pre {
	margin:0;
	padding:0;
	border:0;
}

/*
</pre>
*/

.tagcloud {
width: 98%;
text-align: center;
background-color: #FDFDFD;
border: 1px solid #EEEEEE;
padding: 15px 10px 15px 10px;
}
.tagcloud a {
color: #3a5896;
margin-left: 10px;
margin-right: 10px;
font-weight: bold;
}