MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 370: Line 370:
     display: flex; /* Enables Flexbox */
     display: flex; /* Enables Flexbox */
     align-items: center; /* Vertically aligns items in the middle */
     align-items: center; /* Vertically aligns items in the middle */
     justify-content: space-between; /* Spreads out the items */
     justify-content: space-between;
     position: fixed; /* Fix the footer to the bottom */
     position: fixed;
     left: 0;
     left: 0;
     bottom: 0;
     bottom: 0;
     width: 100%; /* Full width */
     width: 100%;
     padding: 10px; /* Adjust as needed */
     padding: 10px;
     box-sizing: border-box; /* To include padding in width calculation */
     box-sizing: border-box;
}
}


Line 384: Line 384:


#simpleSearch {
#simpleSearch {
  align-items: center;
   margin-left: 10px; /* Adjust as needed */
   margin-left: 10px; /* Adjust as needed */
  flex-grow: 1; /* Allows the element to grow if necessary /
  margin-left: 10px; / Adjust as needed /
  text-align: left; / Aligns content to the left */
}
}


Line 421: Line 423:


.nrs {
.nrs {
     margin-right: auto; /* Pushes the element to the center */
     flex-grow: 1;
     margin-left: auto; /* Continues to center the element */
     text-align: center;
}
}


Navigation menu