MediaWiki:Common.css
ナビゲーションに移動
検索に移動
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Internet Explorer / Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
- Opera: Ctrl-F5を押してください
/* ここに書いたCSSはすべての外装に反映されます */
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
@font-face{
font-family: "rounded-mplus-1c";
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot?20180601");
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot?#iefix&20180601") format("embedded-opentype"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.woff?20180601") format("woff"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.ttf?20180601") format("truetype");
font-weight: normal;
}
@font-face{
font-family: "rounded-mplus-1c";
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.eot?20180601");
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.eot?#iefix&20180601") format("embedded-opentype"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.woff?20180601") format("woff"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.ttf?20180601") format("truetype");
font-weight: bold;
}
@font-face{
font-family: "rounded-mplus-1m";
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1m-regular.eot?20180601");
src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1m-regular.eot?#iefix&20180601") format("embedded-opentype"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1m-regular.woff?20180601") format("woff"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1m-regular.ttf?20180601") format("truetype");
font-weight: normal;
}
html,
body {
color: #333;
font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "rounded-mplus-1c", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
word-break: break-word;
}
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: inherit;
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;
}
kbd {
background: whitesmoke;
border-radius: 5px;
border: solid 2px silver;
box-shadow: 0 1px 0px #c3c3c3;
color: gray;
font-family: inherit;
font-weight: bold;
line-height: 1.4em;
margin: 0 3px;
padding: 0.10em 0.75em;
vertical-align: text-top;
}
.mw-body {
border-right-width: 1px;
color: #333;
margin-right: 168px;
}
.mw-body-content {
font-size: inherit;
line-height: 1.8 !important;
}
.mw-body-content p {
margin: 0.6em 0;
}
.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: inherit;
font-size: 100% !important;
margin-top: 10px;
}
div#mw-panel div.portal div.body ul li {
font-size: 80%;
}
pre,
code,
tt,
samp,
.mw-code,
.mw-geshi pre {
font-family: "rounded-mplus-1m", "rounded-mplus-1c", Monaco, "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", Courier, "Hiragino Sans", "Yu Gothic UI", monospace !important;
}
.mw-code,
.mw-geshi pre {
background: #edf0f3;
border: none;
font-size: 14px;
height: auto;
letter-spacing: 0.1px;
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 {
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-align: center;
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;
}
span.smallbutton a.external {
width: 160px;
}
span.mediumbutton a.external {
width: 240px;
}
.smalltext {
font-size: 80%;
letter-spacing: 0.1px;
}
.clearfix:before,
.clearfix:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
visibility: hidden;
width: 0;
}
.clearfix:after {
clear: both;
}
.clearfix {
zoom: 1;
}
.attention {
display: inline-block;
font-size: 14px;
letter-spacing: 0.1px;
margin: 0.5em 0;
padding: 1em;
background: #fbe1e8;
}
.widget {
background: #fff;
margin: 0.5em 0 1em;
text-align: center;
}
.widget a {
font-weight: normal;
}
.widget>div:first-child {
font-size: 14px;
font-weight: bold;
letter-spacing: 0.1px;
}
.widget .sr {
display: block;
margin: 8px 0;
padding: 0;
position: relative;
width: 100%;
}
.widget .sr img {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.widget .sr p {
color: #fff;
font-size: 12px;
margin: 0;
word-break: break-all;
}
.widget .sr:hover p {
text-decoration: underline;
}
.widget .sr:hover img {
filter: alpha(opacity=75);
opacity: 0.75;
-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;
}
.widget .sr div:first-child {
height: 160px;
line-height: 0;
width: 160px;
}
.widget .sr div:first-child + div {
background: rgba(0, 0, 0, 0.75);
bottom: 0;
left: 0;
padding: 2px;
position: absolute;
text-align: left;
}
.sidebar2 {
position: absolute;
right: 4px;
top: 80px;
width: 160px;
}
.adsense{
text-align: center;
}
#localNotice {
color: crimson;
font-size: 16px;
font-weight: bold;
}
@media screen and (max-width: 991px) {
.mw-body {
border-right-width: 0;
margin-right: 0;
}
.sidebar2 {
display: none;
}
}
スポンサーリンク