让百度搜索后的布局居中了
百度搜索布局居中 by GavoidPro
Details
AuthorGavoidPro
LicenseNo License
Categorywww.baidu.com
Created
Updated
Size664 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name 百度搜索居中
@version 20230827.07.15
@namespace userstyles.world/user/GavoidPro
@description 让百度搜索后的布局居中了
@author GavoidPro
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://www.baidu.com/") {
/*主体 居中*/
#container.sam_newgrid{
margin-left:50%;
left: -544px;
}
/*主体上推荐词 居中*/
.wrapper_l .tag-wrapper_1sGop {
margin: 0 auto;
}
/*搜索类别 居中*/
.wrapper_new #s_tab{
margin: 0 auto;
width: 1240px;
}
/*搜索框 居中*/
.wrapper_new .fm{
margin-left: 50%;
left: -657px;
}
}