Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.css
(view source)
Revision as of 19:31, 2 May 2024
238 bytes added
,
4 months ago
no edit summary
Line 92:
Line 92:
justify-content: center; /* Centers content horizontally */
justify-content: center; /* Centers content horizontally */
align-items: center; /* Centers content vertically */
align-items: center; /* Centers content vertically */
−
height:
100vh
; /*
Sets
the
height of
the
parent
div
to full viewport height
*/
+
height:
auto
; /*
Set height to auto to accommodate content */
+
max-height: 150px; /* Set a maximum height to prevent it from becoming too large */
+
margin: 0 auto; /* Centers
the
div horizontally */
+
padding: 20px; /* Adds some padding for better spacing */
+
text-align: center; /* Centers text within
the div */
}
}
MarkWD
Bureaucrats
,
Check users
,
Interface administrators
, steward,
Suppressors
,
Administrators
, translator
1,757
edits
Navigation menu
Personal tools
English
Log in
Request account
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Home
Recent changes
Random page
Contact us
Sponsor us
Tools
Special pages
Printable version