MediaWiki:Mobile.css: Difference between revisions

From Whonix
Jump to navigation Jump to search
Content added Content deleted
 
No edit summary
Line 11: Line 11:
}
}
}
}


/* 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;
}
.client-nojs .sd-short::before {
content: "Short version: ";
font-weight: bold;
}
.client-nojs .sd-detailed::before {
content: "Detailed version: ";
font-weight: bold;
}
.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*/

Revision as of 11:41, 7 July 2016

/* source: https://commons.wikimedia.org/wiki/MediaWiki:Mobile.css */
/* 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;
}
.client-nojs .sd-short::before {
    content: "Short version: ";
    font-weight: bold;
}
.client-nojs .sd-detailed::before {
    content: "Detailed version: ";
    font-weight: bold;
}
.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*/