Jump to content

MediaWiki:Common.css: Difference between revisions

From Dogs Welcome (Isle of Man)
No edit summary
No edit summary
Line 39: Line 39:
body .sidebar,.vector-column-end,.vector-page-toolbar {
body .sidebar,.vector-column-end,.vector-page-toolbar {
   display: none;
   display: none;
}
.mw-logo {
    background-image: url('/Logo-1-cropped-427x135.png');
    background-size: contain; /* Ensures the image fits within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-block; /* Or `block`, depending on your layout needs */
    height: 135px; /* Adjust the height as needed */
    horizontal-align: middle;
}
}

Revision as of 09:09, 23 March 2025

/* CSS placed here will be applied to all skins */

.directoryIcon {
  font-size: 1000%;
}

.directoryText {
  font-size: 150%;
}

.directoryIcon:hover {
  border-radius: 25px;
  border: 2px solid #cc2314;
}

.directoryIcon a:hover,a:visited {
  text-decoration: none; /* Needs to be specific so we can override */
}

.navButton {
  float:left;
  margin-left:0.7em;
  margin-right: 0.7em;
  text-align: center;
  width: 15em;
}

.buttonBorder {
  border-radius: 25px;
  border: 2px solid #ffa080;
}

.buttonBorder:hover {
  border-radius: 25px;
  border: 2px solid #cc2314;
}

/* Hide sidebar. This is overridden by Group-user.css */
body .sidebar,.vector-column-end,.vector-page-toolbar {
  display: none;
}

.mw-logo {
    background-image: url('/Logo-1-cropped-427x135.png');
    background-size: contain; /* Ensures the image fits within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-block; /* Or `block`, depending on your layout needs */
    height: 135px; /* Adjust the height as needed */
    horizontal-align: middle;
}