「MediaWiki:Common.css」の版間の差分
| 23行: | 23行: | ||
div.tright { | div.tright { | ||
margin: 0.5em 0 1.3em 0; | 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; | ||
} | } | ||
2015年3月6日 (金) 15:11時点における版
/* ここに記述した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;
}
.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;
}
}
