Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4112544
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
//
We
have
to
render
the
wordmark
image
before
the
print
dialog
is
invoked
,
otherwise
the
image
//
won
't render in the printed file. Use a little hack to render the image outside the viewport
// and bring it in the viewport in print view.
/* stylelint-disable-next-line selector-class-pattern */
.firstHeading {
// We could also use a CSS background to display the logo.
// The problem is that the logo won'
t
be
printed
unless
the
user
prints
the
background
too
.
//
Note
.
This
specification
does
not
fully
define
the
interaction
of
:
before
and
:
after
with
//
replaced
elements
(
such
as
IMG
in
HTML
).
This
will
be
defined
in
more
detail
in
a
future
//
specification
.
See
https
://
www
.
w3
.
org
/
TR
/
CSS2
/
generate
.
html
#
before-after-content
&
when
(
@
logo-enabled
=
1
)
{
&
::
before
{
content
:
@
logo-wordmark-url
;
display
:
block
;
height
:
~
'@{logo-wordmark-height}px'
;
left
:
-9999
px
;
line-height
:
0
;
//
line-height
is
needed
for
correctly
displaying
the
size
of
the
content
box.
margin-bottom
:
20
px
;
position
:
absolute
;
width
:
~
'@{logo-wordmark-width}px'
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 22:54 (15 h, 25 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
38/93/48b0b1c5b486b5a0311f37694a67
Default Alt Text
logo.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment