File tree Expand file tree Collapse file tree 6 files changed +10
-46
lines changed Expand file tree Collapse file tree 6 files changed +10
-46
lines changed Original file line number Diff line number Diff line change @@ -33,34 +33,6 @@ const Header = ({location}: {location: Location}) => (
33
33
display : 'none' ,
34
34
} ,
35
35
} } >
36
- < Container >
37
- < div
38
- css = { {
39
- height : 60 ,
40
- fontSize : 20 ,
41
- padding : 20 ,
42
- textAlign : 'center' ,
43
- [ media . between ( 'small' , 'large' ) ] : {
44
- fontSize : 22 ,
45
- height : 60 ,
46
- } ,
47
- [ media . lessThan ( 'small' ) ] : {
48
- height : 80 ,
49
- } ,
50
- [ media . greaterThan ( 'medium' ) ] : {
51
- fontSize : 25 ,
52
- } ,
53
- } } >
54
- Black Lives Matter.{ ' ' }
55
- < a
56
- style = { { color : colors . brand } }
57
- target = "_blank"
58
- rel = "noopener"
59
- href = "https://support.eji.org/give/153413/#!/donation/checkout" >
60
- Support the Equal Justice Initiative.
61
- </ a >
62
- </ div >
63
- </ Container >
64
36
< Container >
65
37
< div
66
38
css = { {
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ const MarkdownHeader = ({title}: {title: string}) => (
15
15
css = { {
16
16
color : colors . dark ,
17
17
marginBottom : 0 ,
18
- marginTop : 100 , // BLM
18
+ marginTop : 40 ,
19
19
...fonts . header ,
20
20
21
21
[ media . size ( 'medium' ) ] : {
22
- marginTop : 100 , // BLM
22
+ marginTop : 60 ,
23
23
} ,
24
24
25
25
[ media . greaterThan ( 'large' ) ] : {
26
- marginTop : 100 , // BLM
26
+ marginTop : 80 ,
27
27
} ,
28
28
} } >
29
29
{ title }
Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ const MarkdownPage = ({
87
87
< MarkdownHeader title = { titlePrefix } />
88
88
89
89
{ ( date || hasAuthors ) && (
90
- < div
91
- css = { {
92
- marginTop : 15 ,
93
- } } >
90
+ < div css = { { marginTop : 15 } } >
94
91
{ date } { ' ' }
95
92
{ hasAuthors && (
96
93
< span >
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class StickyResponsiveSidebar extends Component<Props, State> {
43
43
render ( ) {
44
44
const { open} = this . state ;
45
45
const smallScreenSidebarStyles = {
46
- top : 60 ,
46
+ top : 0 ,
47
47
left : 0 ,
48
48
bottom : 0 ,
49
49
right : 0 ,
@@ -117,18 +117,18 @@ class StickyResponsiveSidebar extends Component<Props, State> {
117
117
transition : 'transform 0.5s ease' ,
118
118
} }
119
119
css = { {
120
- marginTop : 80 ,
120
+ marginTop : 60 ,
121
121
122
122
[ media . size ( 'xsmall' ) ] : {
123
- marginTop : 60 ,
123
+ marginTop : 40 ,
124
124
} ,
125
125
126
126
[ media . between ( 'small' , 'medium' ) ] : {
127
- marginTop : 70 ,
127
+ marginTop : 0 ,
128
128
} ,
129
129
130
130
[ media . between ( 'medium' , 'large' ) ] : {
131
- marginTop : 70 ,
131
+ marginTop : 50 ,
132
132
} ,
133
133
134
134
[ media . greaterThan ( 'small' ) ] : {
Original file line number Diff line number Diff line change @@ -53,11 +53,7 @@ class Home extends Component {
53
53
title = "React – A JavaScript library for building user interfaces"
54
54
canonicalUrl = { createCanonicalUrl ( '/' ) }
55
55
/>
56
- < div
57
- css = { {
58
- width : '100%' ,
59
- marginTop : 60 , // BLM
60
- } } >
56
+ < div css = { { width : '100%' } } >
61
57
< header
62
58
css = { {
63
59
backgroundColor : colors . dark ,
Original file line number Diff line number Diff line change @@ -318,7 +318,6 @@ const sharedStyles = {
318
318
} ,
319
319
320
320
lineHeight : 1.2 ,
321
- scrollMarginTop : 120 ,
322
321
323
322
':first-child' : {
324
323
'::before' : {
You can’t perform that action at this time.
0 commit comments