「MediaWiki:Vector.css」の版間の差分
ナビゲーションに移動
検索に移動
imported>Administrator 編集の要約なし |
imported>Administrator 編集の要約なし |
||
1行目: | 1行目: | ||
/* ここに記述したCSSはベクター・スキンの利用者に影響します */ | /* ここに記述したCSSはベクター・スキンの利用者に影響します */ | ||
/* Framework */ | |||
html, | |||
body { | body { | ||
height: 100%; | |||
margin: 0; | |||
padding: 0; | |||
text-shadow: 1px 1px 0px #fff; | |||
font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Pゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; | |||
font-size: 14pt; | |||
background-color: #ffffff; | |||
} | } | ||
input, textarea { | |||
font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Pゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; | |||
} | } | ||
h3 { | |||
font-weight: normal; | |||
border-bottom: 1px dashed #AAAAAA; | |||
} | } | ||
p { | p { | ||
margin: 1em 0 1em 0; | margin: 1em 0 1em 0; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
/* | |||
* | |||
* The following code is slightly modified from monobook | |||
* | |||
*/ | |||
div#content { | |||
line-height: 2.00em; | |||
} | } | ||
/* enlarge font-size for ja fonts */ | |||
#bodyContent { font-size: 1em; } | |||
/* for positioning top-right icons, like FA-star */ | /* for positioning top-right icons, like FA-star */ | ||
34行目: | 44行目: | ||
} | } | ||
/* | /* Common.css で指定されたFA/GAアイコンを非表示にする */ | ||
#p-lang li.FA, | |||
#p-lang li.GA { | |||
list-style-image: none; | |||
} | |||
#mw-page-base { | |||
background-image: none; | |||
} | } | ||
/* Common.js の LinkFA() を参照 */ | /* Common.js の LinkFA() を参照 */ | ||
#mw-panel div.portal div.body ul li.FA { | #mw-panel div.portal div.body ul li.FA { | ||
background: url(" | background: url("//upload.wikimedia.org/sciencer/commons/d/d0/Monobook-bullet-star-transparent.png") no-repeat 0% 0%; | ||
margin-left: -10px; | margin-left: -10px; | ||
padding-left: 10px; | padding-left: 10px; | ||
} | } | ||
/* Common.js の LinkGA() を参照 */ | /* Common.js の LinkGA() を参照 */ | ||
#mw-panel div.portal div.body ul li.GA { | #mw-panel div.portal div.body ul li.GA { | ||
background: url(" | background: url("//upload.wikimedia.org/sciencer/commons/thumb/b/b9/Blue_star_boxed.svg/9px-Blue_star_boxed.svg.png") no-repeat 0% 0%; | ||
margin-left: -10px; | margin-left: -10px; | ||
padding-left: 10px; | padding-left: 10px; | ||
} | } | ||
83行目: | 91行目: | ||
clear:left; | clear:left; | ||
} | } | ||
# | /* [[Sciencer:井戸端/subj/現在のSciencerのフォント]] を参考にした応急処置 */ | ||
div#content h1, div#content h2, div#content #firstHeading { | |||
font-family: sans-serif; | |||
} | |||
html, body { | |||
font-family: sans-serif; | |||
} | |||
div#content .mw-editsection { | |||
font-family: sans-serif; | |||
} | } | ||
# | /* Panel */ | ||
div#mw-panel div.portal { | |||
font-size: 12pt; | |||
padding-bottom: 1.5em; | |||
direction: ltr; | |||
width: 12em; | |||
} | |||
div#mw-panel div.portal h5 { | |||
font-weight: normal; | |||
color: #444444; | |||
padding: 0.25em; | |||
padding-top: 0; | |||
padding-left: 1.75em; | |||
cursor: default; | |||
border: none; | |||
font-size: 0.75em; | |||
} | |||
div#mw-panel div.portal div.body { | |||
margin: 0; | |||
padding-top: 0.5em; | |||
margin-left: 1.25em; | |||
/* @embed */ | |||
_background-image: url(images/portal-break.png); | |||
background-repeat: no-repeat; | |||
background-position: top left; | |||
} | |||
div#mw-panel div.portal div.body ul { | |||
list-style: none; | |||
list-style-image: none; | |||
list-style-type: none; | |||
padding: 0; | |||
margin: 0; | |||
} | |||
div#mw-panel div.portal div.body ul li { | |||
line-height: 2.0em; | |||
padding: 0; | |||
padding-bottom: 0.5em; | |||
margin: 0; | |||
overflow: hidden; | |||
font-size: 0.75em; | |||
} | |||
div#mw-panel div.portal div.body ul li a { | |||
color: #0645ad; | |||
} | |||
div#mw-panel div.portal div.body ul li a:visited { | |||
color: #0b0080; | |||
} | |||
/* Personal */ | |||
#p-personal { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
width: 100%; | |||
height: 30px; | |||
background-color: #000000; | |||
vertical-align: middle; | |||
margin-left: 0px; | |||
text-shadow: none; | |||
} | |||
#p-personal a { | |||
color: #ffffff; | |||
} | |||
#p-personal a.new { | |||
color: #ffffff; | |||
} | |||
#p-personal a.new:visited { | |||
color: #ffffff; | |||
} | |||
#p-personal h5 { | |||
display: none; | |||
} | |||
#p-personal ul { | |||
list-style: none; | |||
margin: 0; | |||
padding-left: 0.25em; /* Keep from overlapping logo */ | |||
} | |||
/* @noflip */ | |||
#p-personal li { | |||
line-height: 0.75em; | |||
float: left; | |||
} | |||
/* This one flips! */ | |||
#p-personal li { | |||
margin-left: 0.75em; | |||
margin-top: 0.95em; | |||
font-size: 0.75em; | |||
white-space: nowrap; | |||
} | |||
/* Navigation Containers */ | |||
/* | |||
#left-navigation { | |||
position: absolute; | |||
left: 11em; | |||
top: 2.5em; | |||
} | |||
#right-navigation { | |||
float: right; | |||
margin-top: 2.5em; | |||
} | |||
*/ | |||
#p-logo { | |||
top: -130px; | |||
} | |||
#mw-panel.collapsible-nav .portal.first { | |||
margin-top: 30px; | |||
} | |||
/* ボタン */ | |||
#pt-createaccount, | |||
#pt-login, | |||
#pt-twittersignin | |||
{ | |||
padding: 0px !important; | |||
} | |||
#pt-createaccount a:focus, | |||
#pt-login a:focus, | |||
#pt-twittersignin a:focus | |||
{ | |||
outline: medium none currentColor; | |||
} | |||
#pt-createaccount a, | |||
#pt-login a, | |||
#pt-twittersignin a | |||
{ | |||
background: -o-linear-gradient(top, #FBFBFB, #E1E1E1) transparent; | |||
border: 1px solid #D4D4D4; | |||
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.506), 0px 1px 2px rgba(0, 0, 0, 0.149); | |||
color: #666666; | |||
display: inline-block; | |||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif; | |||
font-size: 14px; | |||
font-weight: 300; | |||
height: 22px; | |||
line-height: 22px; | |||
margin: -7px 0px 0px 0px; | |||
padding: 0px 18px; | |||
text-align: center; | |||
text-decoration: none; | |||
text-shadow: 0px 1px 1px white; | |||
vertical-align: middle; | |||
border-radius: 3px; | |||
background: #00A1CB; | |||
border: medium none currentColor; | |||
box-shadow: none; | |||
color: white; | |||
text-shadow: none; | |||
transition-duration: 0.3s; | |||
transition-property: background; | |||
} | |||
#mw-head-base { | |||
background-position: bottom left; | |||
background-repeat: repeat-x; | |||
} | } |
2014年8月2日 (土) 00:34時点における版
/* ここに記述したCSSはベクター・スキンの利用者に影響します */
/* Framework */
html,
body {
height: 100%;
margin: 0;
padding: 0;
text-shadow: 1px 1px 0px #fff;
font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Pゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
font-size: 14pt;
background-color: #ffffff;
}
input, textarea {
font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Pゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}
h3 {
font-weight: normal;
border-bottom: 1px dashed #AAAAAA;
}
p {
margin: 1em 0 1em 0;
line-height: 1.5em;
}
/*
*
* The following code is slightly modified from monobook
*
*/
div#content {
line-height: 2.00em;
}
/* enlarge font-size for ja fonts */
#bodyContent { font-size: 1em; }
/* for positioning top-right icons, like FA-star */
.topicon {
position: absolute;
z-index: 10;
right: 0;
top: -3.5em;
display: block !important;
}
/* Common.css で指定されたFA/GAアイコンを非表示にする */
#p-lang li.FA,
#p-lang li.GA {
list-style-image: none;
}
#mw-page-base {
background-image: none;
}
/* Common.js の LinkFA() を参照 */
#mw-panel div.portal div.body ul li.FA {
background: url("//upload.wikimedia.org/sciencer/commons/d/d0/Monobook-bullet-star-transparent.png") no-repeat 0% 0%;
margin-left: -10px;
padding-left: 10px;
}
/* Common.js の LinkGA() を参照 */
#mw-panel div.portal div.body ul li.GA {
background: url("//upload.wikimedia.org/sciencer/commons/thumb/b/b9/Blue_star_boxed.svg/9px-Blue_star_boxed.svg.png") no-repeat 0% 0%;
margin-left: -10px;
padding-left: 10px;
}
/* 地理座標の表示位置 */
#coordinates {
position: absolute;
right: 0;
top: -1.2em;
font-size: 85%;
line-height: 1.2em;
}
/* sup sub タグ使用時に行間の広がりを抑える */
sup, sub {
line-height: 1em;
}
/* IE6対応: フォントサイズの em 指定がブラウザの文字サイズ設定で累積する問題の回避 */
html, body {
font-size: 100%;
}
/* アカウント作成の画面で説明が右に浮動表示されるのを防止 */
#signupend {
clear:left;
}
/* [[Sciencer:井戸端/subj/現在のSciencerのフォント]] を参考にした応急処置 */
div#content h1, div#content h2, div#content #firstHeading {
font-family: sans-serif;
}
html, body {
font-family: sans-serif;
}
div#content .mw-editsection {
font-family: sans-serif;
}
/* Panel */
div#mw-panel div.portal {
font-size: 12pt;
padding-bottom: 1.5em;
direction: ltr;
width: 12em;
}
div#mw-panel div.portal h5 {
font-weight: normal;
color: #444444;
padding: 0.25em;
padding-top: 0;
padding-left: 1.75em;
cursor: default;
border: none;
font-size: 0.75em;
}
div#mw-panel div.portal div.body {
margin: 0;
padding-top: 0.5em;
margin-left: 1.25em;
/* @embed */
_background-image: url(images/portal-break.png);
background-repeat: no-repeat;
background-position: top left;
}
div#mw-panel div.portal div.body ul {
list-style: none;
list-style-image: none;
list-style-type: none;
padding: 0;
margin: 0;
}
div#mw-panel div.portal div.body ul li {
line-height: 2.0em;
padding: 0;
padding-bottom: 0.5em;
margin: 0;
overflow: hidden;
font-size: 0.75em;
}
div#mw-panel div.portal div.body ul li a {
color: #0645ad;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #0b0080;
}
/* Personal */
#p-personal {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 30px;
background-color: #000000;
vertical-align: middle;
margin-left: 0px;
text-shadow: none;
}
#p-personal a {
color: #ffffff;
}
#p-personal a.new {
color: #ffffff;
}
#p-personal a.new:visited {
color: #ffffff;
}
#p-personal h5 {
display: none;
}
#p-personal ul {
list-style: none;
margin: 0;
padding-left: 0.25em; /* Keep from overlapping logo */
}
/* @noflip */
#p-personal li {
line-height: 0.75em;
float: left;
}
/* This one flips! */
#p-personal li {
margin-left: 0.75em;
margin-top: 0.95em;
font-size: 0.75em;
white-space: nowrap;
}
/* Navigation Containers */
/*
#left-navigation {
position: absolute;
left: 11em;
top: 2.5em;
}
#right-navigation {
float: right;
margin-top: 2.5em;
}
*/
#p-logo {
top: -130px;
}
#mw-panel.collapsible-nav .portal.first {
margin-top: 30px;
}
/* ボタン */
#pt-createaccount,
#pt-login,
#pt-twittersignin
{
padding: 0px !important;
}
#pt-createaccount a:focus,
#pt-login a:focus,
#pt-twittersignin a:focus
{
outline: medium none currentColor;
}
#pt-createaccount a,
#pt-login a,
#pt-twittersignin a
{
background: -o-linear-gradient(top, #FBFBFB, #E1E1E1) transparent;
border: 1px solid #D4D4D4;
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.506), 0px 1px 2px rgba(0, 0, 0, 0.149);
color: #666666;
display: inline-block;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
font-size: 14px;
font-weight: 300;
height: 22px;
line-height: 22px;
margin: -7px 0px 0px 0px;
padding: 0px 18px;
text-align: center;
text-decoration: none;
text-shadow: 0px 1px 1px white;
vertical-align: middle;
border-radius: 3px;
background: #00A1CB;
border: medium none currentColor;
box-shadow: none;
color: white;
text-shadow: none;
transition-duration: 0.3s;
transition-property: background;
}
#mw-head-base {
background-position: bottom left;
background-repeat: repeat-x;
}