Jump to content

MediaWiki:Common.css

From ATRONIA Wiki
Revision as of 15:23, 23 February 2026 by WikiManagement (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-item {
    text-align: center;
}

.product-image {
    display: block;
    margin: 0 auto 10px;
}

.product-title {
    font-weight: 600;
    margin-top: 6px;
}

.product-subtitle {
    font-size: 14px;
    color: #666;
}

.product-item strong {
    display: block;
}

.product-subtitle {
    display: block;
}


/*************************/
/* ATRONIA Language Menu */
/*************************/

.atr-lang-menu {
    position: relative;
    list-style: none;
    cursor: pointer;
    color: white;
    font-size: 14px;
    padding: 10px 15px;
}

.atr-lang-current {
    font-weight: 500;
}

.atr-lang-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    color: #202122;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    min-width: 120px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 9999;
}

.atr-lang-dropdown li {
    padding: 8px 16px;
}

.atr-lang-dropdown li:hover {
    background: #f2f2f2;
}

.atr-lang-menu:hover .atr-lang-dropdown {
    display: block;
}

/* Hide Google default UI */
.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0px !important;
}