Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4134764
Logo.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
Logo.less
View Options
.
mw-logo
{
.flex-display()
;
//
If
icon
is
not
configured,
ensure
that
the
logo
still
takes
up
available
//
space
allocated
by
layout.
height
:
100
%
;
//
Center
vertically.
align-items
:
center
;
//
Hamburger
menu
icon
with
padding
(22px
+
12px
=
46px)
+
right
margin
(12px)
+
logo
(222px
@
16)
+
space
between
//
logo
and
searchbox
(28px)
=
296px
which
equals
the
sum
of
widths
of
sidebar
elements
(i.e.
TOC)
when
toggled.
//
226px
@
16
provides
correct
spacing
between
the
right
edge
of
logo
container
+
left
edge
of
searchbox
input.
min-width
:
13.875
em
;
//
222px
@
16
.vector-feature-main-menu-pinned-disabled
&
{
//
The
logo
is
40px
from
the
page
container.
//
Main
menu
button
width
(20px)
+
20px
=
40px
margin-left
:
20
px
;
}
}
.
mw-logo-icon
{
//
For
browsers
which
do
not
support
flexbox
we
float
left.
//
This
will
be
ignored
in
flexbox
browsers.
float
:
left
;
margin-right
:
10
px
;
@
size-mw-logo-icon
:
unit
(
50
/
@
font
-size-browser
,
em
);
width
:
@
size-mw-logo-icon
;
height
:
@
size-mw-logo-icon
;
}
.
mw-logo-container
{
//
For
browsers
which
do
not
support
flexbox
we
float
left.
//
This
will
be
ignored
in
flexbox
browsers.
//
The
two
children
`div`s
will
lay
out
in
a
row.
float
:
left
;
//
At
mobile
resolutions
restrict
logo
to
120px
to
optimize
for
a
340px
display
(@min-width-supported)
//
(based
on
https
:
//
gs
.
statcounter
.
com
/
screen
-
resolution-stats
/
mobile
/
worldwide
)
//
This
accounts
for
up
to
5
icons
//
(
Echo
notifications
x
2
,
search
,
hamburger
and
personal
menu
)
//
where
the
icons
have
44
px
each
(
44
x5
=
220
px
)
max-width
:
120
px
;
img
{
width
:
100
%
;
}
@
media
(
min-width
:
@
min-width-breakpoint-tablet
)
{
max-width
:
none
;
img
{
width
:
auto
;
}
}
}
//
Note
for
3rd
parties
where
no
wgLogos
[
'wordmark'
]
is
defined
//
the
site
title
is
not
clipped
.
We
may
need
to
revisit
this
later
//
for
projects
with
long
site
titles
.
.
mw-logo-wordmark
{
display
:
block
;
margin
:
0
auto
;
}
.
mw-logo-tagline
{
//
For
browsers
which
do
not
support
flexbox.
display
:
block
;
margin
:
5
px
auto
0
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 12:48 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/38/b825f4246f8f4f8d4c253e92f8f5
Default Alt Text
Logo.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment