MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 84: | Line 84: | ||
width: 12em; | width: 12em; | ||
display: block; | display: block; | ||
display: block; | display: block; | ||
Line 93: | Line 92: | ||
padding: 0.7ex 1em; | padding: 0.7ex 1em; | ||
width: 12em; | width: 12em; | ||
margin: | margin-right: 0em; | ||
cursor: pointer; | |||
} | |||
#togglenotes:hover { | |||
background-color: #fafafa; | |||
} | } |
Revision as of 10:14, 12 March 2013
/* CSS placed here will be applied to all skins */ /* make main links on homepage look more like buttons */ #homebtns a { display: block; text-align: center; border: 1px solid #ccc; background-color: white; font-family: 'gill sans','gill sans mt','gill sans mt pro','century gothic',corbel,sans-serif; font-size: x-large; text-transform: uppercase; padding: 0.7ex 1em; width: 8em; margin: 0.5ex auto 1ex; } #homebtns a:hover { background-color: #fafafa; } /* make table cells of class 'box' stand out */ td.box { border: 1px solid #ccc; background-color: white; padding: 1ex 1em; } /* make spans of class 'box' stand out */ span.box { border: 1px solid #ccc; background-color: white; padding: 1em; } /* make news items small */ td.newsbox ul li { font-size: 1.2em; } /* make collections box stand out */ table.collectionsbox { width:30em; margin:auto; border:1px solid #dddddd; background-color:#ffffe0; font-size:10pt; } table.collectionsbox th:first-child { width: 7em; } /* styling for tables used for texts with a side-by-side translation */ table.textwithtranslation { width: 100%; } table.textwithtranslation td:first-child { width:50%; border-right:1px solid black } /* enable side-by-side of maintext and translation elements, * floated so that js can easily enable crit app notes * (see LemmaNotes and AppCrit extension for that part) */ #maintext { float: left; width: 450px; padding-right: 1em; border-right:thin solid black; } #translation { float: right; width: 330px; } #maintext p { font-size: 1.8em; } #maintext p .linenum { font-size: 0.8em; } /* style toggle notes button */ #togglenotes { width: 12em; display: block; display: block; text-align: center; border: 1px solid #ccc; background-color: white; font-family: 'gill sans','gill sans mt','gill sans mt pro','century gothic',corbel,sans-serif; padding: 0.7ex 1em; width: 12em; margin-right: 0em; cursor: pointer; } #togglenotes:hover { background-color: #fafafa; }