File tree Expand file tree Collapse file tree 11 files changed +50
-16
lines changed Expand file tree Collapse file tree 11 files changed +50
-16
lines changed Original file line number Diff line number Diff line change 2
2
Home : /
3
3
Archives : /archives
4
4
rss : /atom.xml
5
- banner : /image/amfoss-dark.png
5
+ banner :
6
6
subtitle : The official blog page of amFOSS
7
7
favicon : /image/favicon.jpg
8
8
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Internal Events
3
+ layout : category
4
+ category : events
5
+ ---
Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ layout: page
6
6
- [ Hackathons] ( hackathons/ )
7
7
- [ GSoC] ( GSoC/ )
8
8
- [ Projects] ( projects/ )
9
+ - [ Internships] ( internships/ )
10
+ - [ Events] ( events/ )
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Internships
3
+ layout : category
4
+ category : internships
5
+ ---
Original file line number Diff line number Diff line change @@ -86,4 +86,4 @@ valine:
86
86
avatar : mm # gravatar style https://valine.js.org/#/avatar
87
87
lang : zh-cn # i18n: zh-cn/en
88
88
placeholder : Just go go # valine comment input placeholder(like: Please leave your footprints )
89
- guest_info : nick,mail,link # valine comment header info
89
+ guest_info : nick,mail,link # valine comment header info
Original file line number Diff line number Diff line change 6
6
<div id =" header-outer" class =" outer" >
7
7
<div id =" header-title" class =" inner" >
8
8
<% if (theme .subtitle || config .subtitle ) { % >
9
- < h2 id= " subtitle-wrap" >
10
- < span id= " subtitle" >< %= theme .subtitle || config .subtitle % >< / span>
11
- < / h2>
9
+ < div id= " subtitle-container" >
10
+ < h2 id= " subtitle-wrap" >
11
+ < span id= " subtitle" >< %= theme .subtitle || config .subtitle % >< / span>
12
+ < / h2>
13
+ < / div>
12
14
< % } %>
13
15
</div >
14
16
<div id =" header-inner" class =" inner" >
15
17
<nav id =" main-nav" >
16
- <button id =" theme-toggle" onclick =" toggleTheme()" >
17
- <i class =" material-icons" id =" theme-icon" >sunny</i >
18
- </button >
19
18
<a id =" main-nav-toggle" class =" nav-icon" ><span class =" fa fa-bars" ></span ></a >
20
19
<% for (var i in theme .menu ) { % >
21
20
< a class = " main-nav-link" href= " <%- url_for(theme.menu[i]) %>" >< %= i % >< / a>
22
21
< % } %>
22
+ <button id =" theme-toggle" onclick =" toggleTheme()" >
23
+ <i class =" material-icons" id =" theme-icon" >sunny</i >
24
+ </button >
23
25
</nav >
24
26
<nav id =" sub-nav" >
25
27
<% if (theme .links ) { % >
Original file line number Diff line number Diff line change 4
4
show_count: false ,
5
5
class: ' article-category' ,
6
6
style: ' none' ,
7
- separator: ' ►'
7
+ separator: ' ►' ,
8
+ depth: 1
8
9
}) % >
9
10
< / div>
10
11
< % } %>
Original file line number Diff line number Diff line change 2
2
< div class = " widget-wrap" >
3
3
< h3 class = " widget-title" >< %= __ (' categories' ) % >< / h3>
4
4
< div class = " widget widget-category" >
5
- < %- list_categories ({show_count: theme . show_count }) % >
5
+ < %- list_categories ({show_count: true , depth : 1 }) % >
6
6
< / div>
7
7
< / div>
8
8
< % } %>
Original file line number Diff line number Diff line change 18
18
#header-outer
19
19
height : 100%
20
20
21
- button
22
-
23
21
#header-inner
24
22
position : relative
25
23
overflow : hidden
26
24
z-index : 1 ;
27
25
28
26
#logo-image
27
+ padding-top : 35px
28
+ padding-bottom : 35px
29
29
display : block
30
30
margin : 0 auto
31
31
max-width : 100%
32
32
33
33
#header-title
34
34
text-align : center
35
35
36
+ #main-nav {
37
+ display : flex ;
38
+ justify-content : space-between ;
39
+ align-items : center ;
40
+ padding : 0 ;
41
+ margin : 0 ;
42
+ border : 0px ;
43
+ background : transparent ;
44
+ left : 10px ;
45
+ }
46
+
36
47
#logo
37
48
text-decoration : none
38
49
color : black
@@ -158,8 +169,11 @@ $nav-link
158
169
cursor : pointer
159
170
& :hover , & :focus
160
171
color : #7 7 7
161
-
172
+
162
173
@media (max-width : 768px )
163
174
#banner
164
175
width : 100%
165
176
top : 10%
177
+
178
+ #subtitle
179
+ display : none
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ body.light-mode {
7
7
#theme-toggle {
8
8
background : transparent ;
9
9
border :0px ;
10
- left :10px ;
11
- top :5px ;
10
+ cursor : pointer ;
12
11
}
13
12
14
13
body .dark-mode #theme-toggle {
@@ -27,6 +26,8 @@ body.dark-mode #subtitle {
27
26
color : white ;
28
27
}
29
28
29
+
30
+
30
31
body .dark-mode {
31
32
background-color : #12 12 12 ;
32
33
color : #e0 e0 e0 ;
@@ -61,6 +62,11 @@ body.dark-mode .article-footer {
61
62
background-color : #2b 2f 31 ;
62
63
}
63
64
65
+ body .dark-mode .archive-article-inner
66
+ body .dark-mode .archive-article-header {
67
+ background-color : #22 24 26 ;
68
+ }
69
+
64
70
body .dark-mode .e-content article -entry {
65
71
color : #ae b6 bf ;
66
72
}
You can’t perform that action at this time.
0 commit comments