Skip to content

贴吧极简 by yim

Details

Authoryim

LicenseNo License

Categorynone

Created

Updated

Code size16 kB

Code checksum114d2851

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

clean up tieba

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           贴吧极简
@namespace      x
@version        1.0.0
@description    A new userstyle
@author         chor030@gmail.com
==/UserStyle== */
@-moz-document domain("tieba.baidu.com") {
	.forum_content .main {
		float: none !important;
		width: 100% !important;
	}

	.left_section {
		float: none !important;
		width: 100% !important;
	}

	.topic_list .topic_item,
	.threadlist_detail,
	.tb_icon_author_rely,
	.lzl_cnt,
	.l_post_bright {
		display: flex;
	}

	.directory-wraper,
	#tb_nav .j_search_internal_forum > input,
	.threadlist_bright .threadlist_media li {
		height: auto !important;
	}

	.threadlist_bright > li {
		border-bottom: none !important;
	}

	.p_reply,
	#tofrs_up,
	.tbui_fbar_post,
	.tb-panel,
	.p_author .d_nameplate,
	.interaction-bar .interaction-item,
	.interaction-bar,
	.lzl_cnt,
	.media_bigpic img,
	.forbid-speech-banner,
	.core_reply_wrapper,
	.core_reply_tail,
	.core_reply_content li,
	ul.p_tail > li,
	.threadlist_bright .media_box {
		margin: 0 !important;
	}

	/* .core_reply_content li, */
	.forbid-speech-banner,
	.threadlist_bright .media_disp {
		padding: 0 !important;
	}

	.lzl_insertsmiley_holder,
	.lzl_link_fold,
	.l_post_bright,
	.d_post_content_main,
	.media_bigpic_wrap img {
		width: auto !important;
		height: auto !important;
	}

	.d_post_content_main {
		flex: 1;
		position: unset !important;
		padding: 0 0 7px 2px !important;
	}

	#tb_nav,
	#head {
		height: auto;
	}

	.p_content {
		min-height: 0 !important;
	}

	.s_container {
		padding-top: 18px;
	}

	.head_main .head_content,
	.vote_info .vote_info_right,
	.s_h_title,
	.foot,
	.tb_rich_poster_container,
	.pb_footer > .p_thread,
	.frs_content_footer_pagelet {
		width: auto;
	}

	.replace_tip {
		border: none !important;
		opacity: .8;
		width: auto;
	}

	.tb-mt--12 {
		margin-top: 0 !important;
		top: 0 !important;
	}

	#threadListGroupCnt,
	.interview .threadListGroupCnt .listPostCnt,
	#listEditorCnt,
	.core_reply_wrapper,
	.core_reply_wrapper a,
	.core_title_absolute_bright .core_title_theme_bright,
	.core_title_wrap_bright {
		border: none !important;
	}

	.frs_content_footer_pagelet {
		display: flex;
		justify-content: center;
	}

	html,
	.content,
	.pb_content,
	.pb_footer,
	.forum_content,
	.center_text,
	.frs_content_footer_pagelet,
	.thread_theme_5,
	.pb_footer > .p_thread,
	.left_section,
	.lzl_link_fold,
	/* .core_reply_wrapper, */
	.d_badge_bright,
	.d_pb_icons,
	.p_author_face,
	#frs_list_pager a,
	.l_posts_num a,
	.l_post,
	.pager a,
	.post_bubble_top,
	.post_bubble_middle,
	.post_bubble_bottom,
	.tb-forum__wall,
	.lzl_panel_submit,
	#tb_nav,
	.nav_bar,
	.nav_bar > li > a,
	#container,
	.core_reply_content,
	.core_reply_border_top,
	.core_reply_content li,
	.userinfo_wrap,
	#ihome_nav_wrap,
	.tbnav_tab_inner,
	.ihome_nav_list .focus,
	.ihome_nav_list li:hover,
	.right_aside,
	.left_aside,
	body > .wrap1,
	.interview .threadListGroupCnt .listItemCnt,
	.blue_kit,
	.search_area,
	.blue_kit_btn:active,
	.tab_default .tab_item,
	.tb-page__header,
	.search,
	.d_post_content_main,
	#j_core_title_wrap,
	div.page-container,
	.sub_nav_wrap,
	.bang-bg,
	.tab_content .tab,
	.page-container .content-sec,
	.container,
	.bd,
	.aside .nav_item_link,
	.aside .child_nav_item.first_nav_item a,
	.aside .child_nav_item,
	.lzl_insertsmiley_holder,
	.topic-bg {
		background: none !important;
		border: none !important;
	}

	.alert-warning,
	.tbshare_popup_enter,
	.search_top.clearfix,
	.search_logo_fixed,
	.search_logo,
	.right_section,
	.poster_head_surveillance,
	.j_surveillance,
	/* .head_main, */
	.head_main .card_banner,
	.head_main .nav_list,
	#head > .head_inner,
	/* #tb_nav, */
	.u_split,
	.u_bdhome,
	.u_member,
	.u_username,
	.u_setting,
	#search_logo_small,
	#footer,
	div.page-footer,
	div.bottom-bg,
	#bds_share_more,
	#aside,
	.share_btn_wrapper,
	.post-foot-send-gift-container,
	.card_top_wrap,
	.tbui_fbar_down,
	.tbui_fbar_share,
	.tbui_fbar_favor,
	.tbui_fbar_favor,
	.tbui_fbar_props,
	.tbui_fbar_tsukkomi,
	.tbui_fbar_feedback,
	.tbui_aside_float_bar,
	.bus-top-activity-wrap,
	#thread_list > div,
	div[data-metadata]:not([data-metadata=""]),
	.tbui_fbar_auxiliaryCare,
	.img-open-app,
	.recommend-title,
	.recommend-list,
	.nav-bar-v2-fixed,
	.u_official,
	div.d_post_content ~ div,
	.p_postlist > div:not(.l_post),
	.l_post > div:not(.d_author):not(.d_post_content_main),
	div[ad-dom-img],
	.skeleton-wrapper,
	.tb-forum,
	.pull-info,
	#replySwitch > .only-lz,
	.comment-box,
	.open-app-text,
	div:has(>.more-image-desc-text),
	.feed-warp,
	.tb-totop,
	.tb_poster_placeholder,
	/* #tb_nav > form > button, */
	#tb_nav .nav_list,
	ul.p_author > li.d_name ~ li,
	div.s_aside,
	.threadlist_bright .frs_bright_icons,
	/* .nav_wrap, */
	body > div.clearfix:has(> img.close_btn),
	#selectsearch-icon,
	div.user-hide-post-action,
	div.user-hide-post-down,
	img.icon-jubao,
	span.lzl_jb,
	span.question-image,
	/* span.tail-info, */
	/* .post-tail-wrap > span:nth-of-type(n-2), */
	.post-tail-wrap > span,
	.core_reply_border_bottom,
	.achievement_medal_section,
	.core_reply_tail > .ip-location,
	.core_reply_tail > .p_mtail,
	.p_content > br,
	#thread_top_list,
	#thread_theme_5,
	#user_visit_card,
	main.svelte-zmnt4x,
	#pc2client,
	#banner_pb_customize,
	#frs_nav > .frs_nav_tools,
	.p_author > .icon,
	.lzl_p_p,
	.post_bubble_top,
	.post_bubble_bottom,
	.core_reply_tail .p_props_tail,
	#thread_theme_7,
	#lu-user-right,
	.tb_slogan,
	.sug_hot_recommend,
	.sug_hot_recommend ~ .sug_region_body,
	.user-line > .avatar,
	.tb-media--xs .tb-media__left,
	.tb_icon_author,
	.tb_icon_author_rely,
	.d_post_content ~ br,
	.core_title_btns,
	div.hot-wraper,
	p.footer404,
	div.top-sec,
	div.r-top-sec,
	div#notice_item,
	.fengchao-banner-defensive,
	.banner-wrapper-defensive,
	.app_download_box,
	.save_face_bg,
	.tittle_fill_dom,
	.cmt-large-cut-guide,
	.lzl_li_pager_s,
	.emotion_preview,
	ul.p_tail > li:first-child,
	.twentieth-banner,
	.d_name_icon,
	.img-desc,
	div[id='pagelet_live/pagelet/live'],
	#div.header #plat_recom_carousel,
	div.header,
	div.suggestion,
	.tb-threadlist__item:has(.tb-line-title__badge),
	#spage_game_tab_wrapper,
	/* #tiebaCustomPassLogin, */
	.replace_div > .replace_tip,
	.search_btn_enter_ba_wrap,
	.s_inforum,
	a.j_p_rsv,
	div.search_main_wrap > p.switch_radios,
	.tbui_placeholder,
	.tb_rich_poster .title_container,
	#TANGRAM__PSP_5__qrcode,
	.tang-pass-footerBar,
	.custom-pass-link,
	div.tb-backflow-defensive,
	div.frs-wise-nav-bar,
	/* 	div.forum-head-container, */
	#bottomWrapper,
	#topWrapper ~ div,
	#realBar,
	div.top-thread-card-wrapper,
	div.top-bar-faker,
	div.nav-bar-wrap,
	.login.operation-area-login,
	div.load-more-mask,
	div.textarea-wake-wrap,
	div.recom-layout-container,
	div.load-wrapper,
	div.operate,
	.wake-app-btn .external-btn-class,
	li:has(> a.thumbnail) ~ li,
	.topic-header-img {
		display: none !important;
	}
	.tieba-custom-pass-login .tang-pass-login {
		display: unset !important;
		visibility: visible !important;
	}

	.post-page {
		padding: 0 !important;
		background: unset !important;
	}

	#tb_nav .j_search_internal_forum > input {
		/* width: 200px; */
		border: solid 1px #d9dbde !important;
		/*     line-height: unset; */
	}

	.suggestion {
		top: 32px !important;
	}

	#tb_nav .j_search_internal_forum {
		float: unset !important;
		display: flex !important;
		right: 0;
		height: auto;
		position: fixed;
		z-index: 10;
		margin: 40px 0 10px 0;
	}

	input::-webkit-input-placeholder {
		line-height: normal;
	}

	#tb_nav button.search_internal_btn {
		height: auto;
		background-image: none !important;
	}

	.btn_sub,
	.btn-sub,
	.btn-sub-b {
		color: unset;
	}

	#tb_nav button.search_internal_btn:after {
		content: ">"
	}

	#tb_nav {
		display: flex;
		justify-content: flex-end;
	}

	.d_post_content,
	div,
	body {
		line-height: unset !important;
		font-family: RobotoLight, "Open Sans", Arial, sans-serif !important;
	}


	.lzl_cnt {
		align-items: baseline;
	}

	.lzl_link_fold,
	.lzl_link_unfold,
	.p_reply,
	.lzl_cnt .lzl_content_reply {
		color: #666 !important;
		margin-left: auto;
		text-wrap: nowrap;
	}


	.threadlist_author {
		float: unset !important;
		/* 	display: flex; */
		/* 	justify-content: space-between; */
	}

	.threadlist_lz {
		display: flex;
		width: 100%;
	}

	.threadlist_bright .small_list_gallery,
	.threadlist_bright .threadlist_lz .tb_icon_author,
	.threadlist_author .frs-author-name-wrap,
	.threadlist_author {
		width: unset !important;
		max-width: unset !important;
	}

	.threadlist_author .frs-author-name {
		max-width: 9em !important;
	}

	.lzl_post_hidden {
		/* 	line-height: 2.3rrem; */
		display: unset;
	}

	.threadlist_text {
		float: unset !important;
		flex: 1 1 auto;
	}
	.threadlist_title,
	.threadlist_abs {
		width: auto !important;
		white-space: unset !important;
	}

	.post-item .content,
	.post_bubble_middle,
	.d_author,
	.d_author_anonym,
	.p_content,
	.icon_relative {
		padding: 0 !important;
	}

	.frs_content_footer_pagelet,
	.wrap2 {
		padding-bottom: 0;
	}

	#j_favthread .p_favthr_main {
		padding: 4px;
		background: none !important;
		border: 1px solid;
	}

	.p_author {
		text-align: left;
		overflow: hidden;
	}

	.core_reply {
		margin-top: 10px;
	}

	.core_reply_tail,
	.lzl_link_fold {
		line-height: unset !important;
	}

	.post-tail-wrap {
		display: flex;
		align-items: baseline;
		flex-direction: column;
		/* 	justify-content: space-between; */
		width: 100%;
	}

	li.d_name {
		height: 1.4rem;
		display: flex;
		/*  align-items: center;*/
	}

	.core_reply_tail {
		position: absolute;
		left: 0;
		bottom: 0;
		/* width: 17rem; */
		display: flex;
		flex-direction: column;
		align-items: baseline;
	}

	.core_reply div.hideLzl {
		min-height: 0 !important;
	}

	.d_name .p_author_name {
		white-space: nowrap;
	}

	/* .core_title_btns a, */
	.pager_btn,
	.sug_forumtile,
	.u-f-w .unsign,
	.u-f-w .unsign:hover,
	.add-more-forum a,
	#onekey_sign a.onekey_btn,
	.search_suggestion {
		background: unset !important;
	}

	.userbar {
		top: 8px;
		/* 	right: 27...

Reviews

No reviews yet.