MediaWiki:Common.css: Difference between revisions

From Zezenia Online Wiki
No edit summary
No edit summary
Line 51: Line 51:
/* Inline item icon */
/* Inline item icon */
.zezenia-inline-item img {
.zezenia-inline-item img {
   vertical-align: text-bottom;
   vertical-align: middle;
   padding-right: 4px;
   padding-right: 4px;
}
}

Revision as of 15:33, 18 April 2021

/* CSS placed here will be applied to all skins */

/* Landing page */
.zezenia-landing-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 20px;
}

@media(min-width: 500px) {
  .zezenia-landing-grid {
    flex-direction: row;
  }
}

.zezenia-landing-item {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid #eee;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  flex: 1 0 33%;
  margin: 10px;
  padding: 10px 0;
}

.zezenia-landing-item .floatnone {
  min-height: 80px;
  line-height: 80px;
}

.zezenia-image-marker {
  position: absolute;
  background: rgba(0,0,0,0.6);
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  padding: 4px;
  color: #fff;
}

.zezenia-image-marker > a {
  color: #fff !important;
}

.zezenia-map-embed iframe {
  border: 1px solid #eee;
}

/* Inline item icon */
.zezenia-inline-item img {
  vertical-align: middle;
  padding-right: 4px;
}