移動: 案内, 検索

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

65行: 65行:
 
text-decoration: none;
 
text-decoration: none;
 
background-image: url(/images/7/74/Mapthumbnail.png) !important;
 
background-image: url(/images/7/74/Mapthumbnail.png) !important;
background-size: 160px 77px;
+
background-size: contain !important;
 
}
 
}
 
#p-MAP a {
 
#p-MAP a {

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

/* ここに記述した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%;
}

#p-MAP {
margin-left: 4px !important;
width: 160px;
height: 77px;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
background-image: url(/images/7/74/Mapthumbnail.png) !important;
background-size: contain !important;
}
#p-MAP a {
display: block;
width: 160px;
height: 77px;
}

.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;
}

}