File tree Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 6
6
flex-direction : column ;
7
7
align-items : center ;
8
8
width : 100% ;
9
-
9
+ padding-left : 40px ;
10
+ padding-right : 40px ;
11
+
10
12
.componentsInner {
11
13
text-align : center ;
12
14
display : flex ;
13
15
flex-direction : column ;
14
16
align-items : center ;
15
17
width : 100% ;
18
+ padding : 0 ;
16
19
17
20
p {
18
21
@include desktop {
Original file line number Diff line number Diff line change 7
7
padding-bottom : 100px ;
8
8
width : 100% ;
9
9
text-align : center ;
10
+ padding-left : 40px ;
11
+ padding-right : 40px ;
10
12
11
13
.cards {
12
14
display : flex ;
Original file line number Diff line number Diff line change 2
2
3
3
.main {
4
4
position : relative ;
5
- height : 75vh ;
6
5
width : 100% ;
7
6
display : flex ;
8
7
justify-content : center ;
8
+ margin-bottom : 40px ;
9
9
10
10
@include desktop {
11
11
height : 100vh ;
22
22
}
23
23
24
24
.mainContent {
25
- position : absolute ;
26
25
z-index : 1 ;
27
26
display : flex ;
28
27
flex-direction : column ;
29
28
align-items : flex-start ;
30
29
top : 15vh ;
31
30
text-align : center ;
32
- padding : 0 40px ;
31
+ padding : 40px ;
33
32
34
33
@include desktop () {
34
+ position : absolute ;
35
35
padding : 0 ;
36
36
top : 15vw ;
37
37
left : 7vw ;
40
40
}
41
41
42
42
> p {
43
- font-size : 3 em ;
43
+ font-size : 2.5 em ;
44
44
font-weight : 600 ;
45
45
margin : 0 ;
46
+ line-height : 1.2 ;
47
+
48
+ @include desktop {
49
+ font-size : 3em ;
50
+ line-height : 1.5 ;
51
+ }
46
52
47
53
> .libName {
48
54
color : $primary ;
55
61
border : 1px solid ;
56
62
border-radius : 2px ;
57
63
align-self : center ;
58
-
64
+ margin-top : 20px ;
65
+
59
66
@include desktop {
67
+ margin-top : 0 ;
60
68
align-self : flex-start ;
61
69
}
62
70
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import GoldStarSvg from '@site/static/img/goldStar.svg';
8
8
9
9
export default ( ) => {
10
10
const { siteConfig} = useDocusaurusContext ( ) ;
11
- console . warn ( 'ethan - siteConfig' , siteConfig . customFields . stars )
12
11
13
12
return (
14
13
< div className = { styles . main } >
You can’t perform that action at this time.
0 commit comments