diff --git a/resources/bot/help/help.css b/resources/bot/help/help.css index ea2a7f6..c004e92 100644 --- a/resources/bot/help/help.css +++ b/resources/bot/help/help.css @@ -1,46 +1,43 @@ +:root { + --dark: #e0dad3; + --light: #f0ece8; + --white: #f5f5f5; + --grey: #6c6c6c; +} + body { background-color: rgba(253, 253, 253, 0.75); } -#container { - max-width: 768px; +.header { + background-image: url(background/2020021114213984258.png); + box-shadow: 0 2px 4px rgb(0 0 0 / 10%); } -.info { - background: url(background/2020021114213984258.png) no-repeat center; +.box { + border: 1px solid var(--dark); + background-color: var(--light); box-shadow: 0 2px 4px rgb(0 0 0 / 10%); - background-size: 780px 120px; } .command-title { text-align: center; - line-height: 40px; - border: 1px solid #e0dad3; + line-height: 3rem; + border: 1px solid var(--dark); } .command-title h1 { margin: 2px; - background-color: #e0dad3; + background-color: var(--dark); } .command { flex: 1 1 0; border-radius: 0.75rem; - padding: 5px; - margin: 10px; - background: #f5f5f5; - border: 1px solid #e0dad3; - box-shadow: 0 2px 4px rgb(0 0 0 / 10%); - -} - -.command i { - margin-left: 0.5rem; -} - -.base-command { - border: 1px solid #e0dad3; - background-color: #f0ece8; + padding: 0.3rem 0.5rem; + margin: 0.6rem; + background: var(--white); + border: 1px solid var(--dark); box-shadow: 0 2px 4px rgb(0 0 0 / 10%); } @@ -67,24 +64,26 @@ body { } .command-name { - font-size: 1.25rem; - line-height: 1.75rem; + font-size: 1.5rem; + line-height: 2rem; margin: 4px; + font-family: Menlo, ui-monospace, SFMono-Regular, Monaco, Consolas, Liberation Mono, Courier New, monospace; + display: flex; + justify-content: space-between; +} + +.command-name i { + font-size: 1.2rem; + opacity: 0.4; } .command-description { - font-size: 1rem; + font-size: 1.2rem; line-height: 1.5rem; margin: 4px; + color: #6c6c6c; } .about { - text-align: center; - line-height: 40px; - border: 1px solid #e0dad3; -} - -.about h1 { - margin: 2px; - background-color: #e0dad3; + background-color: var(--dark); } diff --git a/resources/bot/help/help.html b/resources/bot/help/help.html index 7e68d37..ce9ad58 100644 --- a/resources/bot/help/help.html +++ b/resources/bot/help/help.html @@ -1,142 +1,139 @@
- +需要绑定Cookie
+