「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし |
編集の要約なし |
||
| 26行目: | 26行目: | ||
} | } | ||
a:hover { | a:hover { | ||
color: # | color: #005da6 !important; | ||
} | } | ||
h1, | h1, | ||
2017年9月2日 (土) 23:01時点における版
/* ここに書いた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;
}
body.page-メインページ h1.firstHeading {
display: none;
}
a {
color: #0067b8 !important;
font-weight: bold;
}
a:hover {
color: #005da6 !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #333;
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "rounded-mplus-1c", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif !important;
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;
}
iframe {
margin-top: 10px;
}
.mw-body {
color: #333;
}
.mw-body-content {
font-size: inherit;
line-height: 1.8 !important;
}
.mw-body .mw-editsection,
.mw-body .mw-editsection-like,
.mw-body h1,
.mw-body h2,
.mw-body #toc h2,
.mw-body .toc h2,
.mw-headline {
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "rounded-mplus-1c", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
font-size: 100% !important;
margin-top: 10px;
}
div#mw-panel div.portal div.body ul li {
font-size: 80%;
}
pre,
code,
tt,
kbd,
samp {
background: #edf0f3;
border: none;
font-family: Inconsolata, Monaco, "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", Courier, "Hiragino Sans", "Yu Gothic UI", monospace !important;
font-size: 14px;
}
.mw-code,
.mw-geshi pre {
background: #edf0f3;
border: none;
font-family: Inconsolata, Monaco, "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", Courier, "Hiragino Sans", "Yu Gothic UI", monospace !important;
font-size: 14px;
height: auto;
margin: 0 0 20px 0;
overflow-x:auto;
padding: 20px;
}
.thumbborder {
border: none !important;
box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15), 0 5px 6px rgba(0, 0, 0, 0.15);
}
html #toc ul,
.toc ul {
color: #0067b8;
font-weight: bold;
list-style-image: none;
list-style-position: inside;
list-style-type: decimal;
}
.tocnumber {
display: none;
}
.portal h5,
#ca-history,
#ca-talk,
#ca-viewsource,
#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-about,
#footer-places-disclaimer,
#footer-places-privacy {
display: none;
}
span.button a.external {
background: #006cc2 !important;
color: #fff !important;
display: inline-block;
line-height: 20px;
margin: 10px 0;
padding: 1em !important;
position: relative;
text-decoration: none;
white-space: nowrap;
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
-o-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
span.button a.external:hover {
background: #005da6 !important;
margin-left: 4px;
}
.attention {
display: inline-block;
font-size: 14px;
margin: 0.5em 0;
padding: 1em;
background: #fbe1e8;
}
.smalltext {
font-size: 80%;
}
スポンサーリンク