Difference between revisions of "MediaWiki:Mobile.css"

From TSG Doc
Jump to: navigation, search
(Created page with "CSS placed here will affect users of the mobile site: Fix the SyntaxHighlight style for mobile: .source-matlab { line-height:normal } .source-matlab li,.source-ma...")
 
(Replaced content with "CSS placed here will affect users of the mobile site: ")
(Tags: Mobile edit, Mobile web edit)
Line 1: Line 1:
 
/* CSS placed here will affect users of the mobile site */
 
/* CSS placed here will affect users of the mobile site */
 
/* Fix the SyntaxHighlight style for mobile */
 
 
.source-matlab {
 
line-height:normal
 
}
 
.source-matlab li,.source-matlab pre {
 
line-height:normal;
 
border:0px none white
 
}
 
.matlab.source-matlab .de1,.matlab.source-matlab .de2 {
 
font:normal normal 1em/1.2em monospace;
 
margin:0;
 
padding:0;
 
background:none;
 
vertical-align:top;
 
font-family:monospace,monospace
 
}
 
.matlab.source-matlab {
 
font-family:monospace,monospace
 
}
 
.matlab.source-matlab .imp {
 
font-weight:bold;
 
color:red
 
}
 
.matlab.source-matlab li,.matlab.source-matlab .li1 {
 
font-weight:normal;
 
vertical-align:top
 
}
 
.matlab.source-matlab .ln {
 
width:1px;
 
text-align:right;
 
margin:0;
 
padding:0 2px;
 
vertical-align:top
 
}
 
.matlab.source-matlab .li2 {
 
font-weight:bold;
 
vertical-align:top
 
}
 
.matlab.source-matlab .kw1 {
 
color:#0000FF
 
}
 
.matlab.source-matlab .kw2 {
 
color:#0000FF
 
}
 
.matlab.source-matlab .co1 {
 
color:#228B22
 
}
 
.matlab.source-matlab .co2 {
 
color:#A020F0
 
}
 
.matlab.source-matlab .br0 {
 
color:#080
 
}
 
.matlab.source-matlab .sy0 {
 
color:#080
 
}
 
.matlab.source-matlab .nu0 {
 
color:#33f
 
}
 
.matlab.source-matlab .re0 {
 
color:#33f
 
}
 
.matlab.source-matlab .ln-xtra,.matlab.source-matlab li.ln-xtra,.matlab.source-matlab div.ln-xtra {
 
background-color:#ffc
 
}
 
.matlab.source-matlab span.xtra {
 
display:block
 
}
 
.source-python {
 
line-height:normal
 
}
 
.source-python li,.source-python pre {
 
line-height:normal;
 
border:0px none white
 
}
 
.python.source-python .de1,.python.source-python .de2 {
 
font:normal normal 1em/1.2em monospace;
 
margin:0;
 
padding:0;
 
background:none;
 
vertical-align:top;
 
font-family:monospace,monospace
 
}
 
.python.source-python {
 
font-family:monospace,monospace
 
}
 
.python.source-python .imp {
 
font-weight:bold;
 
color:red
 
}
 
.python.source-python li,.python.source-python .li1 {
 
font-weight:normal;
 
vertical-align:top
 
}
 
.python.source-python .ln {
 
width:1px;
 
text-align:right;
 
margin:0;
 
padding:0 2px;
 
vertical-align:top
 
}
 
.python.source-python .li2 {
 
font-weight:bold;
 
vertical-align:top
 
}
 
.python.source-python .kw1 {
 
color:#ff7700;
 
font-weight:bold
 
}
 
.python.source-python .kw2 {
 
color:#008000
 
}
 
.python.source-python .kw3 {
 
color:#dc143c
 
}
 
.python.source-python .kw4 {
 
color:#0000cd
 
}
 
.python.source-python .co1 {
 
color:#808080;
 
font-style:italic
 
}
 
.python.source-python .coMULTI {
 
color:#808080;
 
font-style:italic
 
}
 
.python.source-python .es0 {
 
color:#000099;
 
font-weight:bold
 
}
 
.python.source-python .br0 {
 
color:black
 
}
 
.python.source-python .sy0 {
 
color:#66cc66
 
}
 
.python.source-python .st0 {
 
color:#483d8b
 
}
 
.python.source-python .nu0 {
 
color:#ff4500
 
}
 
.python.source-python .me1 {
 
color:black
 
}
 
.python.source-python .ln-xtra,.python.source-python li.ln-xtra,.python.source-python div.ln-xtra {
 
background-color:#ffc
 
}
 
.python.source-python span.xtra {
 
display:block
 
}
 

Revision as of 15:23, 7 July 2016

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