更新:设置页中英文文档

This commit is contained in:
hhhkkk520 2022-05-23 16:12:04 +02:00
parent c892459297
commit a0738237ca
2 changed files with 13 additions and 5 deletions

View File

@ -42,7 +42,7 @@ Since the code of different themes is different, if you really need to modify th
</style> </style>
``` ```
#### Example of modifying DayNight theme progress bar color and footer (by [@hyt-allen-xu](https://github.com/hyt-allen-xu)) #### Example of modifying DayNight theme progress bar color and footer (by [@hyt-allen-xu](https://github.com/hyt-allen-xu) [@tech-fever](https://github.com/tech-fever))
```html ```html
<style> <style>
@ -50,12 +50,16 @@ Since the code of different themes is different, if you really need to modify th
background-color: #00a7d0 !important; background-color: #00a7d0 !important;
} }
</style> </style>
<script> <script>
window.onload = function(){ window.onload = function(){
var avatar=document.querySelector("img")
var footer=document.querySelector("div.footer-container") var footer=document.querySelector("div.footer-container")
footer.innerHTML="©2022 "your name" & Powered by "your name" footer.innerHTML="©2021 YourName & Powered by YourName"
footer.style.visibility="visible" footer.style.visibility="visible"
} avatar.src="Logo URL"
avatar.style.visibility="visible"
}
</script> </script>
``` ```

View File

@ -42,7 +42,7 @@
</style> </style>
``` ```
#### DayNight 主题更改进度条颜色、修改页脚示例(来自 [@hyt-allen-xu](https://github.com/hyt-allen-xu) #### DayNight 主题更改进度条颜色、修改页脚示例(来自 [@hyt-allen-xu](https://github.com/hyt-allen-xu) [@tech-fever](https://github.com/tech-fever)
```html ```html
<style> <style>
@ -50,12 +50,16 @@
background-color: #00a7d0 !important; background-color: #00a7d0 !important;
} }
</style> </style>
<script> <script>
window.onload = function(){ window.onload = function(){
var avatar=document.querySelector("img")
var footer=document.querySelector("div.footer-container") var footer=document.querySelector("div.footer-container")
footer.innerHTML="©2021 你的名字 & Powered by 你的名字" footer.innerHTML="©2021 你的名字 & Powered by 你的名字"
footer.style.visibility="visible" footer.style.visibility="visible"
} avatar.src="你的图片连接"
avatar.style.visibility="visible"
}
</script> </script>
``` ```