MediaWiki:Common.css

From Foodie Beauty Wiki - lolcow.city
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.newstable {
  display: block;
  overflow-x: scroll;
}
.newstable tbody {
    width: 100%;
    /* min-width: 100%; */
    display: inline-table;
}
.newstable tbody th {
text-align: left;
}
.newstable tbody th:first-child {
text-align: left;
}
.newstable tbody td{
text-align: left;
}
.newstable tbody td:first-child {
width: 175px;
text-align: left;
}
body.skin-minerva .newstable tbody {
    width: 100%;
    /* min-width: 100%; */
    display: inline-table;
}
body.skin-minerva .newstable tbody td:not(:first-child) {
    min-width: 600px;
}
body.skin-minerva .newstable tbody td:first-child {
min-width: 175px;
text-align: left;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    color: #f00;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    color: #fff;
    background-color: #f00;
    border-color: #f00;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
    color: #fff;
    background-color: #df0000!important;
    border-color: #df0000!important;
    box-shadow: none;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    background-color: #ff4c4c!important;
    border-color: #ff4c4c!important;
}
/* topbar */
.custom-section,
.custom-top-section,
.custom-section-boxed,
.custom-section-height-default,
.custom-container,
.custom-column-gap-no,
.custom-column,
.custom-col-25,
.custom-top-column,
.custom-widget-wrap,
.custom-element-populated,
.custom-widget,
.custom-widget-logo,
.custom-widget-container,
.custom-logo,
.custom-logo-default,
.custom-logo-image,
.custom-widget-menu,
.custom-menu,
.custom-menu-default,
.custom-menu-dir-horizontal,
.custom-menu-nav,
.menu-item,
.sub-menu,
.menu-item a,
.menu-item.current-menu-item a,
.page-item.current-page-item a,
.menu-item-has-children .sub-menu {
    /* General resets and layout settings */
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: inherit;
}

.custom-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-menu-nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.menu-item.current-menu-item a,
.page-item.current-page-item a {
    font-weight: bold;
    color: #d9534f; /* Highlight color */
}

.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu .menu-item a {
    padding: 10px 20px;
    color: #000;
}

.sub-menu .menu-item a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}
.newstable th {
text-align: left;
    padding: 1em 0.2em;

}
.newstable th:first-child {
}
.newstable td {
    padding: 1em 0.2em;
    border-top: 1px solid lightgray;

}
.newstable {
}
.newstable {
}