Difference between revisions of "MediaWiki:Mobile.css"

From ChaldeanWiki
Jump to: navigation, search
Line 63: Line 63:
 
}
 
}
  
#content .icon-edit{
+
#content .icon-edit, #content .icon-edit.enabled{
 
background-image:none!important;
 
background-image:none!important;
 
}
 
}

Revision as of 11:49, 20 July 2015

/* CSS placed here will affect users of the mobile site */

.mf-welcome {
max-width:350px;
}

/*library of congress gallery*/
.gallery3 {
  clear: both;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: left;
  font-size: 0px;
  letter-spacing: 0px;
  word-spacing: 0px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery3 > li {
  padding: 0;
  list-style: none;
  width: 100%;
  margin-left: 2.1276595744681%;
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
  letter-spacing: normal;
  word-spacing: normal;
}
.gallery3 img {
  max-width: 100%;
  height: auto;
  width: auto \9;
  display: block;
  margin-bottom: 5px;
}
.gallery3 > li {
  width: 31.914893617021%;
  margin-left: 2.1276595744681%;
}
.gallery3 > li:nth-child(3n+1) {
  margin-left: 0;
}

.gallery3 li span {
  position: relative!important;
  color:#FFF;
  top:-40px;
  float:left;
  padding: 7px;
  display: block;
  width: 100%;
  font-weight: bold;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.1;
  text-shadow: 0 0 5px #333333;
}

#content .icon-edit, #content .icon-edit.enabled{
background-image:none!important;
}