Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5966470
mediawiki.content.json.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
mediawiki.content.json.less
View Options
/*!
* CSS for styling HTML-formatted JSON Schema objects
*
* @file
* @author Munaf Assaf <massaf@wikimedia.org>
*/
/* stylelint-disable selector-class-pattern */
@
import
'mediawiki.skin.variables.less'
;
@
import
'mediawiki.mixins.less'
;
.
mw-json
{
border-collapse
:
collapse
;
border-spacing
:
0
;
font-style
:
normal
;
th,
td
{
border
:
@
border
-
base
;
/* TODO: Re-evaluate whether we should keep this over-ride or switch to ems */
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
font-size
:
16
px
;
padding
:
0.5
em
1
em
;
}
tr
{
background-color
:
@
background-color
-
neutral
;
margin-bottom
:
0.5
em
;
}
th
{
background-color
:
@
background-color
-
base
;
font-weight
:
normal
;
vertical-align
:
top
;
span
{
.position-sticky()
;
top
:
0.5
em
;
}
}
}
.
mw-json-value
,
.
mw-json-single-value
{
background-color
:
#dcfae3
;
font-family
:
monospace
,
monospace
;
white-space
:
pre-wrap
;
html.skin-theme-clientpref-night
&
{
@media
screen
{
background-color
:
@
background-color
-
transparent
;
}
}
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
@
media
screen
and
(
prefers-color-scheme
:
dark
)
{
html
.
skin-theme-clientpref-os
&
{
background-color
:
@
background-color
-
transparent
;
}
}
}
.
mw-json-single-value
{
background-color
:
@
background-color
-
neutral
;
}
.
mw-json-empty
{
background-color
:
@
background-color
-
base
;
font-style
:
italic
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 11:39 (5 d, 4 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/96/9df1079838465a3c3797217cd1ae
Default Alt Text
mediawiki.content.json.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment