「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし |
編集の要約なし |
||
| 106行目: | 106行目: | ||
color: #fff; | color: #fff; | ||
display: inline-block; | display: inline-block; | ||
line-height: 20px | line-height: 20px; | ||
margin: 0 0 20px 0px | margin: 0 0 20px 0px; | ||
padding: 1em !important; | padding: 1em !important; | ||
position: relative; | position: relative; | ||
2017年9月2日 (土) 18:31時点における版
/* ここに書いたCSSはすべての外装に反映されます */
@import url("https://fonts.googleapis.com/css?family=Inconsolata|Quicksand:400,700");
@font-face{
font-family: "rounded-mplus-1c";
src: url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot");
src: url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot?#iefix") format("embedded-opentype"), url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.woff") format("woff"), url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.ttf") format("truetype");
font-weight: normal;
}
@font-face{
font-family: "rounded-mplus-1c";
src: url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.eot");
src: url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.eot?#iefix") format("embedded-opentype"), url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.woff") format("woff"), url("http://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.ttf") format("truetype");
font-weight: bold;
}
html, body {
color: #333;
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "rounded-mplus-1c", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
letter-spacing: 0.4px;
line-height: 1.6;
}
body.page-メインページ h1.firstHeading {
display: none;
}
a {
font-weight: bold;
}
h1 {
font-size: 140% !important;
margin: 24px 0 8px 0 !important;
}
h2 {
font-size: 120% !important;
margin: 24px 0 8px 0 !important;
}
h3 {
font-size: 100% !important;
margin: 24px 0 8px 0 !important;
}
h4 {
font-size: 100% !important;
margin: 24px 0 8px 0 !important;
}
h5 {
font-size: 108% !important;
margin: 24px 0 8px 0 !important;
}
h6 {
font-size: 100% !important;
margin: 24px 0 8px 0 !important;
}
.mw-body .mw-editsection,
.mw-body .mw-editsection-like,
.mw-body h1,
.mw-body h2,
.mw-body #toc h2,
.mw-body .toc h2 {
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "rounded-mplus-1c", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
font-size: 14px !important;
}
.mw-headline {
font-weight: bold;
}
pre,
code,
tt,
kbd,
samp,
.mw-code,
.mw-geshi pre {
font-family: Inconsolata, Monaco, "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", Courier, "Hiragino Sans", "Yu Gothic UI", monospace !important;
-webkit-font-smoothing: subpixel-antialiased;
}
.thumbborder {
border: none ! important;
box-shadow: 2px 2px 4px #999;
}
.portal h5 {
display: none;
}
#ca-talk {
display: none;
}
#ca-viewsource {
display: none;
}
#ca-history {
display: none;
}
#footer-info-lastmod {
display: none;
}
#footer-info-viewcount {
display: none;
}
#footer-places-privacy {
display: none;
}
#footer-places-about {
display: none;
}
#footer-places-disclaimer {
display: none;
}
span.button a.external {
background: #09c !important;
color: #fff;
display: inline-block;
line-height: 20px;
margin: 0 0 20px 0px;
padding: 1em !important;
position: relative;
white-space: nowrap;
}
span.button a.external:hover {
background: #333 !important;
margin-left: 4px;
}
スポンサーリンク