Last active
December 30, 2015 19:09
-
-
Save neruthes/7871908 to your computer and use it in GitHub Desktop.
Custom CSS for Baidu Tieba (2014)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Entire body */ | |
* { | |
font-family: 'Helvetica Neue', Helvetica, 'Open Sans', Arial, 'Hiragino Sans GB', sans-serif !important; | |
font-weight: normal !important; | |
} | |
body > div.wrap1 > div.wrap2 { | |
background-attachment: fixed; | |
} | |
div.wrap_bright div#container div.content { | |
border: none !important; | |
} | |
#head { | |
position: relative; | |
z-index: 9777; | |
box-shadow: rgba(0, 0, 0, 0.21) 0 1px 3px; | |
} | |
.card_top_wrap { | |
overflow: hidden; | |
border-top: none; | |
border-bottom: none; | |
} | |
.card_top_wrap.card_top_theme2 { | |
display: none; | |
} | |
.card_banner, .search_logo, .search_button_wrapper #search_button.search_button { | |
display: none !important; | |
} | |
.card_top { | |
box-sizing: border-box !important; | |
width: 100% !important; | |
height: 84px !important; | |
padding-left: 120px !important; | |
} | |
#pb_adbanner, .card_top_right { | |
display: none !important; | |
opacity: 0 !important; | |
height: 1px !important; | |
} | |
.card_head { | |
height: 60px !important; | |
width: 60px !important; | |
margin: 0 20px 5px !important; | |
z-index: 8888 !important; | |
} | |
.card_head_img { | |
height: 60px !important; | |
width: 60px !important; | |
} | |
body > div.wrap1 > .wrap2 { | |
/*background: #F0F8ED url(http://tb2.bdstatic.com/tb/static-itieba3/style/set/4/bottom_back_d534dbe6.gif) top scroll no-repeat !important;*/ | |
} | |
body > div.wrap1 .wrap_bright .container_bright > .content { | |
padding-top: 30px !important; | |
padding-bottom: 30px !important; | |
border: 1px solid rgba(0, 0, 0, 0) !important; | |
} | |
body > div.wrap1 .wrap_bright .container_bright { | |
width: 820px !important; | |
margin-left: auto !important; | |
margin-right: auto !important; | |
background: #FFF !important; | |
box-shadow: 0 0 6px rgba(0, 0, 0, 0.19) !important; | |
} | |
body > div.wrap1 .wrap_bright .container_bright .content { | |
width: 100% !important; | |
border-top: 1px solid #FFF !important; | |
border-bottom: 1px solid #FFF !important; | |
border-left: 1px solid #DDD !important; | |
border-right: 1px solid #DDD !important; | |
border-radius: 0px !important; | |
} | |
/* Top area */ | |
#tb_nav.nav_wrap, .worldcup_guess_frs_wrap { | |
display: none; | |
} | |
.head_bright, .main_header { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
} | |
div#aaaaaaaaaaaaa { | |
visibility: hidden; | |
} | |
.j_search_input.tb_header_search_input { | |
box-shadow: inset rgba(0, 0, 0, 0.18) 0 1px 3px; | |
border: none; | |
padding-left: 14px; | |
} | |
.head_bright * { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
overflow: hidden; | |
height: 0; | |
width: 0; | |
} | |
div.card_info, div.frs_qunzu_wrpa, .game_frs_step1 { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
overflow: hidden; | |
height: 0; | |
width: 0; | |
} | |
a.icon_game.nav_icon, a.icon_video.nav_icon, a.icon_group.nav_icon { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
overflow: hidden; | |
height: 0; | |
width: 0; | |
} | |
.forum_header { | |
height: 90px; | |
overflow: visible; | |
} | |
.forum_header > .card_top { | |
text-transform: uppercase !important; | |
} | |
.card_title_fname { | |
text-transform: uppercase !important; | |
} | |
#j_head_focus_btn, span.card_num { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
} | |
/* Aside */ | |
div.forum_content.clearfix > div#aside.side { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
overflow: hidden; | |
height: 0; | |
width: 0; | |
background: #FFF !important; | |
} | |
ul.tbui_aside_float_bar, .tb_icon_base.tb_icon_new { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
} | |
.wrap1 .wrap2 .l_container .right_section { | |
visibility: hidden !important; | |
display: none !important; | |
opacity: 0 !important; | |
background: none !important; | |
} | |
/* Body */ | |
.forum_content { | |
background: #FFF; | |
} | |
#container.ibody { | |
border-top: none !important; | |
} | |
.tb_paper_wrap, .BAIDU_CLB_AD { | |
display: none !important; | |
} | |
#footer.footer { | |
visibility: hidden; | |
} | |
.card_top, .rand_gift, .content { | |
background: #FFF !important; | |
} | |
div.forum_content .main { | |
width: 100% !important; | |
} | |
.container_bright .content { | |
overflow: hidden !important; | |
} | |
#contet_wrap > #content_leftList { | |
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.15) !important; | |
z-index: 800 !important; | |
} | |
.content .forum_foot { | |
background: #FDFDFD !important; | |
background-image: none !important; | |
z-index: 80 !important; | |
} | |
.left_section, .left_section > *, .left_section > * > *, .l_post.l_post_bright { | |
width: 100% !important; | |
box-sizing: border-box; | |
background-color: #FFF; | |
} | |
.d_post_content_main, .d_post_content_main > div:first-child { | |
width: 760px; | |
box-sizing: border-box; | |
} | |
.banner_post.banner_post_bright.j_banner_post, .save_face_bg { | |
display: none !important; | |
} | |
/* List */ | |
.BAIDU_CLB_AD.BAIDU_CLB_AD_frs, .threadListGroupCnt_bright { | |
display: none !important; | |
height: 1px !important; | |
opacity: 0 !important; | |
} | |
.threadlist_rep_num { | |
background: none !important; | |
text-align: left !important; | |
box-sizing: border-box !important; | |
padding-left: 10px !important; | |
} | |
div.threadlist_li_right.j_threadlist_li_right { | |
} | |
li.j_thread_list { | |
overflow: hidden !important; | |
height: 30px !important; | |
width: 100% !important; | |
} | |
li.j_thread_list .t_con { | |
padding-top: 4px !important; | |
} | |
span.tb_icon_author { | |
position: relative !important; | |
} | |
span.tb_icon_author_rely.j_replyer { | |
position: relative !important; | |
top: -30px !important; | |
left: 120px !important; | |
} | |
li div a { | |
color: #2D64B3 !important; | |
} | |
/* Others */ | |
.poster_submit { | |
float: right !important; | |
} | |
#com_userbar.userbar, .head_skin_btn, .icon_wrap.icon_wrap_theme1, .rand_gift, .game_spread_thread { | |
visibility: hidden !important; | |
} | |
.btn_tousu.fr, .poster_head_surveillance.j_surveillance, .poster_rewards, .edui-attachment-container, .edui-toolbar { | |
display: none !important; | |
visibility: hidden !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment