Difference between revisions of "MediaWiki:Common.css"

From Dharma Pearls Wiki
(Adding custom table styling for bilingual text presentation (Chinese alongside English))
 
Line 7: Line 7:
 
}
 
}
  
.translation > tr {
+
.translation > td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Revision as of 10:09, 15 July 2021

/* CSS placed here will be applied to all skins */
table.translation {
    border: 0;
    line-height: 20px;
    max-width: 900px;
    border-spacing: 10px;
}

.translation > td {
    vertical-align: top;
}

tr.heading > td {
    font-size: 1.2em;
    text-align: center;
}

tr.subheading > td {
    text-align: center;
    font-weight: bold;
}