Skip to content

Commit

Permalink
feat: nonbot pledged
Browse files Browse the repository at this point in the history
  • Loading branch information
eallion committed Sep 5, 2024
1 parent 9985734 commit f7d9f25
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 92 deletions.
15 changes: 0 additions & 15 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3330,21 +3330,6 @@ body button {
display:none
}

/* Hamburger menu */

body:has(#menu-controller:checked) {
overflow-y:hidden
}

#menu-button:has(#menu-controller:checked) {
visibility:hidden
}

#menu-controller:checked~#menu-wrapper {
visibility:visible;
opacity:1
}

/* RTL support */

.prose blockquote:where([dir="rtl"], [dir="rtl"] *) {
Expand Down
11 changes: 11 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ footer nav ul {
padding: 0;
width: 131px;
height: 42px;
background-repeat: no-repeat;
}

.notbyai.written {
Expand All @@ -522,6 +523,16 @@ footer nav ul {
background-image: url(/assets/images/not-by-ai/painted-by-human/svg/painted-by-human-not-by-ai-badge-black.svg);
}

.nonbot {
display: block;
margin: -10px;
padding: 0;
width: 67px;
height: 58px;
background-repeat: no-repeat;
background-image: url(/assets/images/nonbot/nonbot_pledged_logo.svg);
}

/* 顶部进度条css */
#content_progress {
/* Positioning */
Expand Down
81 changes: 43 additions & 38 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,43 +122,48 @@
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.

[[footer]]
name = "<div id='notbyai' class='notbyai written'></div>"
url = "https://notbyai.fyi"
weight = 10

# [[footer]]
# name = "Mastodon"
# pageRef = "mastodon"
# weight = 20
[[footer]]
name = "<div id='notbyai' class='notbyai written'></div>"
url = "https://notbyai.fyi"
weight = 10

[[footer]]
name = "<div id='nonbot' class='nonbot'></div>"
url = "https://nonbot.org/pledged/view/9cefed7c-dc57-4832-84ec-197314fda979"
weight = 11

# [[footer]]
# name = "Mastodon"
# pageRef = "mastodon"
# weight = 20
#
# [[footer]]
# name = "Media"
# pageRef = "media"
# weight = 30
# [[footer]]
# name = "Media"
# pageRef = "media"
# weight = 30
#
# [[footer]]
# name = "Milestone"
# pageRef = "milestone"
# weight = 40

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

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

[[footer]]
name = "About"
pageRef = "about"
weight = 90

[[footer]]
pre = "rss"
name = "RSS"
url = "https://www.eallion.com/rss"
weight = 99
# [[footer]]
# name = "Milestone"
# pageRef = "milestone"
# weight = 40

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

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

[[footer]]
name = "About"
pageRef = "about"
weight = 90

[[footer]]
pre = "rss"
name = "RSS"
url = "https://www.eallion.com/rss"
weight = 99
81 changes: 43 additions & 38 deletions config/_default/menus.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,43 +122,48 @@
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.

[[footer]]
name = "<div id='notbyai' class='notbyai written'></div>"
url = "https://notbyai.fyi"
weight = 10

# [[footer]]
# name = "嘀咕"
# pageRef = "mastodon"
# weight = 20
[[footer]]
name = "<div id='notbyai' class='notbyai written'></div>"
url = "https://notbyai.fyi"
weight = 10

[[footer]]
name = "<div id='nonbot' class='nonbot'></div>"
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 = "media"
# weight = 30
#
# [[footer]]
# name = "里程碑"
# pageRef = "milestone"
# weight = 40

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

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

[[footer]]
name = "关于"
pageRef = "about"
weight = 90

[[footer]]
pre = "rss"
name = "RSS"
url = "https://www.eallion.com/rss"
weight = 99
# [[footer]]
# name = "里程碑"
# pageRef = "milestone"
# weight = 40

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

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

[[footer]]
name = "关于"
pageRef = "about"
weight = 90

[[footer]]
pre = "rss"
name = "RSS"
url = "https://www.eallion.com/rss"
weight = 99
1 change: 1 addition & 0 deletions static/assets/images/nonbot/nonbot_pledged_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion themes/blowfish

0 comments on commit f7d9f25

Please sign in to comment.