-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaidu.user.css
167 lines (137 loc) · 3.24 KB
/
baidu.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/* ==UserStyle==
@name 百度Reforged
@author Aiden
@namespace https://github.com/swhoro
@version 0.1.0
==/UserStyle== */
@-moz-document regexp('https://www.baidu.com/s\?\&?((wd)|(ie)|(tn))=.*') {
/* 头栏 */
div#head {
background-color: #f7f7f7;
}
div.s_form {
padding: 0 !important;
display: flex;
justify-content: center;
}
a#result_logo {
position: absolute;
left: calc((100% - 43.3vw) / 2 - 7vw);
}
form#form {
margin: 15px auto;
width: 43.3vw;
}
span.s_ipt_wr {
width: 35.8vw !important;
}
span.s_btn_wr {
width: 7.3vw !important;
}
/* Tab栏 */
div.s_tab {
padding-left: 0 !important;
background-color: #f7f7f7 !important;
}
div.s_tab_inner {
width: 43.3vw !important;
margin: 0 auto;
}
div.s_tab_inner a {
margin: 5px calc(((43.3vw / 10) - 44px) / 2) !important;
}
div.s_tab_inner b {
margin: 5px calc(((43.3vw / 10) - 44px) / 2) !important;
}
/* 搜索工具 */
/* 未打开搜索工具 */
div.nums {
margin: 0 auto !important;
width: 43.3vw;
text-align: left;
}
/* 已打开搜索工具 */
div.search_tool_conter {
margin: 0 auto !important;
width: 43.3vw;
text-align: left;
}
/* 简单移除右侧广告 */
div#content_right {
display: none;
}
/* 搜索结果 */
div#wrapper_wrapper {
background-color: #f7f7f7;
}
div#container {
margin: 0 auto !important;
text-align: center;
}
div#content_left {
margin: 0 auto;
width: calc(40vw + 60px) !important;
padding: 0 !important;
float: none;
display: flex;
flex-direction: column;
justify-content: center;
}
div#content_left>div.c-container {
text-align: left;
width: 40vw;
transition-duration: 0.4s;
padding: 25px 30px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
border-radius: 4px;
}
div#content_left>div.c-container:hover {
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16);
}
div#content_left>div.c-container h3 {
font-size: 16px !important;
}
div.c-container>div.c-container {
margin-bottom: 0 !important;
}
div.c-border {
border-color: #f7f7f7 !important;
box-shadow: none !important;
}
/* 搜索结果中标题下划线 */
div.c-container h3 a,
div.c-container h3 em {
text-decoration: none !important;
}
ul.subLink_answer a,
ul.subLink_answer a>em {
text-decoration: none;
}
/* 相关搜索 */
div#rs {
margin: 20px auto 0px auto !important;
background-color: #f7f7f7;
width: 44vw;
}
div#rs table {
width: 44vw !important;
}
div#rs table th {
text-align: center;
}
/* 页码 */
div#page {
text-align: center;
}
div.page-inner {
padding: 0 !important;
}
/* 页脚 */
div.foot-inner {
text-align: center;
}
span#help {
float: none !important;
padding-right: 150px;
}
}