Skip to content

Commit

Permalink
fix: desc & style
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer committed Aug 12, 2024
1 parent d120fe8 commit b995a44
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
17 changes: 11 additions & 6 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ div[id]>*:first-child {
display: block;
}

.news {
width: calc((100vw - 1000px) / 2 - 5px);
top: 3%;
height: 80%;
background: rgba(17, 17, 17, 0.4);
position: fixed;
}

.page-content {
max-width: min(1000px, 100vw);
margin: 0 auto;
Expand Down Expand Up @@ -319,10 +327,7 @@ hr {
}

summary {
display: block; /** 用于隐藏默认的小三角 */
}

summary {
display: block; /* 用于隐藏默认的小三角 */
margin-left: 1.5em;
}

Expand All @@ -339,7 +344,7 @@ summary::before {

details {
max-height: 1em;
transition: all 1s;
transition: max-height 2s;
}

details a.button {
Expand All @@ -348,7 +353,7 @@ details a.button {
}

details[open] {
max-height: 1000px;
max-height: 2000px;
}

details[open] a.button {
Expand Down
26 changes: 13 additions & 13 deletions data/utilityWebsite.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"官方网站 (©Mojang/©微软)": [
["Minecraft", "https://www.minecraft.net"],
["Minecraft教育版", "https://education.minecraft.net/"],
["Minecraft教育版", "https://education.minecraft.net/", "大陆访问可能会出现404"],
["漏洞追踪器", "https://bugs.mojang.com", "Mojira,用于反馈Bug"],
["基岩版开发者文档", "https://learn.microsoft.com/minecraft/creator/"],
["Feedback", "https://feedback.minecraft.net"],
Expand Down Expand Up @@ -50,7 +50,7 @@
{
"资源板块": [
["导航网", "https://www.mcnav.net", "MCNav"],
["下载基岩版", "#基岩版启动器/版本库", "含破解版"],
["下载基岩版", "#基岩版启动器/版本库", "含正版和破解版"],
["IMC.RE", "https://imc.re"],
["地球资源社区", "https://www.planetminecraft.com"],
["基岩版地球资源社区", "https://mcpe-planet.com"],
Expand Down Expand Up @@ -181,17 +181,17 @@
},
{
"加载器 (模组/光影)": [
["Forge", "https://www.minecraftforge.net", "模组加载器"],
["NeoForge", "https://neoforged.net", "模组加载器"],
["Fabric", "https://fabricmc.net", "模组加载器"],
["Legacy Fabric", "https://legacyfabric.net/", "模组加载器"],
["Quilt", "https://quiltmc.org", "模组加载器"],
["LiteLoader", "https://www.liteloader.com", "模组加载器"],
["Rift", "https://www.curseforge.com/minecraft/mc-mods/rift", "模组加载器"],
["Iris", "https://www.irisshaders.dev", "光影加载器"],
["OptiFine", "https://www.optifine.net", "光影加载器"],
["OptiFine(中文)", "https://optifine.cn", "光影加载器"],
["Canvas", "https://modrinth.com/mod/canvas", "光影加载器"]
["Forge", "https://www.minecraftforge.net", "模组加载器(远古版本起)"],
["NeoForge", "https://neoforged.net", "模组加载器(1.20.1+)"],
["Fabric", "https://fabricmc.net", "模组加载器(1.14+)"],
["Legacy Fabric", "https://legacyfabric.net/", "模组加载器(1.2.5-1.13.2)"],
["Quilt", "https://quiltmc.org", "模组加载器(1.14+)"],
["LiteLoader", "https://www.liteloader.com", "模组加载器(1.3.2-1.12.2)"],
["Rift", "https://www.curseforge.com/minecraft/mc-mods/rift", "模组加载器(1.13-1.13.2)"],
["Iris", "https://www.irisshaders.dev", "光影加载器(1.16+)"],
["OptiFine", "https://www.optifine.net", "光影加载器(远古版本-1.20.6)"],
["OptiFine(中文)", "https://optifine.cn", "光影加载器(远古版本-1.20.6)"],
["Canvas", "https://modrinth.com/mod/canvas", "光影加载器(1.14-1.20.2)"]
]
},
{
Expand Down

0 comments on commit b995a44

Please sign in to comment.