File tree Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 4
4
line-height : 1.0em ;
5
5
background-color : # e7e8e9 ;
6
6
}
7
+ /* Temporary fix for Chrome disappearing fonts bug */
8
+ /* See http://stackoverflow.com/questions/22053010/google-webfonts-are-not-displaying-at-all-chrome-latest-version-mac */
9
+ body {
10
+ -webkit-animation-duration : 0.1s ;
11
+ -webkit-animation-name : fontfix;
12
+ -webkit-animation-iteration-count : 1 ;
13
+ -webkit-animation-timing-function : linear;
14
+ -webkit-animation-delay : 0.1s ;
15
+ }
16
+ @-webkit-keyframes fontfix {
17
+ from {
18
+ opacity : 1 ;
19
+ }
20
+ to {
21
+ opacity : 1 ;
22
+ }
23
+ }
24
+ /* end Chrome fix */
7
25
p {
8
26
line-height : 1.6em ;
9
27
margin-top : 0.5em ;
40
58
max-width : 820px ;
41
59
background-color : # f5f5f5 ;
42
60
margin-top : 0px ;
43
- padding-top : 50 px ;
61
+ padding-top : 70 px ;
44
62
padding-bottom : 0px ;
45
63
margin-bottom : 0px ;
46
64
position : static;
Original file line number Diff line number Diff line change @@ -17,6 +17,25 @@ body {
17
17
background-color : @rascal-white ;
18
18
}
19
19
20
+ /* Temporary fix for Chrome disappearing fonts bug */
21
+ /* See http://stackoverflow.com/questions/22053010/google-webfonts-are-not-displaying-at-all-chrome-latest-version-mac */
22
+
23
+ body
24
+ {
25
+ -webkit-animation-duration : 0.1s ;
26
+ -webkit-animation-name : fontfix;
27
+ -webkit-animation-iteration-count : 1 ;
28
+ -webkit-animation-timing-function : linear ;
29
+ -webkit-animation-delay : 0.1s ;
30
+ }
31
+
32
+ @-webkit-keyframes fontfix{
33
+ from{ opacity : 1 ; }
34
+ to{ opacity : 1 ; }
35
+ }
36
+
37
+ /* end Chrome fix */
38
+
20
39
p {
21
40
line-height : 1.6em ;
22
41
margin-top : 0.5em ;
60
79
max-width : 820px ;
61
80
background-color : @rascal-bright-white ;
62
81
margin-top : 0px ;
63
- padding-top : 50 px ;
82
+ padding-top : 70 px ;
64
83
padding-bottom : 0px ;
65
84
margin-bottom : 0px ;
66
85
position : static ; /* to prevent weird overlap on page.hbs */
You can’t perform that action at this time.
0 commit comments