##// END OF EJS Templates
Fix styling of superscripts and subscripts. Closes #1924.
Jez Ng -
Show More
@@ -1,74 +1,77 b''
1 1 /**
2 2 * HTML5 ✰ Boilerplate
3 3 *
4 4 * style.css contains a reset, font normalization and some base styles.
5 5 *
6 6 * Credit is left where credit is due.
7 7 * Much inspiration was taken from these projects:
8 8 * - yui.yahooapis.com/2.8.1/build/base/base.css
9 9 * - camendesign.com/design/
10 10 * - praegnanz.de/weblog/htmlcssjs-kickstart
11 11 */
12 12
13 13
14 14 /**
15 15 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
16 16 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
17 17 * html5doctor.com/html-5-reset-stylesheet/
18 18 */
19 19
20 20 html, body, div, span, object, iframe,
21 21 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
22 22 abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
23 23 small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
24 24 fieldset, form, label, legend,
25 25 table, caption, tbody, tfoot, thead, tr, th, td,
26 26 article, aside, canvas, details, figcaption, figure,
27 27 footer, header, hgroup, menu, nav, section, summary,
28 28 time, mark, audio, video {
29 29 margin: 0;
30 30 padding: 0;
31 31 border: 0;
32 32 font-size: 100%;
33 33 font: inherit;
34 34 vertical-align: baseline;
35 35 }
36 36
37 sup { vertical-align: super; }
38 sub { vertical-align: sub; }
39
37 40 article, aside, details, figcaption, figure,
38 41 footer, header, hgroup, menu, nav, section {
39 42 display: block;
40 43 }
41 44
42 45 blockquote, q { quotes: none; }
43 46
44 47 blockquote:before, blockquote:after,
45 48 q:before, q:after { content: ""; content: none; }
46 49
47 50 ins { background-color: #ff9; color: #000; text-decoration: none; }
48 51
49 52 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
50 53
51 54 del { text-decoration: line-through; }
52 55
53 56 abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
54 57
55 58 table { border-collapse: collapse; border-spacing: 0; }
56 59
57 60 hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
58 61
59 62 input, select { vertical-align: middle; }
60 63
61 64
62 65 /**
63 66 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
64 67 */
65 68
66 69 body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
67 70 select, input, textarea, button { font:99% sans-serif; }
68 71
69 72 /* Normalize monospace sizing:
70 73 en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
71 74 pre, code, kbd, samp { font-family: monospace, sans-serif; }
72 75
73 76 em,i { font-style: italic; }
74 77 b,strong { font-weight: bold; }
General Comments 0
You need to be logged in to leave comments. Login now