贴吧PC版移动端排版
贴吧PC版移动端排版 by liweishu
Details
Authorliweishu
LicenseNo License
Categorytieba.baidu.com
Created
Updated
Size4.0 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name 贴吧PC版移动端精简排版
@version 20231210.09.23
@namespace ?
==/UserStyle== */
@-moz-document url-prefix("https://tieba.baidu.com/p/") {
body{
width: 100vw !important;
overflow: visible;
}
.userbar{
position: static !important;
float: right !important;
}
.wrap1{
position: static !important;
margin: 33px 0px !important;
max-width: 980px !important;
}
.wrap2{
padding-bottom: 0px;
}
#head,.search_top,.search_nav,.search_main{
height: auto !important;
}
.head_inner{
margin: 0px 5px;
}
/*头*/.search_top{
overflow: visible !important;
margin-bottom: 0px !important;
}
/*百度导航*/.search_nav,
/*容器*/#container,
/*页面内容*/.content,
/*吧头*/.card_top_theme2,
/*贴吧导航*/.nav_wrap_add_border,.nav_list,
/*链式消息*/.thread_theme_5,.thread_theme_7,
/*帖子主体*/#pb_content,
/*主题&功能*/#j_core_title_wrap,
/*各楼*/.l_post_bright,
/*底部*/.pb_footer,
/*回复*/#tb_rich_poster_container{
border-left: 0px !important;
border-right: 0px !important;
margin: 0px auto !important;
width:100%;
}
.search_nav{
font-size: 18px !important;
float: none;
text-align: center;
}
/*搜索--*/
.search_main{
padding: 1px 0px !important;
}
.search_form{
width:100% !important;
}
.search_logo{
margin: 0px 5px!important;
position: static!important;
margin-top: -9px !important;
}
.search_form{
margin: 0px 5px!important;
}
.search_form form,.search_bright .search_btn_wrap{
margin: 0px;
position: static;
}
.search_bright .search_ipt{
width: calc(100% - 377px) !important;
}
/*--搜索*/
/*左右版*/.left_section,.right_section,
/*标题*/.core_title_theme_bright .core_title_txt{
display: block !important;
float:none !important;
width:auto !important;
}
/*主题&功能*/#j_core_title_wrap{
position:static !important;
height: auto;
}
/*标题*/.core_title_theme_bright{
height: auto !important;
overflow: visible !important;
}
/*贴楼功能键 去浮动*/.core_title_theme_bright .core_title_btns{
margin: 5px 20px !important;
}
/*用户信息*/.d_author, .d_author_anonym{
width:10% !important;
max-width: 80px !important;
}
/*用户图——*/
.icon_relative{
padding: 0px;
}
.p_author_face,.p_author_face img{
width: 100%;
max-width: 80px;
height:10vw !important;
max-height: 80px !important;
border:0px !important;
padding: 0px !important;
}
/*——用户图*/
/*用户等级——*/
.d_badge_bright,.d_badge_title,.d_badge_lv{
margin-left: auto;
margin-right: auto;
}
.d_badge_bright{
width: auto;
}
.d_badge_title{
width: calc(100% - 25px) ;
}
.d_badge_lv{
width:25px ;
left: calc(100% - 25px) !important;
}
/*——用户等级*/
.d_post_content_main/*楼内容*/{
width:calc(90% - 20px) !important;
min-width: calc(100% - 100px) !important;
}
#tb_rich_poster_container/*回复*/,.poster_component{
padding-bottom: 0px!important;
width:630px;
}
#tb_rich_poster{
margin-left: 0px;
}
.tb_rich_poster .poster_head{
margin: 12px 0px 3px;
}
.editor_wrapper{
margin-left: 0px
}
/*隐藏--*/
/*topbar--*/.u_bdhome,.u_official,.u_member,/*--topbar*/
/*楼分享*/.share_btn_wrapper,
/*插楼广告*/.fengchao-wrap-feed,
/*右侧--*/#celebrity,#balv_mod,.app_download_box,/*--右侧*/
/*发帖特权特效*/.edui-btn-medal,
/*右浮工具*/.tbui_aside_float_bar,
/*底部空行?*/#lcsas-container,main.svelte-zmnt4x{
display: none !important;
}
/*--隐藏*/
@media screen and (max-width: 500px){
.search_form form{
text-align: center;
}
.search_logo{
float: none !important;
display: block;
margin: auto!important;
}
.search_bright .search_ipt{
float:none;
width: calc(100% - 29px) !important;
}
.search_bright .search_btn_wrap{
float: none;
margin: 0px 20px;
}
}
@media screen and (max-width: 630px){
.old_style_wrapper {
padding: calc((100% - 602px)/2);
}
}
@media screen and (max-width: 602px){
.old_style_wrapper{
width:100%;
padding: 0;
border-left: 0;
border-right: 0;
}
}
}