File tree 9 files changed +24
-60
lines changed
9 files changed +24
-60
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ params:
57
57
url : /case-studies/cricket-analytics
58
58
59
59
keyfeatures :
60
- title : KEY FEATURES
61
60
features :
62
61
- title : Powerful N-dimensional arrays
63
62
text : Fast and versatile, the NumPy vectorization, indexing and broadcasting concepts are the de-facto standards of array computing today.
Original file line number Diff line number Diff line change 1
1
{{- $keyfeatures := .Site.Params.keyfeatures }}
2
- {{- $title := index $keyfeatures "title" }}
3
2
{{- $features := index $keyfeatures "features" }}
4
3
5
4
< section class ="keyfeatures ">
6
5
< div class ="container ">
7
- < h1 class ="keyfeatures-header ">
8
- {{ $title }}
9
- </ h1 >
10
6
< div class ="keyfeatures-box-container ">
11
7
{{- range $features }}
12
8
< div class ="keyfeatures-box-content keyfeatures-underline ">
Original file line number Diff line number Diff line change 8
8
< nav id ="nav " class ="navbar is-fresh is-transparent no-shadow " role ="navigation " aria-label ="main navigation ">
9
9
< div class ="container ">
10
10
< div class ="navbar-brand ">
11
+ {{ if not .IsHome }}
11
12
{{- if $navbarLogo}}
12
13
< a id ="navbar-item " class ="navbar-item " href ="{{ $navbarLogo.link }} ">
13
14
< img src ="{{ printf "/images/%s" $navbarLogo.image | relURL }}" alt="Numpy logo. A three-dimensional blue cube with the letter 'N' highlighted in yellow." width="112" height="28" alt="Numpy logo. A three-dimensional blue cube with the letter 'N' highlighted in yellow.">
14
15
</ a >
15
16
{{- end}}
16
-
17
+ {{ end }}
17
18
{{- if $sidebarVisible }}
18
19
< a id ="navbar-item " class ="navbar-item is-hidden-desktop is-hidden-tablet ">
19
20
< div id ="menu-icon-wrapper " class ="menu-icon-wrapper " style ="visibility: visible; ">
Original file line number Diff line number Diff line change 81
81
margin : 30px 0 0 0 ;
82
82
}
83
83
84
- @media only screen and (max-width : 1088 px ) {
84
+ @media only screen and (max-width : 1090 px ) {
85
85
.shortcuts-container {
86
86
display : none;
87
87
}
Original file line number Diff line number Diff line change 1
1
.keyfeatures {
2
- margin : 50 px 0 ;
2
+ margin : 30 px 0 ;
3
3
}
4
4
5
5
.keyfeatures .container {
6
6
display : flex;
7
7
flex-direction : column;
8
8
}
9
9
10
- .keyfeatures-header {
11
- display : flex;
12
- flex-direction : column;
13
- width : 100% ;
14
- align-items : center;
15
- letter-spacing : 1.5px ;
16
- font-size : 27px ;
17
- }
18
-
19
10
.keyfeatures-box-container {
20
11
display : flex;
21
12
flex-wrap : wrap;
26
17
height : 175px ;
27
18
min-width : 275px ;
28
19
width : 325px ;
29
- margin : 30px 30 px 30 px 0 ;
20
+ margin : 30px auto ;
30
21
border-radius : 3px ;
31
22
}
32
23
66
57
}
67
58
}
68
59
69
- @media only screen and (max-width : 525px ) {
70
- .keyfeatures-header {
71
- flex-direction : column;
72
- }
73
- }
74
-
75
60
@media only screen and (max-width : 425px ) {
76
61
.keyfeatures .container {
77
62
align-items : center;
78
63
justify-content : center;
79
64
margin : 0 10% ;
80
65
}
81
-
82
- .keyfeatures-box-content {
83
- margin : 30px ;
84
- }
85
66
}
86
67
87
68
.keyfeatures-underline {
Original file line number Diff line number Diff line change 35
35
}
36
36
}
37
37
38
- @media only screen and (max-width : 1087 px ) {
38
+ @media only screen and (max-width : 1090 px ) {
39
39
.news-container {
40
40
flex-direction : column;
41
41
padding : 30px ;
Original file line number Diff line number Diff line change 24
24
height : 450px ;
25
25
min-width : 275px ;
26
26
width : 350px ;
27
- margin : 30px 30 px 30 px 0 ;
27
+ margin : 30px auto ;
28
28
border-radius : 3px ;
29
29
}
30
30
43
43
font-size : 14px ;
44
44
}
45
45
46
- @media only screen and (max-width : 1290 px ) {
46
+ @media only screen and (max-width : 1300 px ) {
47
47
.section3-box-container {
48
48
justify-content : center;
49
49
}
Original file line number Diff line number Diff line change 26
26
align-items : center;
27
27
}
28
28
29
-
30
29
.shell-content {
31
30
display : flex;
32
31
flex-direction : column;
33
- min-width : 500px ;
34
32
text-align : center;
35
33
}
36
34
57
55
left : 40% ;
58
56
}
59
57
58
+ .shell-title-container {
59
+ text-align : center;
60
+ align-items : center;
61
+ margin : 15px ;
62
+ min-width : 260px ;
63
+ }
64
+
60
65
.shell-title {
61
66
font-size : 35px ;
62
67
font-weight : bold;
171
176
font-size : 0.8em ;
172
177
}
173
178
179
+ .thebelab-input {
180
+ height : 190px ;
181
+ }
182
+
174
183
# demo-output-parent {
175
184
position : relative;
176
185
}
177
186
178
187
# demo-output {
179
188
position : absolute;
180
- top : 88px ;
181
189
}
182
190
183
- @media only screen and (max-width : 1100 px ) {
191
+ @media only screen and (max-width : 1090 px ) {
184
192
.numpy-shell-container {
185
193
flex-direction : column;
186
194
justify-content : space-around;
Original file line number Diff line number Diff line change 26
26
justify-content : center;
27
27
}
28
28
29
- .shell-title-container {
30
- text-align : center;
31
- margin : 15px ;
32
- }
33
-
34
29
.hero-content {
35
30
display : flex;
36
31
flex-direction : column;
54
49
display : flex;
55
50
font-family : 'Lato' , sans-serif;
56
51
font-weight : 900 ;
57
- font-size : 100 px ;
52
+ font-size : 6 em ;
58
53
}
59
54
60
55
.hero-logo {
63
58
}
64
59
65
60
.hero-subtitle {
66
- font-size : 18 px ;
61
+ font-size : 1 em ;
67
62
max-width : 550px ;
68
63
}
69
64
135
130
margin-left : 15px ;
136
131
}
137
132
138
- @media only screen and (max-width : 1100 px ) {
133
+ @media only screen and (max-width : 1090 px ) {
139
134
.hero-content {
140
135
flex-direction : column;
141
136
padding : 0 ;
@@ -154,37 +149,21 @@ p {
154
149
}
155
150
156
151
.hero-title {
157
- font-size : 80 px ;
152
+ font-size : 4 em ;
158
153
}
159
154
160
155
.hero-logo {
161
156
max-height : 60px ;
162
157
}
163
-
164
- .hero-subtitle {
165
- font-size : 16px ;
166
- }
167
158
}
168
159
169
160
@media only screen and (max-width : 400px ) {
170
- .hero-title {
171
- font-size : 70px ;
172
- }
173
-
174
161
.hero-logo {
175
162
max-height : 50px ;
176
163
}
177
-
178
- .hero-subtitle {
179
- font-size : 14px ;
180
- }
181
164
}
182
165
183
166
@media only screen and (max-width : 320px ) {
184
- .hero-title {
185
- font-size : 60px ;
186
- }
187
-
188
167
.hero-logo {
189
168
max-height : 40px ;
190
169
}
You can’t perform that action at this time.
0 commit comments