MediaWiki:Mobile.css: Difference between revisions

629 bytes added ,  14:44, 18 November 2022
no edit summary
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 434: Line 434:
div#tag-room {
div#tag-room {
     background: #354569;
     background: #354569;
}
/* Clothing Body Type Widget */
div.infobox-image-wrap {
  max-width:300px;
  margin: auto;
  text-align: center;
  position: relative;
}
div.infobox-image-wrap input { display: none; }
div.infobox-image-wrap input + label { display: inline-block }
div.infobox-image-wrap input ~ .tab { display: none }
#tab1:checked ~ .tab.content1,
#tab2:checked ~ .tab.content2 { display: block; }
label#tab2 {
  margin-top: 35px;
}
div.infobox-image-wrap input + label {
  right: 0;
  position: absolute;
}
div.infobox-image-wrap input + label img {
  opacity: 0.3;
}
div.infobox-image-wrap input:checked + label img {
  opacity: 1;
}
}