「MediaWiki:Vector.css」の版間の差分

提供:メディカルウェア
ナビゲーションに移動 検索に移動
imported>Administrator
編集の要約なし
imported>Administrator
編集の要約なし
287行目: 287行目:
     background-position: bottom left;
     background-position: bottom left;
     background-repeat: repeat-x;
     background-repeat: repeat-x;
}
.mw-body-content {
  font-size: 100%
}
#mw-content-text {
  width:40em;
}
.mw-body-content li {
  padding-bottom: 0.625em;
  margin-bottom: 0;
  width:auto;
}
.mw-body-content p {
  font-size: 16px;
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
  width: auto;
}
.mw-body-content pre {
  width: auto;
}
}

2018年4月27日 (金) 20:14時点における版

/* ここに記述したCSSはベクター・スキンの利用者に影響します */
/* Framework */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  _text-shadow: 1px 1px 0px #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
  font-size: 16px;
  background-color: #ffffff;
}

del {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

input, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
}
h3 {
        font-weight: normal;
        border-bottom: 1px dashed #AAAAAA;
}
h4 {
        font-weight: normal;
}
p {
  font-size: 16px;
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
}

ul { 
  font-size: 16px;
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
}  
ol { 
  font-size: 16px;
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
}  
li {
  margin-bottom: 0;
}


/* enlarge font-size for ja fonts */
#bodyContent {
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
}

/* 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;
}

/* アカウント作成の画面で説明が右に浮動表示されるのを防止 */
#signupend {
  clear:left;
}

/* [[Sciencer:井戸端/subj/現在のSciencerのフォント]] を参考にした応急処置 */
div#content h1, div#content h2, div#content #firstHeading {
	font-family: sans-serif;
}

div#content h3, div#content h4 {
        font-weight: normal;
}

div#content p {
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
}

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 {
        height: 190px;
}
#p-logo a {
        height: 190px;
        background-position-y: 40px;
}
#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 16px;
    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;
}

.mw-body-content {
  font-size: 100%
}
#mw-content-text {
  width:40em;
}
.mw-body-content li {
  padding-bottom: 0.625em;
  margin-bottom: 0;
  width:auto;
}
.mw-body-content p {
  font-size: 16px;
  margin: 1.25em 0 1.25em 0;
  line-height: 1.75em;
  width: auto;
}
.mw-body-content pre {
  width: auto;
}