Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ai-astro
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liubinyu
ai-astro
Commits
b6f38543
Commit
b6f38543
authored
May 08, 2025
by
liubinyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机适配
parent
fe68d768
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
GHeader.vue
src/components/GHeader.vue
+31
-0
style.css
src/style.css
+6
-0
No files found.
src/components/GHeader.vue
View file @
b6f38543
...
...
@@ -184,4 +184,35 @@ const isLight = computed(() => locale.value !== 'En')
.gc-header.light
.right
.icon-lang
{
filter
:
contrast
(
0.1
);
}
@media
screen
and
(
max-width
:
750px
)
{
.gc-header
{
padding
:
0
8px
;
}
.gc-header
.logo
{
height
:
24px
;
}
.gc-header
.nav-list
{
margin
:
0
16px
;
}
.nav-list
.btn
{
min-width
:
40px
;
font-size
:
14px
;
margin-right
:
16px
;
}
.nav-list
.btn
.line
{
width
:
40px
;
height
:
2px
;
}
.right
.icon-lang
{
width
:
24px
;
height
:
24px
;
margin-right
:
8px
;
}
}
</
style
>
\ No newline at end of file
src/style.css
View file @
b6f38543
...
...
@@ -6,6 +6,12 @@
--layout-header-height
:
80px
;
}
@media
screen
and
(
max-width
:
750px
)
{
:root
{
--layout-header-height
:
50px
;
}
}
*
{
box-sizing
:
border-box
;
outline
:
none
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment