MediaWiki:Mobile.css

提供: MeryWiki
移動先: 案内検索
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */
@import url("https://fonts.googleapis.com/css?family=Inconsolata|Quicksand:400,700");
@font-face{ 
    font-family: "rounded-mplus-1c";
    src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot?20170917");
    src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.eot?#iefix&20170917") format("embedded-opentype"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.woff?20170917") format("woff"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-regular.ttf?20170917") 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?20170917");
    src: url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.eot?#iefix&20170917") format("embedded-opentype"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.woff?20170917") format("woff"), url("https://www.haijin-boys.com/weblog/assets/fonts/rounded-mplus-1c-bold.ttf?20170917") 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;
    word-break: break-word;
}
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;
}
h2 {
    font-size: 120% !important;
}
h3 {
    font-size: 100% !important;
}
h4 {
    font-size: 100% !important;
}
h5 {
    font-size: 108% !important;
}
h6 {
    font-size: 100% !important;
}
hr {
    margin-bottom: 1.5em;
}
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;
    margin: 0 3px;
    padding: 0.10em 0.75em;
    vertical-align: text-top;
}
.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: inherit;
    font-size: 100% !important;
    margin-top: 10px;
}
pre,
code,
tt,
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;
}
.mw-code,
.mw-geshi pre {
    background: #edf0f3;
    border: none;
    font-size: 14px;
    height: auto;
    margin: 0 0 20px 0;
    overflow-x:auto;
    padding: 20px;
}
.content .floatleft {
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.content table.wikitable {
    border: none !important;
}
.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;
}
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;
}
.smalltext {
    font-size: 80%;
    letter-spacing: 0.1px;
}
.attention {
    display: inline-block;
    font-size: 14px;
    margin: 0.5em 0;
    padding: 1em;
    background: #fbe1e8;
}
.adsense{
    text-align: center;
}
スポンサーリンク