移動: 案内, 検索

「MediaWiki:Common.css」の版間の差分

54行: 54行:
  
 
#p-logo a {
 
#p-logo a {
 +
background-size: 100%;
 +
}
 +
 +
#n-.E5.9C.B0.E5.9B.B3.E3.81.8B.E3.82.89.E3.81.BF.E3.81.A4.E3.81.91.E3.82.8B a {
 +
display: block;
 +
width: 160px;
 +
height: 77px;
 +
background-repeat: no-repeat;
 +
background-position: center center;
 +
text-decoration: none;
 +
background-image: url(/images/7/74/Mapthumbnail.png);
 
background-size: 100%;
 
background-size: 100%;
 
}
 
}

2015年3月11日 (水) 04:43時点における版

/* ここに記述したCSSはすべての外装に反映されます */
.floatList li {
float: left;
margin-right: 3em;
}

.page-メインページ h1 {
display: none;
}

.page-メインページ h2 {
font-weight: bold;
}

.page-メインページ .toc, #toc {
display: none;
}

.page-メインページ ul {
margin-bottom: 20px;
}

div.tright {
margin: 0.5em 0 1.3em 0;
}

blockquote {
background-color:#ddd;
padding:1em 1em 1em 3em;
position:relative;
}

blockquote:before{
content: "“";
font-size: 600%;
line-height: 1em;
font-family: sans-serif;
color: #999;
position: absolute;
left: 0;
top: 0;
}

blockquote:after{
content: "”";
font-size: 600%;
line-height: 0em;
font-family: sans-serif;
color: #999;
position: absolute;
right: 0;
bottom: 0;
}

#p-logo a {
background-size: 100%;
}

#n-.E5.9C.B0.E5.9B.B3.E3.81.8B.E3.82.89.E3.81.BF.E3.81.A4.E3.81.91.E3.82.8B a {
display: block;
width: 160px;
height: 77px;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
background-image: url(/images/7/74/Mapthumbnail.png);
background-size: 100%;
}

.thumbcaption {
font-size:1.4em !important;
}

@media (max-width: 767px) {
div#content {
margin-left: 0;
}
div#mw-panel {
position: relative;
top: 0;
}
#p-logo {
position: relative;
top: 0;
}
#left-navigation {
left: 0;
}
div.thumbinner {
width: 100% !important;
}
.slideshow img {
width: 100%;
max-width: 100%;
height: auto;
}

}