File tree 5 files changed +32
-9
lines changed
5 files changed +32
-9
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ params:
31
31
image : logos/numpy.svg
32
32
# Customizable navbar. For a dropdown, add a "sublinks" list.
33
33
news :
34
- title : NumPy News
34
+ title : NumPy v1.18.0
35
+ content : The C-API for numpy.random defined and documented - Basic infrastructure for linking with 64-bit BLAS and LAPACK - Improved documentation
35
36
36
37
shell :
37
38
title : placeholder
Original file line number Diff line number Diff line change 2
2
{{ partial "navbar.html" . }}
3
3
{{ partial "navbar-clone.html" . }}
4
4
{{ partial "hero-body.html" . }}
5
- {{ partial "hero-footer.html" . }}
6
5
</ section >
Original file line number Diff line number Diff line change 1
1
{{- $news := .Site.Params.news }}
2
2
{{- $title := index $news "title" }}
3
+ {{- $content := index $news "content" }}
3
4
4
5
< div class ="news-container ">
5
6
< div class ="news-title "> {{ $title }}</ div >
6
- < div class ="news-content "> NumPy News goes here </ div >
7
+ < div class ="news-content "> {{ $content }} </ div >
7
8
</ div >
Original file line number Diff line number Diff line change 1
1
.keyfeatures {
2
- margin-bottom : 30 px ;
2
+ margin : 50 px 0 ;
3
3
}
4
4
5
5
.keyfeatures .container {
66
66
}
67
67
}
68
68
69
-
70
69
@media only screen and (max-width : 525px ) {
71
70
.keyfeatures-header {
72
71
flex-direction : column;
Original file line number Diff line number Diff line change 1
1
.news-container {
2
2
display : flex;
3
- flex-direction : column ;
3
+ justify-content : center ;
4
4
align-items : center;
5
5
width : 100vw ;
6
6
min-height : 100px ;
7
+ background-color : # 013243 ;
8
+ color : white;
9
+ white-space : nowrap;
7
10
}
8
11
9
12
.news-title {
10
13
display : flex;
11
- flex-direction : column;
12
- width : 100% ;
13
- align-items : center;
14
14
letter-spacing : 1.5px ;
15
15
font-size : 27px ;
16
+ font-weight : bold;
17
+ margin : 10px ;
18
+ }
19
+
20
+ @media only screen and (max-width : 1300px ) {
21
+ .news-container {
22
+ white-space : unset;
23
+ }
24
+
25
+ .news-title {
26
+ text-align : center;
27
+ }
28
+ }
29
+
30
+ @media only screen and (max-width : 1087px ) {
31
+ .news-container {
32
+ flex-direction : column;
33
+ padding : 30px ;
34
+ }
35
+
36
+ .news-content {
37
+ text-align : center;
38
+ }
16
39
}
You can’t perform that action at this time.
0 commit comments