「MediaWiki:Common.css」の版間の差分
(ページの作成:「→ここに記述したCSSはすべての外装に反映されます: →* * 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; c…」) |
編集の要約なし |
||
91行目: | 91行目: | ||
background: -webkit-linear-gradient(left, #d6eaff, #f9fcff); | background: -webkit-linear-gradient(left, #d6eaff, #f9fcff); | ||
border-radius: 10px; | border-radius: 10px; | ||
} | |||
/*---- DPL Forum ----*/ | |||
/* Forumheader style */ | |||
.forum-header { | |||
border: 1px solid #aaa; | |||
background-color: #cedff2; | |||
margin: 0 0 1em; | |||
padding: 0 0.5em; | |||
} | |||
/* Forum table outside border */ | |||
table.forum-table { | |||
border: 1px solid lightgrey; | |||
} | |||
/* Forum table cell padding and borders for all table body cells */ | |||
table.forum-table > tbody > tr > td { | |||
border-top: 1px solid lightgrey; | |||
padding: 8px; | |||
} | |||
/* Forum table background color (show on odd rows) */ | |||
table.forum-table > tbody > tr { | |||
background-color:#fff; | |||
} | |||
/* Forum table background color (shows on even rows) */ | |||
table.forum-table > tbody > tr:nth-child(even) { | |||
background-color:#f5faff; | |||
} | |||
/* Forum table header row background, style and padding */ | |||
table.forum-table > tbody > tr > th { | |||
background-color:#cedff2; | |||
font-weight:bold; | |||
padding: 8px; | |||
} | |||
/*-- InputBox --*/ | |||
.inputbox-sidebar { | |||
width: 300px; | |||
border: 1px solid lightgrey; | |||
clear: right; | |||
float: right; | |||
margin: 3px; | |||
padding:10px; | |||
margin-left: 2em; | |||
} | } |
2023年6月5日 (月) 05:19時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/**
* 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: 0.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;
}
.box26 {
position: relative;
margin: 2em 0;
padding: 0.5em 1em;
border: solid 1px #afeeee;
border-radius: 8px;
}
.box26 .box-title {
position: absolute;
display: inline-block;
top: -13px;
left: 10px;
padding: 0 9px;
line-height: 1;
font-size: 135%;
background: #FFF;
color: #000;
font-weight: bold;
}
.box26 p {
margin: 0;
padding: 0;
}
/* 線形グラデーション(左右) */
.mainpage {
width: 50%;
background-color: #f0ffff;
background: linear-gradient(to right, #d6eaff, #f9fcff);
background: -moz-linear-gradient(left, #d6eaff, #f9fcff);
background: -webkit-linear-gradient(left, #d6eaff, #f9fcff);
border-radius: 10px;
}
/*---- DPL Forum ----*/
/* Forumheader style */
.forum-header {
border: 1px solid #aaa;
background-color: #cedff2;
margin: 0 0 1em;
padding: 0 0.5em;
}
/* Forum table outside border */
table.forum-table {
border: 1px solid lightgrey;
}
/* Forum table cell padding and borders for all table body cells */
table.forum-table > tbody > tr > td {
border-top: 1px solid lightgrey;
padding: 8px;
}
/* Forum table background color (show on odd rows) */
table.forum-table > tbody > tr {
background-color:#fff;
}
/* Forum table background color (shows on even rows) */
table.forum-table > tbody > tr:nth-child(even) {
background-color:#f5faff;
}
/* Forum table header row background, style and padding */
table.forum-table > tbody > tr > th {
background-color:#cedff2;
font-weight:bold;
padding: 8px;
}
/*-- InputBox --*/
.inputbox-sidebar {
width: 300px;
border: 1px solid lightgrey;
clear: right;
float: right;
margin: 3px;
padding:10px;
margin-left: 2em;
}