File tree Expand file tree Collapse file tree 2 files changed +38
-14
lines changed Expand file tree Collapse file tree 2 files changed +38
-14
lines changed Original file line number Diff line number Diff line change 1
1
* {
2
2
box-sizing : border-box;
3
+ margin : 0 ;
4
+ padding : 0 ;
3
5
}
4
6
5
7
h1 , h2 , h3 { font-weight : 300 ; }
9
11
flex-direction : column;
10
12
align-items : center;
11
13
min-height : 100vh ;
14
+ font-family : "Open Sans" , "DejaVu Sans" , sans-serif;
12
15
}
13
16
14
17
main {
@@ -41,10 +44,9 @@ footer {
41
44
}
42
45
43
46
.nav-link {
44
- font-family : "Open Sans" , "DejaVu Sans" , sans-serif;
45
- font-weight : 400 ;
46
- font-style : normal;
47
- color : rgba (0 , 0 , 0 , .8 );
47
+ font-weight : 400 ;
48
+ font-style : normal;
49
+ color : rgba (0 , 0 , 0 , .8 );
48
50
text-decoration : none;
49
51
}
50
52
@@ -59,7 +61,6 @@ footer {
59
61
60
62
.footer-link {
61
63
padding-left : 2ch ;
62
- font-family : "Open Sans" , "DejaVu Sans" , sans-serif;
63
64
font-weight : 600 ;
64
65
font-style : normal;
65
66
text-decoration : none;
@@ -72,6 +73,21 @@ footer > p {
72
73
margin-bottom : 0 ;
73
74
}
74
75
76
+ .greeting {
77
+ margin-top : 3em ;
78
+ margin-bottom : 3em ;
79
+ text-align : center;
80
+ }
81
+
82
+ .greeting > h1 {
83
+ font-weight : bold;
84
+ font-size : 3em ;
85
+ }
86
+
87
+ .greeting > p {
88
+ font-size : 2em ;
89
+ }
90
+
75
91
.post-list {
76
92
margin-left : 0 ;
77
93
list-style : none;
Original file line number Diff line number Diff line change 2
2
layout: default
3
3
---
4
4
5
+ < section class ="greeting ">
6
+ < h1 > rust-analyzer</ h1 >
7
+
8
+ < p >
9
+ Bringing < em > great</ em > IDE experience to the Rust programming language.
10
+ </ p >
11
+ </ section >
12
+
13
+
5
14
< ul class ="post-list ">
6
- {% for post in site.posts %}
7
- < li >
8
- < span class ="post-meta "> {{ post.date | date: "%b %-d, %Y" }}</ span >
9
-
10
- < h2 >
11
- < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
12
- </ h2 >
13
- </ li >
14
- {% endfor %}
15
+ {% for post in site.posts %}
16
+ < li >
17
+ < span class ="post-meta "> {{ post.date | date: "%b %-d, %Y" }}</ span >
18
+ < h2 >
19
+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
20
+ </ h2 >
21
+ </ li >
22
+ {% endfor %}
15
23
</ ul >
You can’t perform that action at this time.
0 commit comments