Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Tag: Manual revert
 
(31 intermediate revisions by the same user not shown)
Line 29: Line 29:
     width: 100%; /* Makes sure the table takes the full width of the infobox */
     width: 100%; /* Makes sure the table takes the full width of the infobox */
}
}


/* Discord Styling */
/* Discord Styling */
Line 87: Line 85:
     color: #FFD700; /* Slightly brighter gold for emphasis */
     color: #FFD700; /* Slightly brighter gold for emphasis */
     text-shadow: 0 0 5px rgba(139, 111, 53, 0.8);
     text-shadow: 0 0 5px rgba(139, 111, 53, 0.8);
}
/* Fix image sizing and hover effect for Main Page icons */
.hover-table img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}
.hover-table img:hover {
    transform: scale(1.1);
}
/* Mobile Responsive adjustments */
@media (max-width: 768px) {
  .hover-table td {
    display: inline-block;
    width: 45%;
    box-sizing: border-box;
    text-align: center;
    vertical-align: top;
    padding: 10px;
  }
  .hover-table tr {
    display: block;
  }
}
/* Uniform icon sizing and hover fix */
.icon-wrapper {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}
.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Hover effect on the wrapper */
.icon-wrapper:hover {
    transform: scale(1.1);
}
.hover-table td span {
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    font-size: 15px; /* or scale down just a bit */
}
/* Hide template spacer on mobile */
@media screen and (max-width: 768px) {
  .desktop-only-spacer {
    display: none !important;
  }
}
}