Difere entre revisas de "MediaWiki:Chameleon.css"

De Red Zambala

No resoma de edita
No resoma de edita
Linia 47: Linia 47:
}
}


/* Style for the navbar to ensure proper flexbox behavior */


/* Create a container for better navbar positioning */
.navbar-navhead .container,
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}


.brand-name a,
/* Create a centered brand link with stronger styling */
.brand-name a:visited,
.navbar-nav a[href*="Red_Zambala"] {
.brand-name a:hover,
    position: absolute;
.brand-name a:focus
    left: 50%;
{
    transform: translateX(-50%);
    top: -.56rem;
    font-size: 1.5em;
    text-decoration: none;
    padding: 10px 15px;
    background: transparent;
     font-family: 'Times New Roman', 'Times', Serif;
     font-family: 'Times New Roman', 'Times', Serif;
     letter-spacing: .5px;
     letter-spacing: .5px;
     font-weight: 500;
     font-weight: 500;
     font-size: calc(22px + .7vw);
     font-size: calc(26px + .88vw);
     color: #008ff1;
     color: #008ff1 !important;
    text-decoration: none;
}
}


/* @media (min-width: 1105px) {
/* Add hover effect for the brand name */
/**
.navbar-nav a[href*="Red_Zambala"]:hover {
* MediaWiki Chameleon skin - Brand name centering solution
     text-decoration: none;
* This approach creates a balanced three-section layout using flexbox
     color: #008ff1 !important;
*/
/* Fix for centering the brand name */
.navbar-nav .brand-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
     text-align: center;
     /* Ensure it displays above other elements */
    z-index: 10;
}
}


/* Ensure the brand name doesn't get hidden on smaller screens */
/* Ensure other navbar elements don't overlap with the centered brand */
@media (max-width: 1104px) {
.navbar-header {
     .navbar-nav .brand-name {
     min-width: 20%;
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        margin: 10px 0;
    }
}
}


/* Make sure there's enough space for the centered brand */
.navbar-right {
.p-navbar .navbar-collapse {
     min-width: 20%;
     position: relative;
}
}


/* Improve visibility with a subtle style enhancement */
/* Hide the original list item to reposition it */
.brand-name a {
.navbar-nav li:has(> a[href*="Red_Zambala"]) {
    font-weight: bold;
     display: none;
     display: inline-block;
}
}

Revisa de 02:36, 16 maio 2025

.p-navbar {
    background-color: transparent;
    border-bottom: solid #f1008f;
}
.navbar-light .navbar-nav .nav-link,.p-navbar .navbar-nav .nav-link,  .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a, .p-navbar .navbar-nav .navbar-tool > a {
    color: #282A36;
}

#footer-places{display:none !important}
#footer-info div:nth-of-type(2){display:none}
#footer-icons div:nth-of-type(2) {
  display: none;
}

.navbar-light .navbar-nav .nav-link:hover, .p-navbar .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:hover, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:hover, .p-navbar .navbar-nav .navbar-tool > a:hover, .navbar-light .navbar-nav .nav-link:focus, .p-navbar .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:focus, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:focus, .p-navbar .navbar-nav .navbar-tool > a:focus {
    color: #282A36;
}

body {
	background: url(/img/sicily.jpg) 0 #fff;
}

#content {
    background-color: #ffffff;
}

#bodyContent p {font-size: 1.125rem}

/* Internal wiki links */
#mw-content-text a,
#mw-content-text a:visited,
#mw-content-text a:hover,
#mw-content-text a:focus {
    color: #007fff;
}

.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
    color: #d51bb3 !important;
}

.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #d51bb3 !important;
}

.mw-body .catlinks a {
    color: #ff5582;
}


/* Create a container for better navbar positioning */
.navbar-navhead .container, 
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Create a centered brand link with stronger styling */
.navbar-nav a[href*="Red_Zambala"] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -.56rem;
    font-size: 1.5em;
    text-decoration: none;
    padding: 10px 15px;
    background: transparent;
    font-family: 'Times New Roman', 'Times', Serif;
    letter-spacing: .5px;
    font-weight: 500;
    font-size: calc(26px + .88vw);
    color: #008ff1 !important;
}

/* Add hover effect for the brand name */
.navbar-nav a[href*="Red_Zambala"]:hover {
    text-decoration: none;
    color: #008ff1 !important;
}

/* Ensure other navbar elements don't overlap with the centered brand */
.navbar-header {
    min-width: 20%;
}

.navbar-right {
    min-width: 20%;
}

/* Hide the original list item to reposition it */
.navbar-nav li:has(> a[href*="Red_Zambala"]) {
    display: none;
}