adjust dark mode and layout

This commit is contained in:
鲁树人
2025-05-18 23:18:01 +09:00
parent 6cb1f9f87f
commit 3ab73d8369
16 changed files with 53 additions and 45 deletions
@@ -48,6 +48,11 @@ export function AdbInstructionTemplate({ dir, file, platform }: AdbInstructionTe
<SyntaxHighlighter language={language} style={hljsStyleGitHub}>
{command}
</SyntaxHighlighter>
<br />※ 安卓模拟器可能需要额外操作,如
<ExtLink className="text-nowrap" href="https://g.126.fm/04jewvw">
网易 MuMu 模拟器
</ExtLink>
需要提前使用 <code>adb connect ...</code> 指令连接模拟器。详细请参考官方说明文档并调整上述脚本。
</li>
<li>
提交当前目录下的 <code>{file}</code> 文件。
+3 -3
View File
@@ -8,7 +8,7 @@ export interface HeaderProps {
export function Header3({ children, className, id }: HeaderProps) {
return (
<h3 id={id} className={`text-2xl pt-3 pb-1 font-bold border-b border-base-300 text-neutral-800 ${className}`}>
<h3 id={id} className={`text-2xl pt-3 pb-1 font-bold border-b border-base-300 ${className}`}>
{children}
</h3>
);
@@ -16,7 +16,7 @@ export function Header3({ children, className, id }: HeaderProps) {
export function Header4({ children, className, id }: HeaderProps) {
return (
<h4 id={id} className={`text-xl pt-3 pb-1 font-semibold text-neutral-800 ${className}`}>
<h4 id={id} className={`text-xl pt-3 pb-1 font-semibold ${className}`}>
{children}
</h4>
);
@@ -24,7 +24,7 @@ export function Header4({ children, className, id }: HeaderProps) {
export function Header5({ children, className, id }: HeaderProps) {
return (
<h5 id={id} className={`text-lg pt-3 pb-1 font-semibold text-neutral-800 ${className}`}>
<h5 id={id} className={`text-lg pt-3 pb-1 font-semibold ${className}`}>
{children}
</h5>
);