Feed:Stylesheet

From Wiki Journal Club
Jump to navigation Jump to search
/* REMEMBER TO UPDATE Feed:Stylesheet~ipad AS WELL! */
.editsection,
#toc,
#infobox,
.badge
{ display:none }

body {
    font-family: -apple-system, sans-serif;
    font: -apple-system-body !important;
    -webkit-text-size-adjust: none; /* Never autoresize text */
}
a {
  color: #c00 !important;
  text-decoration: none;
  border-color: rgba(153, 0, 0, 0.25);
  border-width: 0 0 1px 0;
  border-style: none none solid none;
  background-color: inherit;
  -webkit-touch-callout: none; /* tapping a link target doesn't show link information */
}
a.new {
  border-bottom: 1px dashed rgba(153, 0, 0, 0.25);
}
sup.reference a {
   border: none;
}
span.reference-text a {
   border: none !important;
   color: black !important;
}
h1, h2, h3, h4, h5, h6 {
    font: -apple-system-headline !important;
}
h1 {
   margin-bottom:  0px;
   padding-bottom: 0px;
}
h2 {
   border-bottom: 1px solid #ddd !important;
}
#journalArticle > h2 + p {
   margin-top: -5px !important;
   padding-top: -5px !important;

}

h4 {
    font: -apple-system-short-subheadline;
}
/* horizontal rules */
hr {
    border: none;
    border-bottom: 1px dashed #bbb;
}

.section { margin-top:0px; padding-top:0px }
.section p { margin-top:0px; padding-top:0px }

ul { margin-left:-9px; }

/* primary/secondary outcomes */
dl { margin-left: none }
dt { font-weight:bold }
dd {
  padding-left: 0px;
  margin-left: 10px;
}

/* abbreviations page */
.abbreviations dl { padding: 0; margin: 0; }
.abbreviations dt:first-child { margin-top: 0.51em; }
.abbreviations dd:first-child { margin-top: -0.8em; }
.abbreviations dt {
  position: relative;
  left: 0; top: 0.31em;
  width: 4em;
  font-weight: bold;
  text-align: right;
}
.abbreviations dd { margin: -1em 0 0 4em; padding: 0 0 .5em .5em; }

/* acronyms page*/
.acronyms dl { margin: 0 }
.acronyms dd { margin:0 }
.acronyms dd { margin-bottom: 9px }

.wikitable > th { background-color:#eee; text-align:left }
.wikitable > td { background-color:#efefef; text-align: left }
.wikitable > tr td:first-child { text-align: right }
.wikitable { border:0px }

#buttons {
  margin-top: 20px;
  text-align: center;
}
#buttons span {
  padding:1px;
  padding-left:8px;
  padding-right:8px;
  border-radius: 10px;
  margin-right: 8px;
  background-color: #c00 !important;
}
#buttons span a {
  text-decoration: none;
  color:white !important;
  font-weight: bold;
}

/* Remove the "Clinical Question" section */
#journalArticle > h2:nth-of-type(1) { display: none }
#journalArticle > span[id="Clinical_Question"] { display: none }
#journalArticle > span[id="Clinical_question"] { display: none }
#journalArticle > span.editsection { display: none }
#journalArticle > p:nth-of-type(1) { display: none }
 
/* http://en.wikipedia.org/wiki/User:Mzajac/monobook.css/Superscript_fix */
/* keep superscript and subscript text from breaking the line-spacing */
sup {
   font-size: smaller;
   vertical-align: baseline;
   position: relative;
   bottom: 0.33em;
}
sub {
   font-size: smaller;
   vertical-align: baseline;
   position: relative;
   bottom: -0.25em;
}
/* hide up-arrow backlink superscripts in reference list at bottom of page */
span.mw-cite-backlink { display: none }

/* hide twitter/facebook buttons */
.twitterFBLike_small, .twitterFBLike_big { display: none }