“MediaWiki:Common.css”的版本间差异

来自Wikioe
跳到导航 跳到搜索
(建立内容为“→‎这里放置的CSS将应用于所有皮肤:​ /** * Styling for links generated by MediaWiki:Edittools * @source https://www.mediawiki.org/wiki/Extensi…”的新页面
 
无编辑摘要
 
(未显示同一用户的9个中间版本)
第3行: 第3行:


/**
/**
  * Styling for links generated by [[MediaWiki:Edittools]]
* by eijux,2021/05/16
* 为了“编辑框自定义标签”而添加
*
  * Styling for links generated by [[MediaWiki:Edittools]] in WikimediaUI inspired theme.
  * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
  * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
  * @updated 2020-03-17
  * @updated 2020-03-17
  */
  */
.mw-charinsert-buttons {
.mw-charinsert-buttons {
border: 1px solid #aaa;
margin-top: 8px;
margin-top: 10px;
border: 1px solid #c8ccd1;
padding: 1px;
padding: 2px 4px 4px;
font-size: 1.1em;
font-size: 1.1em;
text-align: center;
text-align: center;
}
}
.mw-charinsert-buttons a {
.mw-charinsert-buttons a {
background-color: #cde !important;
background-color: #f8f9fa !important;
color: #000;
color: #202122;
border: thin #069 outset;
border: thin #36c outset;
padding: 0 1px 1px;
padding: 0 1px 2px;
font-size: 0.9em;
font-weight: bold;
font-weight: bold;
font-size: .9em;
text-decoration: none;
text-decoration: none;
}
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:hover {
background-color: #fff;
    color: #404244;
}
.mw-charinsert-buttons a:active {
.mw-charinsert-buttons a:active {
background-color: #bcd;
background-color: #c8ccd1;
border-style: inset;
border-style: inset;
}
}
第32行: 第38行:
}
}
.client-js .mw-edittools-section input[type="button"] {
.client-js .mw-edittools-section input[type="button"] {
background-color: #f8f9fa;
color: #202122;
margin-left: 1px;
    border-radius: 2px;
padding: 1px 6px;
font-size: .9em;
font-size: .9em;
margin-left: 1px;
    /* Apply pointer cursor to all interactive elements. */
padding-left: 1px;
    cursor: pointer;
padding-right: 1px;
}
.client-js .mw-edittools-section input[type="button"]:hover {
background-color: #fff;
    color: #404244;
}
.client-js .mw-edittools-section input[type="button"]:active {
background-color: #c8ccd1;
    color: #000;
}
}

2021年12月21日 (二) 12:50的最新版本

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


/**
 * by eijux,2021/05/16
 * 为了“编辑框自定义标签”而添加
 *
 * Styling for links generated by [[MediaWiki:Edittools]] in WikimediaUI inspired theme.
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #c8ccd1;
	padding: 2px 4px 4px;
	font-size: 1.1em;
	text-align: center;
}
.mw-charinsert-buttons a {
	background-color: #f8f9fa !important;
	color: #202122;
	border: thin #36c outset;
	padding: 0 1px 2px;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}
.mw-charinsert-buttons a:hover {
	background-color: #fff;
    color: #404244;
}
.mw-charinsert-buttons a:active {
	background-color: #c8ccd1;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	background-color: #f8f9fa;
	color: #202122;
	margin-left: 1px;
    border-radius: 2px;
	padding: 1px 6px;
	font-size: .9em;
    /* Apply pointer cursor to all interactive elements. */
    cursor: pointer;
}
.client-js .mw-edittools-section input[type="button"]:hover {
	background-color: #fff;
    color: #404244;
}
.client-js .mw-edittools-section input[type="button"]:active {
	background-color: #c8ccd1;
    color: #000;
}