File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 3737 < style >
3838 body {
3939 margin : 0 ;
40- font-family : Helvetica;
40+ font-family : Helvetica Neue , Helvetica , Arial , sans-serif ;
4141 }
4242
4343 p {
Original file line number Diff line number Diff line change @@ -17,12 +17,22 @@ const styles = {
1717 } ,
1818 pageTitle : {
1919 textAlign : 'center' ,
20- fontSize : 30 ,
21- margin : '110px 0 10px' ,
20+ fontSize : 22 ,
21+ margin : '90px 0 10px' ,
22+ visibility : 'hidden' ,
23+ } ,
24+ description : {
25+ maxWidth : 600 ,
26+ margin : '10px auto 30px' ,
27+ fontSize : 22 ,
28+ lineHeight : '28px' ,
29+ '& a' : {
30+ color : 'black' ,
31+ } ,
2232 } ,
2333 pageSubtitle : {
2434 textAlign : 'center' ,
25- fontSize : '24px' ,
35+ fontSize : 22 ,
2636 color : '#888' ,
2737 } ,
2838 graphicContainer : {
@@ -100,7 +110,12 @@ class Demo extends PureComponent {
100110 < a href = "https://github.com/jsonkao/react-scrollama" >
101111 React Scrollama
102112 </ a > { ' ' }
103- Example
113+ Demo
114+ </ p >
115+ < p className = { classes . description } >
116+ < b > React Scrollama</ b > is a lightweight and simple interface for
117+ scrollytelling in React that uses IntersectionObserver in favor of
118+ scroll events. Our < a href = "https://github.com/jsonkao/react-scrollama" > GitHub</ a > contains tutorial code and documentation.
104119 </ p >
105120 < p className = { classes . pageSubtitle } > Scroll ↓</ p >
106121 < div className = { classes . graphicContainer } >
You can’t perform that action at this time.
0 commit comments