Difference between revisions of "MediaWiki:Common.css"

From duply (simple duplicity) - a duplicity shell frontend
Jump to navigation Jump to search
 
(27 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 */
 +
/* <nowiki> */
 +
/* <pre> */
 +
/* save urls w/o leading slash!!! so mw will not add spec://host */
  
#mw-panel.collapsible-nav .portal.first h3 {
+
#mw-panel #p-logo + .portal h3 {
  display: block;
+
  display: block !important;
 +
}
 +
 
 +
#mw-panel .portal .body, #mw-panel #p-logo + .portal .body {
 +
    margin-left: 0.5em;
 +
    padding-top: 0;
 +
    background-image: url(skins/Vector/images/portal-separator.png);
 +
    background-repeat: no-repeat;
 
}
 
}
  
 
body {
 
body {
  background: url("/tmp/bg.jpg") no-repeat scroll 0 0 #f9f9f9;
+
  background: url("tmp/bg.jpg") no-repeat scroll 0 0 #f9f9f9;
 
}
 
}
  
Line 13: Line 23:
 
}
 
}
  
/*
+
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.portal, .toctext, .tocnumber {
+
  font-family: sans-serif;
  font-size: 1.2em;
 
 
}
 
}
*/
 
  
html, body, div, span, applet, object, iframe,
+
#p-tb-label {
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+
  text-indent:-9999px;
a, abbr, acronym, address, big, cite, code,
 
del, dfn, em, img, ins, kbd, q, s, samp,
 
small, strike, strong, sub, sup, tt, var,
 
b, u, i, center,
 
dl, dt, dd, ol, ul, li,
 
fieldset, form, label, legend,
 
table, caption, tbody, tfoot, thead, tr, th, td,
 
article, aside, canvas, details, embed,
 
figure, figcaption, footer, header, hgroup,
 
menu, nav, output, ruby, section, summary,
 
time, mark, audio, video {
 
/*margin: 0;
 
padding: 0;
 
border: 0;*/
 
font-size: 100%;
 
/*font: inherit;
 
vertical-align: baseline;*/
 
 
}
 
}
/* HTML5 display-role reset for older browsers */
+
#p-tb-label:after {
article, aside, details, figcaption, figure,
+
  text-indent: 0px;
footer, header, hgroup, menu, nav, section {
+
  float: left;
display: block;
+
  content: 'mediawiki tools';
 
}
 
}
 +
 +
/* </nowiki> */

Latest revision as of 15:42, 17 July 2020

/* CSS placed here will be applied to all skins */
/* <nowiki> */
/* <pre> */
/* save urls w/o leading slash!!! so mw will not add spec://host */

#mw-panel #p-logo + .portal h3 {
 display: block !important;
}

#mw-panel .portal .body, #mw-panel #p-logo + .portal .body {
    margin-left: 0.5em;
    padding-top: 0;
    background-image: url(skins/Vector/images/portal-separator.png);
    background-repeat: no-repeat;
}

body {
 background: url("tmp/bg.jpg") no-repeat scroll 0 0 #f9f9f9;
}

#mw-page-base {
 background: transparent ! important;
}

.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
 font-family: sans-serif;
}

#p-tb-label {
  text-indent:-9999px;
}
#p-tb-label:after {
  text-indent: 0px;
  float: left;
  content: 'mediawiki tools';
}

/* </nowiki> */