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
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* Main page background */
 
body.page-Main_Page {
body.page-Main_Page {
     background: url('https://predictive-pulse.com/images/5ean444_winter_cabin_forest_snow_night_sky_stars_peaceful_reali_fc7e7992-0c1e-4564-bf78-2930ff9dc2f9.png') no-repeat center center fixed;
     background: url('https://predictive-pulse.com/images/5ean444_winter_cabin_forest_snow_night_sky_stars_peaceful_reali_fc7e7992-0c1e-4564-bf78-2930ff9dc2f9.png') no-repeat center center fixed;
Line 6: Line 5:
}
}


 
/* Style for the navigation grid */
.mainpage-navigation {
.mainpage-navigation {
     display: flex; /* or grid if you prefer a grid layout */
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
    gap: 16px;
     justify-content: center;
     justify-content: center;
    gap: 20px;
     padding: 20px;
     padding: 20px;
     background-color: #f5f5f5; /* light background */
     background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background for readability */
     border-radius: 8px;
     border-radius: 12px;
}
}


/* Individual navigation blocks */
.nav-item {
.nav-item {
     display: flex;
     display: flex;
Line 22: Line 22:
     align-items: center;
     align-items: center;
     text-align: center;
     text-align: center;
     width: 150px; /* adjust size */
     width: 150px;
     padding: 10px;
     padding: 10px;
     border: 1px solid #ddd; /* optional border */
     border: 1px solid #ddd;
     border-radius: 8px;
     border-radius: 12px;
     transition: transform 0.3s, box-shadow 0.3s; /* smooth hover effects */
    background-color: #fff;
    background-color: #fff; /* card background */
     transition: transform 0.3s, box-shadow 0.3s;
}
}


.nav-item:hover {
.nav-item:hover {
     transform: scale(1.05); /* zoom effect */
     transform: scale(1.05);
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
}
Line 38: Line 38:
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
     border-radius: 4px; /* rounded corners for images */
     border-radius: 8px;
     margin-bottom: 8px; /* spacing below images */
     margin-bottom: 10px;
}
}


.nav-item span {
.nav-item span {
     font-size: 16px;
     font-size: 14px;
     font-weight: bold;
     font-weight: bold;
     color: #333; /* text color */
     color: #333;
}
}


.featured-section {
/* Footer style */
     background: #2c2c2c;
.main-footer {
     padding: 20px;
     text-align: center;
     border-radius: 8px;
     margin-top: 20px;
     margin-bottom: 20px;
     padding: 10px;
     background-color: rgba(0, 0, 0, 0.7);
     color: #fff;
     color: #fff;
}
     border-radius: 12px;
 
.featured-content {
    display: flex;
    align-items: center;
}
 
.featured-content img {
    max-width: 150px;
    margin-right: 20px;
     border-radius: 8px;
}
 
 
#footer-places {
    display: none; /* Hides the footer links like Privacy Policy, About, Disclaimers */
}
}

Revision as of 04:39, 25 November 2024

/* Main page background */
body.page-Main_Page {
    background: url('https://predictive-pulse.com/images/5ean444_winter_cabin_forest_snow_night_sky_stars_peaceful_reali_fc7e7992-0c1e-4564-bf78-2930ff9dc2f9.png') no-repeat center center fixed;
    background-size: cover;
}

/* Style for the navigation grid */
.mainpage-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background for readability */
    border-radius: 12px;
}

/* Individual navigation blocks */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.nav-item span {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Footer style */
.main-footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 12px;
}