File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+
4
+ @import " {{ site.theme }}" ;
5
+
6
+ /* https://gist.github.com/unruthless/413930 */
7
+ sub , sup {
8
+ /* Specified in % so that the sup/sup is the
9
+ right size relative to the surrounding text */
10
+ font-size : 75% ;
11
+
12
+ /* Zero out the line-height so that it doesn't
13
+ interfere with the positioning that follows */
14
+ line-height : 0 ;
15
+
16
+ /* Where the magic happens: makes all browsers position
17
+ the sup/sup properly, relative to the surrounding text */
18
+ position : relative ;
19
+
20
+ /* Note that if you're using Eric Meyer's reset.css, this
21
+ is already set and you can remove this rule */
22
+ vertical-align : baseline ;
23
+ }
24
+
25
+ sup {
26
+ /* Move the superscripted text up */
27
+ top : -0.5em ;
28
+ }
29
+
30
+ sub {
31
+ /* Move the subscripted text down, but only
32
+ half as far down as the superscript moved up */
33
+ bottom : -0.25em ;
34
+ }
35
+
You can’t perform that action at this time.
0 commit comments