「MediaWiki:Mobile.css」の版間の差分
ナビゲーションに移動
検索に移動
細 |
細 |
||
3行目: | 3行目: | ||
メインページ モバイル版 | メインページ モバイル版 | ||
--------------------------------------------------*/ | --------------------------------------------------*/ | ||
− | |||
.main_h{ | .main_h{ | ||
color:#fff; | color:#fff; | ||
11行目: | 10行目: | ||
} | } | ||
− | |||
.main_h1{ | .main_h1{ | ||
font-size:135%; | font-size:135%; | ||
19行目: | 17行目: | ||
background:#333; | background:#333; | ||
} | } | ||
− | |||
.main_h2{ | .main_h2{ | ||
font-size:155%; | font-size:155%; | ||
+ | } | ||
+ | @media screen and (max-width: 1000px) { | ||
+ | .mainmenu_ellipsis{ | ||
+ | display:none; | ||
+ | } | ||
} | } | ||
31行目: | 33行目: | ||
margin:5px auto 5px; | margin:5px auto 5px; | ||
} | } | ||
− | |||
.char_table > div { | .char_table > div { | ||
display:inline-block; | display:inline-block; | ||
51行目: | 52行目: | ||
padding:32px 24px 0.1em; | padding:32px 24px 0.1em; | ||
} | } | ||
− | |||
.blockquote2 p:nth-of-type(1) { | .blockquote2 p:nth-of-type(1) { | ||
font-size:medium; | font-size:medium; | ||
} | } | ||
− | |||
.blockquote2 p:nth-last-of-type(1) { | .blockquote2 p:nth-last-of-type(1) { | ||
text-align:right; | text-align:right; | ||
font-size:smaller; | font-size:smaller; | ||
} | } | ||
− | |||
.blockquote2::before{ | .blockquote2::before{ | ||
position: absolute; | position: absolute; |
2016年5月25日 (水) 19:20時点における版
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */
/*--------------------------------------------------
メインページ モバイル版
--------------------------------------------------*/
.main_h{
color:#fff;
font-weight:bold;
text-align:center;
white-space:nowrap;
}
.main_h1{
font-size:135%;
padding-bottom:7px;
letter-spacing:1em;
width:100%;
background:#333;
}
.main_h2{
font-size:155%;
}
@media screen and (max-width: 1000px) {
.mainmenu_ellipsis{
display:none;
}
}
/*--------------------------------------------------
キャラセレ風表
--------------------------------------------------*/
.char_table {
max-width:900px;
margin:5px auto 5px;
}
.char_table > div {
display:inline-block;
width:60px;
letter-spacing:-0.5px;
font-size:0.7em;
white-space: nowrap;
text-align:center;
border:1px #333 solid;
}
/*--------------------------------------------------
テンプレート:引用2
--------------------------------------------------*/
.blockquote2{
border:1px solid #ddd;
border-left:8px solid #ddd;
position:relative;
padding:32px 24px 0.1em;
}
.blockquote2 p:nth-of-type(1) {
font-size:medium;
}
.blockquote2 p:nth-last-of-type(1) {
text-align:right;
font-size:smaller;
}
.blockquote2::before{
position: absolute;
top: -10px;
left: 24px;
content:" ";
display:inline-block;
width:38px;
height:30px;
background:url( http://ssbwiki.e3.valueserver.jp/wiki/images/9/98/Quote-left.svg);
background-size:contain;
vertical-align:middle;
background-repeat:no-repeat;
}