「MediaWiki:Mobile.css」の版間の差分
提供: MochiuWiki : SUSE, EC, PCB
ページの作成:「→ここに記述した全てのCSSはモバイル版サイトの利用者に影響します: .mw-category-group { →font-family: "DejaVu Sans" !important;: font-family: 'Droid Sans', "Droid Serif"; } .mw-body-content { →font-family: "DejaVu Sans" !important;: font-family: "Droid Sans", "Droid Serif"; } .firstHeading { font-family: "Droid Sans", "Droid Serif"; text-align: center; border: solid 3px rgb(80, 80, 80); border-radius: 5px; padding:…」 |
編集の要約なし |
||
| 3行目: | 3行目: | ||
.mw-category-group { | .mw-category-group { | ||
/*font-family: "DejaVu Sans" !important;*/ | /*font-family: "DejaVu Sans" !important;*/ | ||
font-family: 'Droid Sans', "Droid Serif"; | font-family: 'Droid Sans', "Droid Serif" !important; | ||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
/*font-family: "DejaVu Sans" !important;*/ | /*font-family: "DejaVu Sans" !important;*/ | ||
font-family: "Droid Sans", "Droid Serif"; | font-family: "Droid Sans", "Droid Serif" !important; | ||
} | } | ||
.firstHeading { | .firstHeading { | ||
font-family: "Droid Sans", "Droid Serif"; | font-family: "Droid Sans", "Droid Serif" !important; | ||
text-align: center; | text-align: center; | ||
border: solid 3px rgb(80, 80, 80); | border: solid 3px rgb(80, 80, 80); | ||
| 18行目: | 18行目: | ||
padding: 3px 3px; | padding: 3px 3px; | ||
margin: 5px; | margin: 5px; | ||
} | |||
h2 /* .mw-headline */ { | |||
/*text-decoration: underline;*/ | |||
font-family: "Droid Sans", "Droid Serif" !important; | |||
} | } | ||
| 47行目: | 52行目: | ||
code a.external { | code a.external { | ||
color: #FF904F !important; | color: #FF904F !important; | ||
} | } | ||
| 53行目: | 57行目: | ||
color: #f0f0f0; | color: #f0f0f0; | ||
background-color: #2277B0; | background-color: #2277B0; | ||
font-weight: bold; | font-weight: bold; | ||
font-family: "DejaVu Sans Mono" !important; | font-family: "DejaVu Sans Mono" !important; | ||
border: solid 1px rgba(50, 50, 50, 0.3); | border: solid 1px rgba(50, 50, 50, 0.3); | ||
border-radius: | border-radius: 1px; | ||
margin: | margin: 1px 1px; /* 外側の余白 : 上下2px, 左右3px */ | ||
padding: 1px | padding: 1px 1px; /* 内側の余白 : 上下1px, 左右3px */ | ||
} | } | ||
2024年8月20日 (火) 06:49時点における版
/* ここに記述した全てのCSSはモバイル版サイトの利用者に影響します */
.mw-category-group {
/*font-family: "DejaVu Sans" !important;*/
font-family: 'Droid Sans', "Droid Serif" !important;
}
.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
font-family: "Droid Sans", "Droid Serif" !important;
}
.firstHeading {
font-family: "Droid Sans", "Droid Serif" !important;
text-align: center;
border: solid 3px rgb(80, 80, 80);
border-radius: 5px;
padding: 3px 3px;
margin: 5px;
}
h2 /* .mw-headline */ {
/*text-decoration: underline;*/
font-family: "Droid Sans", "Droid Serif" !important;
}
h4 /* .mw-headline */ {
/*text-decoration: underline;*/
position: relative;
display: inline-block;
}
h4::after /* h4 .mw-headline::after */ {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
background-color: rgba(80, 80, 80, 0.5); /* アンダーラインの色 */
}
h5 .mw-headline {
/*text-decoration: underline;*/
border: solid 1px rgba(80, 80, 80, 0.7);
border-radius: 5px;
padding: 1px 3px;
margin: 5px;
}
/* codeタグ内のMediaWiki外のリンク */
code a.external {
color: #FF904F !important;
}
code {
color: #f0f0f0;
background-color: #2277B0;
font-weight: bold;
font-family: "DejaVu Sans Mono" !important;
border: solid 1px rgba(50, 50, 50, 0.3);
border-radius: 1px;
margin: 1px 1px; /* 外側の余白 : 上下2px, 左右3px */
padding: 1px 1px; /* 内側の余白 : 上下1px, 左右3px */
}