Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4133618
screen-common.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
13 KB
Referenced Files
None
Subscribers
None
screen-common.less
View Options
@
import
'variables.less'
;
/* Page layout */
html
,
body
{
margin
:
0
;
padding
:
0
;
}
body
{
font-family
:
@
fonts
;
color
:
@
text
;
//
Footer
colour
;
results
in
a
weird
distracting
dark
scrollbar
in
firefox,
but
fuck
firefox
//
Setting
it
here
avoids
a
jump
to
white
after
the
footer,
which
is
even
more
distracting
background
:
@
base30
;
font-size
:
@
font-size
;
line-height
:
1.5
;
}
#
mw-content
{
.box
;
background
:
@
background
;
padding
:
1
em
@
content
-
padding
3
em
;
}
#
bodyContentOuter
{
/* Set a z-index for the content to group it away from any nav stuff (extensions) - T200148 */
position
:
relative
;
z-index
:
@
z-index
-
base
;
}
.
mw-body
{
word-wrap
:
break-word
;
}
.
mw-footer-container
{
border-top
:
solid
1
px
@
base20
;
box-shadow
:
inset
0
7
px
2
px
-4
px
rgba
(
0
,
0
,
0
,
0.1
);
color
:
@
base100
;
a
{
color
:
darken
(
@
blue
-bright
,
3
%
);
&:hover
{
color
:
darken
(
@
blue
-bright
,
6
%
);
}
&
:
visited
{
color
:
darken
(
@
blue
-bright
,
8
%
);
&:hover
{
color
:
darken
(
@
blue
-bright
,
12
%
);
}
}
}
ul
{
margin
:
0
;
}
}
#
p-logo
{
text-align
:
center
;
margin
:
auto
;
}
#
p-logo-text
{
padding-right
:
1
em
;
box-sizing
:
border-box
;
max-width
:
@
column
-
left
-
size
;
text-align
:
center
;
line-height
:
1
;
a
{
display
:
flex
;
height
:
100
%
;
align-items
:
center
;
justify-content
:
center
;
color
:
@
text
;
font-family
:
@
fonts-secondary
;
font-variant
:
small-caps
;
font-size
:
1.85
em
;
/* 13+ character names */
&.long
{
font-size
:
1.5
em
;
line-height
:
0.8
;
}
}
}
/* Search */
#
simpleSearch
{
box-shadow
:
inset
0
2
px
4
px
0
rgba
(
0
,
0
,
0
,
0.05
);
background
:
@
background
;
position
:
relative
;
border
:
solid
1
px
@
base70
;
}
#
searchInput
{
border
:
0
;
margin
:
0
;
height
:
2.1
em
;
padding
:
0.4
em
4.5
em
0.2
em
2
em
;
box-shadow
:
none
;
background
:
transparent
;
width
:
100
%
;
min-height
:
0
;
font-family
:
inherit
;
}
#
searchButton
,
#
mw-searchButton
{
position
:
absolute
;
top
:
0
;
margin
:
0
;
padding
:
0
;
right
:
1.5
em
;
width
:
2.5
em
;
height
:
2.5
em
;
.icon
;
background-image
:
url
(
images/search-ltr.svg
);
/* @noflip */
background-position
:
center
40
%
;
box-shadow
:
none
;
}
.
suggestions
{
background
:
@
background
;
box-shadow
:
0
2
px
2
px
1
px
rgba
(
0
,
0
,
0
,
0.05
);
.suggestions-special
{
background-color
:
@
background
;
border
:
1
px
solid
@
base70
;
border-bottom-width
:
@
border
;
padding
:
0.75
em
2
em
;
}
.
suggestions-results
{
background-color
:
@
background
;
border
:
1
px
solid
@
base70
;
border-bottom-width
:
@
border
;
}
.
suggestions-result
{
color
:
@
text
;
padding
:
0.65
em
2
em
0.35
em
;
}
.
suggestions-result-current
{
background-color
:
@
blue
;
color
:
@
background
;
}
}
.
dropdown-toggle
{
.dropdown-header()
;
}
/* Footer */
.
mw-footer
{
padding-top
:
0.5
em
;
padding-bottom
:
1
em
;
ul,
li
{
margin
:
1
em
0
;
list-style
:
none
;
padding
:
0
;
}
.
footer-icons
{
float
:
right
;
margin
:
0
0
0
1
em
;
}
#
footer-places
li
{
display
:
inline-block
;
margin
:
0
1
em
0
0
;
}
#
lastmod
,
#
credits
,
#
copyright
{
display
:
block
;
}
}
/* Content */
#
mw-content-container
{
background
:
@
base80
;
border-bottom
:
solid
4
px
@
green
;
/* Background image (default cat) */
background-image
:
@
backdrop-image
;
background-repeat
:
no-repeat
;
background-position
:
center
10
em
;
}
.
tools-inline
,
.
tools-inline
&
{
div,
ul,
li
{
list-style
:
none
;
display
:
inline-block
;
margin
:
0
;
padding
:
0
;
}
}
.
tools-inline
li
{
margin
:
0.25
em
0
1
em
;
border-bottom
:
solid
3
px
transparent
;
&:hover
{
border-bottom-color
:
@
base70
;
}
&
.
selected
{
border-bottom-color
:
@
blue
;
a
{
color
:
@
text
;
}
}
a
{
.ca-icon(
'images/page-misc-grey'
)
;
&:hover
{
text-decoration
:
none
;
}
}
}
#
p-namespaces
{
float
:
left
;
li
{
margin-right
:
1
em
;
}
}
#
p-views
,
#
p-more
{
float
:
right
;
li
{
margin-left
:
1
em
;
}
}
#
ca-watch
a
{
.ca-icon(
'images/star'
)
;
.ca-icon-only()
;
}
#
ca-unwatch
a
{
.ca-icon(
'images/star-filled'
)
;
.ca-icon-only()
;
}
#
ca-unwatch
.
mw-watchlink-temp
a
{
.ca-icon(
'images/star-half-filled'
)
;
.ca-icon-only()
;
}
#
ca-edit
a
{
.ca-icon(
'images/pencil-grey'
)
;
}
#
ca-history
a
{
.ca-icon(
'images/clock-grey'
)
;
}
#
ca-talk
a
{
.ca-icon(
'images/talk-grey'
)
;
}
#
t-contributions
a
{
.ca-icon(
'images/puzzle-grey'
)
;
}
#
ca-addsection
a
{
.ca-icon(
'images/plus-grey'
)
;
}
#
ca-viewsource
a
{
.ca-icon(
'images/brackets-grey'
)
;
}
#
ca-view
a
,
#
ca-view-foreign
a
{
.ca-icon(
'images/eyeball-grey'
)
;
}
#
ca-view
{
.hidden()
;
}
.
tools-inline
li
[
id
^=
'ca-nstab-'
]
a
{
.ca-icon(
'images/page-grey'
)
;
}
#
siteNotice
{
font-size
:
95
%
;
margin
:
0.5
em
auto
1.5
em
;
}
#
localNotice
{
.box()
;
padding
:
0
;
text-align
:
center
;
p
{
margin-left
:
1
em
;
margin-right
:
1
em
;
}
}
/* Misc */
a
{
text-decoration
:
none
;
color
:
@
link
;
&:hover
{
color
:
darken
(
@
link
,
10
%
);
text-decoration
:
underline
;
}
&
:
visited
{
color
:
@
link-visited
;
&:hover
{
color
:
darken
(
@
link
-visited
,
10
%
);
}
}
}
a
.
new
,
.
new
a
{
color
:
@
link-red
;
&:hover
{
color
:
darken
(
@
link
-red
,
10
%
);
}
&
:
visited
{
color
:
@
link-red-visited
;
&:hover
{
color
:
darken
(
@
link
-red-visited
,
10
%
);
}
}
}
.
mw-parser-output
a
.
extiw
,
.
mw-parser-output
a
.
extiw
:
active
,
.
mw-parser-output
a
.
external
{
color
:
@
link-ext
;
&:hover
{
color
:
darken
(
@
link
-ext
,
10
%
);
}
&
:
visited
{
color
:
@
link-ext-visited
;
&:hover
{
color
:
darken
(
@
link
-ext-visited
,
10
%
);
}
}
}
a
.
mw-selflink
{
color
:
inherit
;
font-weight
:
bold
;
text-decoration
:
inherit
;
}
.
mw-editsection
{
font-family
:
@
fonts
;
background-image
:
url
(
images/pencil-grey.svg
);
background-repeat
:
no-repeat
;
background-position
:
left
bottom
;
padding-left
:
20
px
;
padding-top
:
0.5
em
;
a
{
display
:
inline-block
;
padding
:
0.5
em
0
0.25
em
;
margin-right
:
1
em
;
&:first-of-type
{
/* make the icon part of the first link */
padding-left
:
20
px
;
margin-left
:
-20
px
;
}
}
}
.
mw-editsection-bracket
{
display
:
none
;
}
.
mw-indicators
{
float
:
right
;
margin-left
:
1
em
;
img
{
/* Line up to baseline; expected indicator icon size is 20px */
margin-top
:
-0.5
em
;
}
}
.
mw-indicator
{
display
:
inline-block
;
margin
:
0.65
em
0
0
0.25
em
;
}
div
.
magnify
a
{
display
:
block
;
text-indent
:
20
px
;
white-space
:
nowrap
;
overflow
:
hidden
;
width
:
20
px
;
height
:
20
px
;
margin
:
0
0
0.5
em
0.5
em
;
background-image
:
url
(
images/magnify-ltr.svg
);
}
/* Subtitle area
* @see https://phabricator.wikimedia.org/T173951
*/
#
contentSub
{
font-size
:
84
%
;
color
:
@
base20
;
/* This forces "redirect page" (on a redirect page) etc. on a new line */
.subpages
{
display
:
block
;
}
}
/**
* Old-school "you have new messages" notification bar for when the Echo
* extension isn't installed
* Styles copied from /resources/src/mediawiki.skinning/interface.css@REL1_34
* @see https://phabricator.wikimedia.org/T294679
*/
.
usermessage
{
background-color
:
#ffce7b
;
border
:
1
px
solid
#ffa500
;
color
:
#000
;
font-weight
:
bold
;
margin
:
2
em
0
1
em
;
padding
:
0.5
em
1
em
;
vertical-align
:
middle
;
}
/* pre and code styles copypasted from core
* /resources/src/mediawiki.skinning/elements.css and modified a bit
* @see https://phabricator.wikimedia.org/T177142
*/
.
screenplay
,
code
,
tt
,
kbd
,
pre
,
samp
,
.
skin-timeless
.
monospace
{
font-family
:
@
fonts-mono
;
}
.
skin-timeless
.
serif
{
font-family
:
@
fonts-serif
;
}
.
skin-timeless
.
sans-serif
{
font-family
:
@
fonts-sans
;
}
code
,
pre
,
.
mw-code
{
color
:
#000
;
background-color
:
@
base90
;
border
:
1
px
solid
@
base70
;
}
code
{
padding
:
1
px
4
px
;
}
pre
,
.
mw-code
{
padding
:
1
em
;
/* Wrap lines in overflow. T2260, T103780 */
white-space
:
pre-wrap
;
}
.
mw-body
{
.mw-heading,
h1,
h2,
h3,
h4,
h5,
h6,
dt
{
font-weight
:
normal
;
font-family
:
@
fonts-secondary
;
line-height
:
1.125
;
margin
:
1.25
em
0
0.5
em
;
}
dt
{
font-weight
:
bold
;
font-family
:
@
fonts-secondary
;
line-height
:
1.125
;
margin
:
1.5
em
0
0.5
em
;
margin-bottom
:
0.1
em
;
}
dl
{
margin-top
:
0.2
em
;
margin-bottom
:
0.5
em
;
}
form
dt
{
margin
:
0
0.5
em
0
0
;
}
h1
.
firstHeading
{
margin
:
0.25
em
0
0.5
em
;
border-bottom
:
solid
4
px
@
blue
;
display
:
block
;
}
.
mw-heading1
,
h1
{
font-size
:
2
em
;
border-bottom
:
solid
3
px
@
base70
;
}
.
mw-heading2
,
h2
{
font-size
:
1.8
em
;
border-bottom
:
solid
2
px
@
base70
;
}
.
mw-heading1
,
h1
,
.
mw-heading2
,
h2
{
//
Introduce
a
"block
formatting
context"
so
that
the
border-bottom
underline
doesn't
overlap
//
thumbnails,
infoboxes
and
other
floated
content.
//
https
:
//
developer
.
mozilla
.
org
/
en-US
/
docs
/
Web
/
Guide
/
CSS
/
Block_formatting_context
//
//
It
also
allows
floated
content
inside
the
heading
to
not
be
affected
by
those
other
floats
//
(
e
.
g
.
[
edit
]
links
when
floated
by
gadgets
,
or
[
subscribe
]
links
in
DiscussionTools
T318872
)
.
//
//
Other
skins
commonly
use
'overflow: hidden'
for
this
,
but
in
our
case
it
causes
text
in
//
languages
with
tall
scripts
to
be
cut
off
(
T195822
)
.
'display: flow-root'
works
in
all
//
browsers
supported
by
MediaWiki
except
IE
11
(
https
://
caniuse
.
com
/?
search
=
flow
-
root
)
.
display
:
flow
-
root
;
}
.
mw-heading3
,
h3
{
font-size
:
1.6
em
;
}
.
mw-heading4
,
h4
{
font-size
:
1.4
em
;
}
.
mw-heading5
,
h5
{
font-size
:
1.25
em
;
}
.
mw-heading6
,
h6
{
font-size
:
1.2
em
;
}
//
Override
the
styles
above
for
`
hN
`
nested
inside
`
.
mw-heading
`
,
as
used
on
wikitext
pages
.
.
mw-heading
{
h1,
h2,
h3,
h4,
h5,
h6
{
font-size
:
inherit
;
border-bottom
:
0
;
//
Must
be
inline
to
allow
`.mw-editsection`
to
be
shown
on
the
same
line
display
:
inline
;
}
}
dt
{
margin-top
:
1
em
;
}
dd
{
margin-bottom
:
1
em
;
}
.
mw-changeslist-legend
dt
{
margin
:
0
0.5
em
0
0
;
}
.
mw-changeslist-legend
dd
{
margin-bottom
:
0
;
}
}
//
Keep
images
from
overflowing
.
mw-body-content
a
>
img
,
.
mw-body-content
.
floatnone
>
img
{
height
:
auto
!important
;
max-width
:
100
%
!important
;
}
a
>
img
,
.
floatnone
>
img
{
//
Hopefully
these
are
only
templates
or
something
sane
to
begin
with
//
See
:
T269970
.
mw-body-content
table
&
{
height
:
unset
!important
;
max-width
:
unset
!important
;
}
}
#
siteSub
{
margin
:
-0.5
em
0
0.5
em
0
;
font-style
:
italic
;
font-family
:
@
fonts-secondary
;
display
:
none
;
}
hr
{
border-width
:
1
px
;
border-color
:
@
base70
;
border-style
:
solid
none
solid
none
;
margin
:
0.5
em
0
;
}
pre
{
overflow
:
auto
;
white-space
:
pre-wrap
;
}
p
{
margin
:
1
em
0
;
}
ul
{
padding
:
0
;
margin
:
0.3
em
0
0
1.6
em
;
}
.
center
{
margin-right
:
auto
;
margin-left
:
auto
;
text-align
:
center
;
}
/* Thumbnails */
/* @noflip */
.
floatright
,
.
tright
{
margin
:
0
0
0.5
em
0.5
em
;
padding
:
0
0
1
em
1.5
em
;
}
/* @noflip */
.
floatleft
,
.
tleft
{
margin
:
0
0.5
em
0.5
em
0
;
padding
:
0
1.5
em
1
em
0
;
}
.
thumbinner
{
.box
;
padding
:
0.75
em
;
/* Properly center framed thumbnail images (T219717) */
margin-left
:
auto
;
margin-right
:
auto
;
overflow
:
hidden
;
}
.
thumbcaption
{
font-size
:
95
%
;
padding
:
0.5
em
0
0
;
/* For the magnify link on empty captions */
min-height
:
1
em
;
&:empty
{
padding
:
0
;
min-height
:
0
;
}
}
.
thumbinner
.
thumbimage
,
.
thumbborder
{
border
:
solid
1
px
@
base80
;
}
.
mw-body
li
.
gallerybox
div
.
thumb
{
.box
;
padding
:
0
;
}
/* Tables of contents */
ul
#
filetoc
,
.
toc
,
.
toccolours
,
.
mw-warning
{
display
:
table
;
.box
;
padding
:
1.25
em
1.75
em
;
margin-top
:
1
em
;
margin-bottom
:
1
em
;
min-width
:
15
em
;
font-size
:
100
%
;
}
.
toc
{
line-height
:
1.2
;
ul
{
margin
:
1
em
0
0
;
list-style
:
none
;
text-align
:
left
;
}
li
{
margin
:
0.3
em
0
;
&:last-child
{
margin-bottom
:
0.5
em
;
}
}
}
ul
#
filetoc
{
display
:
block
;
margin-bottom
:
2
em
;
}
.
mw-body
.
toctitle
{
border-bottom
:
solid
2
px
@
base70
;
text-align
:
unset
;
h2
{
border-bottom
:
0
;
font-size
:
1
em
;
font-family
:
@
fonts
;
margin
:
0
;
display
:
inline
;
}
}
.
toctogglespan
{
float
:
right
;
}
/* Remove brackets around the show/hide button of the TOC
The selectors have a higher specifity than in core */
body
:
not
(
:
checked
)
>
.
toctogglespan
::
before
,
body
:
not
(
:
checked
)
>
.
toctogglespan
::
after
{
content
:
''
;
}
.
toctogglelabel
{
padding-left
:
0
;
/* Overwrite label { padding-left: 0.5em; } from forms.less */
margin-left
:
0.5
em
;
/* Create new distance to the TOC title without increasing the focus ring */
}
.
toclevel-1
{
margin-bottom
:
0.25
em
;
}
.
tocnumber
{
color
:
@
base20
;
}
.
skin-timeless
.
mw-body
.
oo-ui-tagMultiselectWidget-handle
,
.
skin-timeless
.
mw-body
.
oo-ui-capsuleMultiselectWidget-handle
{
margin
:
0
;
/* wat */
}
.
mw-body
.
mw-rcfilters-ui-changesListWrapperWidget
.
mw-changeslist-legend
,
/* wat */
.
mw-changeslist-legend
,
.
mw-body
.
mw-search-profile-tabs
,
.
mw-body
fieldset
#
mw-searchoptions
,
.
mw_metadata
,
.
wikitable
,
.
mw-datatable
{
color
:
@
text
;
.box
;
padding
:
1.25
em
1.75
em
;
}
.
mw-body
.
mw-search-profile-tabs
{
padding
:
0.5
em
;
}
.
mw_metadata
,
.
mw-datatable
,
.
wikitable
{
border-color
:
@
base70
;
>
tr
>
th,
>
tr
>
td,
>
*
>
tr
>
th,
>
*
>
tr
>
td
{
border
:
1
px
solid
@
base70
;
padding
:
0.4
em
0.5
em
;
}
}
.
mw-datatable
th
{
background
:
@
blue
-
bright
;
}
.
mw_metadata
th
,
.
wikitable
th
{
background
:
@
base80
;
}
.
mw_metadata
{
border-bottom-width
:
3
px
;
}
/* Color bars */
.
color-bar
{
width
:
100
%
;
}
.
color-left
{
height
:
@
color
-
height
;
background
:
@
red
-
dark
;
width
:
50
%
;
float
:
left
;
}
.
color-right
{
display
:
inline-block
;
height
:
@
color
-
height
;
background
:
@
green
-
dark
;
width
:
50
%
;
float
:
right
;
}
.
color-middle-container
{
max-width
:
@
content
-
width
;
margin
:
0
auto
-@
color
-
height
;
position
:
relative
;
}
.
color-middle
{
height
:
@
color
-
height
;
background
:
@
blue
-
dark
;
margin-left
:
@
column
-
left
-
size
+
1
em
;
margin-right
:
@
column
-
right
-
size
+
1
em
;
}
/* Portlets */
.
emptyPortlet
,
#
mw-page-header-links
.
emptyPortlet
{
display
:
none
;
}
#
p-lang
.
emptyPortlet
{
display
:
inherit
;
}
/* Hidden stuff */
#
p-namespaces
h3
,
#
p-views
h3
,
#
p-more
h3
,
#
p-search
h3
{
.hidden
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 12:14 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
be/0b/858421f906726374f91553e40df9
Default Alt Text
screen-common.less (13 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment