移動: 案内, 検索

MediaWiki:Common.css

2016年3月19日 (土) 10:35時点におけるSennen (トーク | 投稿記録)による版

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: ツール → 設定 からキャッシュをクリアしてください。
/* ここに記述したCSSはすべての外装に反映されます */
.floatList li {
  float: left;
  margin-right: 3em;
}

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

h2 {
  margin-top: 30px;
  font-size: 25px;
}

h3 {
  font-size: 18px;
}

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

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

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

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

/*
.page-メインページ div#footer {
display: none;
}
*/

li#footer-places-privacy { display: none; }
li#footer-places-disclaimer { display: none; }
.page-メインページ li#pt-login { display: none; }
li#footer-places-about { display: none; }
li#draft-index { display: none; }
.page-メインページ li#draft-index { display: inline; }
.page-メインページ #footer-icons { display: none; }

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-logo > a > img {
  max-width: 160px
}

#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:hover {
  filter:alpha(opacity=70);
  opacity:0.7;
}

#p-MAP a {
  display: block;
  width: 160px;
  height: 77px;
}

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

div#map-container>div {
  background-color: white !important;
}

div#map-copyright, div#map-legend {
  font-size: 12px;
  font-family: Arial, sans-serif;
  margin: 15px 2px 8px 4px;
  padding: 0 4px;
  background-color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

select#map-select {

position: relative;
    z-index: 1;  
  
    line-height: 1.8;

    display: block;

    width: 80%;
    padding: 0;

    text-indent: 8px;

    background-color: transparent;
    background-image: none;
    box-shadow: none;

    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;

  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
}



.select-group:after {
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;

    width: 0;
    height: 0;
    margin: auto;

    content: '';

    border-top: 4px solid #999;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

select#map-select:focus {
  outline: 0;
  /*-webkit-appearance: none;*/
  border-radius: 0;
}

@media screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio:0) {
  select, select:focus,
  textarea, textarea:focus,
  input, input:focus {
    font-size: 12px;
  }
}

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

}