Skip to content

Commit 7be5fe7

Browse files
committed
移动端样式调整
1 parent b584bbd commit 7be5fe7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

template/header.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
5+
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
66
<meta name="description" content="<%=describe.n?describe.n+':':''%><%=describe.d?describe.d+' - ':''%>最专业的Linux命令大全,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。">
77
<meta name="keywords" content="Linux,Command,命令大全,Linux命令手册<%=describe.n?','+describe.n:''%>">
88
<title><%=describe.n?describe.n+' - ':''%>Linux Command</title>

template/styl/index.styl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ a.github-corner {
9090
transition border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s
9191
}
9292
.query{
93+
resize: none;
9394
position relative
9495
z-index 2
9596
width 100%
@@ -103,6 +104,7 @@ a.github-corner {
103104
background-image none
104105
border 1px solid $border-color
105106
border-radius 5px 0 0 5px
107+
-webkit-appearance: none;
106108
&:focus{
107109
z-index 99
108110
border-color #66afe9
@@ -233,16 +235,18 @@ a.github-corner {
233235
@media mq-mobile{
234236
.header{
235237
width inherit
238+
}
239+
.header_list{
236240
.logo svg{
237-
height: 26px;
241+
// height: 26px;
238242
width: 96px;
239243
}
240244
.search {
241245
.query{
242-
height: 34px;
246+
// height: 34px;
243247
}
244248
.enter-input button{
245-
padding: 6px 12px;
249+
padding: 9px 14px;
246250
}
247251
}
248252
}

0 commit comments

Comments
 (0)