File tree 2 files changed +80
-44
lines changed
2 files changed +80
-44
lines changed Original file line number Diff line number Diff line change @@ -7,51 +7,50 @@ main, header {
7
7
margin-right : auto ;
8
8
}
9
9
10
- header {
11
- #title {
12
- margin-top : 30px ;
13
- font-size : 72px ;
14
- width : 100% ;
15
- text-align : center ;
16
- font-weight : 300 ;
17
- }
10
+ #title {
11
+ margin-top : 30px ;
12
+ font-size : 72px ;
13
+ width : 100% ;
14
+ text-align : center ;
15
+ font-weight : 300 ;
16
+ }
17
+
18
+ .title-bold {
19
+ font-weight : 400 ;
20
+ }
18
21
19
- .title-bold {
20
- font-weight : 400 ;
22
+ #headline {
23
+ font-size : 24px ;
24
+ text-align : center ;
25
+ }
26
+
27
+ nav {
28
+ margin-top : 20px ;
29
+ text-align : center ;
30
+ color : #5690fc ;
31
+ width : auto ;
32
+ font-size : 28px ;
33
+ font-weight : 400 ;
34
+
35
+ a :hover {
36
+ color : $grey-accent ;
21
37
}
22
38
23
- #headline {
24
- font-size : 24 px ;
25
- text-align : center ;
39
+ .nav-item {
40
+ display : inline-block ;
41
+ margin-right : 20 px ;
26
42
}
27
43
28
- nav {
29
- margin-top : 20px ;
30
- text-align : center ;
31
- color : #5690fc ;
32
- width : auto ;
33
- font-size : 28px ;
34
- font-weight : 400 ;
35
-
36
- a :hover {
37
- color : $grey-accent ;
38
- }
39
-
40
- .nav-item {
41
- display : inline-block ;
42
- margin-right : 20px ;
43
- }
44
-
45
- a :last-child .nav-item {
46
- margin-right : 0px ;
47
- }
44
+ a :last-child .nav-item {
45
+ margin-right : 0px ;
48
46
}
49
47
}
50
48
51
49
#features {
52
50
margin-top : 30px ;
53
51
margin-bottom : 20px ;
54
52
display : flex ;
53
+ flex-wrap : wrap ;
55
54
}
56
55
57
56
.feature-item {
@@ -81,18 +80,53 @@ header {
81
80
#example {
82
81
margin-top : 70px ;
83
82
width : 100% ;
83
+ }
84
84
85
- #ts-declarations , #ts-source {
86
- display : inline-block ;
87
- overflow : hidden ;
85
+ #ts-declarations , #ts-source {
86
+ display : inline-block ;
87
+ overflow : hidden ;
88
+ }
89
+
90
+ #ts-declarations {
91
+ flex : 40% ;
92
+ }
93
+
94
+ #ts-source {
95
+ flex : 60% ;
96
+ border-left : solid 2px #5690fc ;
97
+ }
98
+
99
+ @media screen and (max-width : 900px ) {
100
+ main , header {
101
+ width : 100% ;
102
+ }
103
+
104
+ nav {
105
+ font-size : 24px ;
106
+ }
107
+
108
+ #title {
109
+ font-size : 42px ;
110
+ margin-top : 15px ;
111
+ }
112
+
113
+ .example-item {
114
+ font-size : 9px ;
115
+ }
116
+
117
+ #example {
118
+ margin-top : 25px ;
119
+ }
120
+
121
+ #features {
122
+ margin-top : 10px ;
88
123
}
89
124
90
- #ts-declarations {
91
- flex : 40 % ;
125
+ .feature-header {
126
+ font-size : 16 px ;
92
127
}
93
128
94
- #ts-source {
95
- flex : 60% ;
96
- border-left : solid 2px #5690fc ;
129
+ .feature-item {
130
+ flex : 100% ;
97
131
}
98
132
}
Original file line number Diff line number Diff line change @@ -51,12 +51,14 @@ $output-height: 120px;
51
51
border-bottom : 1px $grey-accent solid ;
52
52
}
53
53
54
- #editor-ts {
54
+ #editor-ts , #editor-lua {
55
55
flex : 50% ;
56
56
}
57
57
58
- #editor-lua {
59
- flex : 50% ;
58
+ @media screen and (max-width : 600px ) {
59
+ #editor-ts , #editor-lua {
60
+ flex : 100% ;
61
+ }
60
62
}
61
63
62
64
#editor-output {
You can’t perform that action at this time.
0 commit comments