Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4147379
layout.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
layout.less
View Options
.
citizen-page-container
{
//
Include
margin
of
child
elements
as
part
of
the
height
display
:
flex
;
flex-direction
:
column
;
//
Make
page
container
take
the
whole
page
height
on
short
page
min-height
:
inherit
;
}
.
mw-body
,
.
parsoid-body
{
flex-grow
:
1
;
}
.
citizen-body-container
{
display
:
grid
;
//
stylelint-disable-next-line
@stylistic/declaration-colon-space-after
grid-template-areas
:
'content'
'footer'
;
//
Using
auto
as
min
value
will
cause
overflow
grid-template-columns
:
minmax
(
0
,
var
(
--width-layout
)
);
gap
:
0
var
(
--space-lg
);
justify-content
:
center
;
padding
:
0
var
(
--padding-page
);
//
Bottom
margin
is
added
because
data-after-content
cannot
margin-bottom
:
var
(
--space-xl
);
}
.
citizen-body
{
z-index
:
@
z-index
-
base
;
//
Stop
body
content
going
over
sticky
header
grid-area
:
content
;
word-wrap
:
break-word
;
//
Fix
overflow
text
(e.g.
long
single
word
text
in
<li>)
}
#
mw-data-after-content
:
not
(
:
empty
)
{
margin-top
:
var
(
--space-xl
);
}
@
media
(
min-width
:
@
min-width-breakpoint-desktop
)
{
.
citizen-page-container
{
//
Reserve
space
for
header
padding-block
:
var
(
--header-size-block-start
)
var
(
--header-size-block-end
);
padding-inline
:
var
(
--header-size-inline-start
)
var
(
--header-size-inline-end
);
}
.
citizen-toc-enabled
{
--width-page
:
calc
(
var
(
--width-layout
)
+
var
(
--width-toc
)
+
var
(
--space-lg
)
);
.citizen-body-container
{
//
stylelint-disable-next-line
@stylistic/declaration-colon-space-after
grid-template-areas
:
'content sidebar'
'footer footer'
;
grid-template-columns
:
minmax
(
0
,
var
(
--width-layout
)
)
var
(
--width-toc
);
}
}
.
citizen-page-header
,
.
citizen-body-container
{
transition-timing-function
:
var
(
--transition-timing-function-ease
);
transition-duration
:
var
(
--transition-duration-medium
);
}
.
citizen-page-header
{
transition-property
:
max-width
;
}
.
citizen-page-header
,
.
firstHeading-container
{
flex-wrap
:
nowrap
;
}
.
page-actions
{
.mw-list-item
{
text-wrap
:
nowrap
;
}
}
.
citizen-body-container
{
transition-property
:
grid
;
}
}
//
Wider
page
width
for
certain
namespaces
@
media
(
min-width
:
@
min-width-breakpoint-desktop-wide
)
{
//
1
-
Special
,
6
-
File
,
14
-
Category
.
ns
{
&--1,
&-6,
&-14
{
--width-layout
:
var
(
--width-layout--extended
);
--width-page
:
calc
(
var
(
--width-layout--extended
)
+
var
(
--width-toc
)
+
var
(
--space-lg
)
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 19 2026, 18:23 (6 w, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/86/5c71c63b5fdfc143014204e97ca7
Default Alt Text
layout.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment