有觉性 以安住且中立的心 照见身心的实相

MediaWiki:Common.css:修订间差异

来自Dhamma.cn
无编辑摘要
无编辑摘要
标签手工回退
 
(未显示同一用户的17个中间版本)
第2行: 第2行:




/* 1. 针对“更多” (More) 菜单的控制 */
/* 隐藏非登录用户的工具箱特定项目 */
/* 默认对所有访客隐藏“更多”菜单中的大部分项 */
 
.not-logged-in #p-tb .mw-list-item {
body:not(.user-logged-in) #t-whatlinkshere,  /* 链入页面 */
    display: none;
 
}
body:not(.user-logged-in) #t-recentchangeslinked,  /* 相关更改 */
 


/* 唯独为访客保留“可打印版本” */
.not-logged-in #t-print {
    display: list-item !important;
}


/* 2. 针对“页面工具” (Page tools) 的控制 */
body:not(.user-logged-in) #t-permalink,  /* 固定链接 */
/* 默认隐藏页面工具(移动、保护等) */
#p-cactions {
    display: none;
}


/* 仅当用户登录后,才显示页面工具 */
body:not(.user-logged-in) #t-info,  /* 页面信息 */
.mw-userlink,
.client-js .user-login #p-cactions {
    display: block;
}


body:not(.user-logged-in) #t-log {  /* 页面日志 */


    display: none !important;


}




第89行: 第81行:
     line-height: 1.6em;
     line-height: 1.6em;
}
}
/*APP化改造尝试*/

2026年1月18日 (日) 20:22的最新版本

/* 这里放置的CSS将应用于所有皮肤 */


/* 隐藏非登录用户的工具箱特定项目 */

body:not(.user-logged-in) #t-whatlinkshere,  /* 链入页面 */

body:not(.user-logged-in) #t-recentchangeslinked,  /* 相关更改 */



body:not(.user-logged-in) #t-permalink,  /* 固定链接 */

body:not(.user-logged-in) #t-info,  /* 页面信息 */

body:not(.user-logged-in) #t-log {  /* 页面日志 */

    display: none !important;

}




/* 这里放置的CSS将应用于所有皮肤 */
body.page-Main_Page li#ca-talk { display: none !important; }
#ca-talk { display:none!important; }
#ca-viewsource { display:none!important; }

#ca-view { display:none!important; }

/*#ca-move { display:none!important; }*/
#ca-delete { display:none!important; }
#ca-history { display:none!important; }

#ca-nstab-main { display:none!important; }
##ca-watch { display:none!important; }
##li#ca-edit { display: none; }


## 要只在用户按下F11时隐藏 左侧的导航栏
document.onkeydown = function( e ) {
	if( e == null ) e = event
	if( testKey( e, 122 ) ) { //F11
		appendCSS('#column-content {margin: 0 0 .6em 0;} #content {margin: 2.8em 0 0 0;} #p-logo, .generated-sidebar, #p-lang, #p-tb, #p-search {display:none;} #p-cactions {left: .1em;} #footer {display:none;}');
		return false;
	}
}

function testKey( e, intKeyCode ) {
	if( window.createPopup )
		return e.keyCode == intKeyCode
	else
		return e.which == intKeyCode
}


##如何去除"关于此IP地址的讨论"按钮
#p-personal #pt-anonuserpage {
    display: none;
}


/*隐藏首页标题*/
/*.page-首页 #firstHeading{display:none;}*/

/*body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }*/

/*Back to top buttom*/
<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
 font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
[[#top| Back to the Top ]]</span></div>


.catlinks { display: none; }

body {
    font-size: 16px;
    line-height: 1.6em;
}






/*APP化改造尝试*/