Skip to content

Commit

Permalink
style: footer
Browse files Browse the repository at this point in the history
  • Loading branch information
eallion committed Nov 27, 2024
1 parent c596e68 commit 1ae070a
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 37 deletions.
14 changes: 4 additions & 10 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,6 @@ blockquote a {
margin-bottom: 0;
}

footer nav ul {
display: flex !important;
flex-direction: row !important;
gap: 0.5rem !important;
}

.packery-drop-placeholder {
outline: 3px dashed hsla(0, 0%, 0%, 0.5);
Expand Down Expand Up @@ -509,24 +504,23 @@ footer nav ul {
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 .nonbot {
margin: 0 0 0 -10px;
}
}

#site-footer nav ul li a {
white-space: nowrap;
}

#site-footer div {
flex-wrap: wrap;
gap: 0.5rem;
}

.notbyai {
display: block;
margin: 0;
Expand Down
28 changes: 22 additions & 6 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
parent = "More"
# pageRef = "status"
pre = "external-link-alt"
url = "https://stats.uptimerobot.com/LvmZRfkNGP"
url = "https://stats.uptimerobot.com/LvmZRfkNGP/783953686"
weight = 80

[[main]]
Expand Down Expand Up @@ -147,20 +147,36 @@
# pageRef = "milestone"
# weight = 40

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

[[footer]]
name = "Stats"
pageRef = "stats"
weight = 50

[[footer]]
name = "Status"
url = "https://stats.uptimerobot.com/LvmZRfkNGP"
url = "https://stats.uptimerobot.com/LvmZRfkNGP/783953686"
weight = 51

[[footer]]
name = "Milestone"
pageRef = "milestone"
weight = 60

[[footer]]
name = "Copyright"
pageRef = "copyright"
weight = 61

[[footer]]
name = "Privacy Policy"
pageRef = "privacy-policy"
weight = 62

[[footer]]
name = "Links"
pageRef = "links"
weight = 63

[[footer]]
name = "About"
pageRef = "about"
Expand Down
43 changes: 22 additions & 21 deletions config/_default/menus.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
parent = "更多"
pre = "external-link-alt"
# pageRef = "status"
url = "https://stats.uptimerobot.com/LvmZRfkNGP"
url = "https://stats.uptimerobot.com/LvmZRfkNGP/783953686"
weight = 80

[[main]]
Expand Down Expand Up @@ -132,35 +132,36 @@
url = "https://nonbot.org/pledged/view/9cefed7c-dc57-4832-84ec-197314fda979"
weight = 11

# [[footer]]
# name = "嘀咕"
# pageRef = "mastodon"
# weight = 20
#
# [[footer]]
# name = "书影音"
# pageRef = "media"
# weight = 30
#
# [[footer]]
# name = "里程碑"
# pageRef = "milestone"
# weight = 40

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

[[footer]]
name = "统计"
pageRef = "stats"
weight = 50

[[footer]]
name = "状态"
url = "https://stats.uptimerobot.com/LvmZRfkNGP"
url = "https://stats.uptimerobot.com/LvmZRfkNGP/783953686"
weight = 51

[[footer]]
name = "里程碑"
pageRef = "milestone"
weight = 60

[[footer]]
name = "版权信息"
pageRef = "copyright"
weight = 61

[[footer]]
name = "隐私政策"
pageRef = "privacy-policy"
weight = 62

[[footer]]
name = "友情链接"
pageRef = "links"
weight = 63

[[footer]]
name = "关于"
pageRef = "about"
Expand Down

0 comments on commit 1ae070a

Please sign in to comment.