MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Center the content and limit its width */ | |||
.mw-body .bodyContent { | |||
max-width: 800px; | |||
margin: 0 auto; /* Centers the content horizontally */ | |||
display: flex; | |||
flex-direction: column; /* Ensures content alignment behaves predictably */ | |||
align-items: center; /* Centers content along the cross axis */ | |||
} | |||
.hidden { | .hidden { | ||
display: none; | display: none; |
Revision as of 12:56, 11 May 2024
/* Center the content and limit its width */
.mw-body .bodyContent {
max-width: 800px;
margin: 0 auto; /* Centers the content horizontally */
display: flex;
flex-direction: column; /* Ensures content alignment behaves predictably */
align-items: center; /* Centers content along the cross axis */
}
.hidden {
display: none;
}
.noticebox {
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
background: #cde;
padding: 5px;
}
.cleared {
clear: both;
}
.toc {
-moz-border-radius: 1em;
}
#content {
font-size: 105%;
}
h3 {
font-size: 110%;
}
body {
background: #f9f9f9 0 0 no-repeat;
}
.inverted {
position:absolute;
right:0;
bottom:0;
-webkit-transform:rotate(180deg);
-moz-transform:rotate(180deg);
-o-transform:rotate(180deg);
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
h1,
h2,
h3,
h4,
h5,
h6 {
border-bottom: none;
}
h1.firstHeading {
display: none;
}
/* dagre stuff */
svg {
border: 1px solid black;
}
text {
font-weight: 300;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
font-size: 14px;
}
rect {
fill: #fff;
}
.node rect {
stroke-width: 2px;
stroke: #333;
fill: none;
}
#node-CLOSED rect {
fill: #f77;
}
#node-ESTAB rect {
fill: #7f7;
}
.edge rect {
fill: #fff;
}
.edge path {
fill: none;
stroke: #333;
stroke-width: 1.5px;
}
/* end of dagre stuff */