MediaWiki:Mobile.css: Difference between revisions

From Whonix
Jump to navigation Jump to search
Content added Content deleted
No edit summary
Tag: Replaced
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* source: https://commons.wikimedia.org/wiki/MediaWiki:Mobile.css */
/* CSS placed here will affect users of the mobile site */
/* CSS placed here will affect users of the mobile site */

@media screen, handheld {
.com-mobile-handheld-hidden {
display: none !important;
}
.com-mobile-handheld-only {
display: block !important;
}
}


/* CodeSelect START */

.codeBoxArea {
border: 1px rgb(140, 140, 140) solid;
background-color: rgb(180, 180, 180);
margin-bottom: 0px;
width: 99%;
height: auto;
overflow: auto;
resize: none;
cursor: text !important;
position: relative;
z-index: 0;
}
.selectLink {
float: right;
height: 0px;
line-height: 16px;
position: relative;
z-index: 1;
}
.client-nojs .preDiv {
display: block;
}
.client-nojs .textareaDiv,
.client-nojs .selectBtnDiv {
display: none;
}
.client-js .preDiv {
display: none;
}
.client-js .textareaDiv,
.client-js .selectBtnDiv {
display: block;
}
.smallText {
font-size: 66%;
}

/* CodeSelect END */

/* begin sd widget style*/
.sd-btn-group {
display: none;
}
.sd-heading {
display: none;
}
.client-nojs .sd-heading {
font-weight: bold;
display: block;
}
.client-js .sd-btn-group {
display: block;
}
.client-js .sd-short-hidden .sd-short,
.client-js .sd-detailed-hidden .sd-detailed {
display: none;
}
/* end sd widget style*/

/* begin sd widget style for mobile*/
.btn-group {
font-size: 0;
}
.btn {
border: 1px solid black;
padding: 0.5em;
display: inline-block;
text-align: center;
vertical-align: middle;
font-size: 14px;
line-height: 1;
margin-bottom: 10px;
}
.btn-group > .btn + .btn {
margin-left: -1px;
}
.btn.active {
background-color: #ddd;
}
/* end sd widget style for mobile*/

Latest revision as of 07:24, 20 January 2022

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