MediaWiki:Common.css: Difference between revisions

From zooid Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Center the content and limit its width */
.res-img img {
.mw-body .bodyContent {
width:100%;
    max-width: 800px;  
height:auto;
    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 */
}
}


#bodyContent {
    max-width: 1024px;
    margin: 0 auto; /* Horizontally center the content */
}


.hidden {
.hidden {

Latest revision as of 18:23, 27 June 2024

.res-img img {
	width:100%;
	height:auto;
}

#bodyContent {
    max-width: 1024px; 
    margin: 0 auto; /* Horizontally center the content */
}

.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 */