Skip to content

Commit

Permalink
chore: footer
Browse files Browse the repository at this point in the history
  • Loading branch information
eallion committed Oct 26, 2024
1 parent 97b33e7 commit 0a8b15b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,19 @@ footer nav ul {
text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.75), 1px -1px 0 rgba(255, 255, 255, 0.75), -1px 1px 0 rgba(255, 255, 255, 0.75), 1px 1px 0 rgba(255, 255, 255, 0.75);
}

#site-footer nav {
display: flex;
flex-direction: row;
}
@media screen and (max-width: 640px){
#site-footer nav {
flex-direction: column;
}
#site-footer nav ul:nth-child(2){
margin-top: 1.5rem;
}
}

#site-footer nav ul li a {
white-space: nowrap;
}
Expand Down
4 changes: 4 additions & 0 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@
# pageRef = "milestone"
# weight = 40

[[footer]]
name = "</ul><ul class='flex flex-col list-none sm:flex-row'>"
weight = 49

[[footer]]
name = "Stats"
pageRef = "stats"
Expand Down
4 changes: 4 additions & 0 deletions config/_default/menus.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@
# pageRef = "milestone"
# weight = 40

[[footer]]
name = "</ul><ul class='flex flex-col list-none sm:flex-row'>"
weight = 49

[[footer]]
name = "统计"
pageRef = "stats"
Expand Down

0 comments on commit 0a8b15b

Please sign in to comment.