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 7: Line 7:




.main-grid {
.mainpage-navigation {
     display: grid;
     display: flex; /* or grid if you prefer a grid layout */
     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    flex-wrap: wrap;
     gap: 20px;
    gap: 16px;
     margin: 20px auto;
     justify-content: center;
     max-width: 1200px;
     padding: 20px;
     background-color: #f5f5f5; /* light background */
     border-radius: 8px;
}
}


.grid-item {
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
     text-align: center;
     text-align: center;
     background: #2c2c2c;
     width: 150px; /* adjust size */
    padding: 10px;
    border: 1px solid #ddd; /* optional border */
     border-radius: 8px;
     border-radius: 8px;
    padding: 10px;
     transition: transform 0.3s, box-shadow 0.3s; /* smooth hover effects */
     transition: transform 0.3s ease;
    background-color: #fff; /* card background */
}
}


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


.grid-item img {
.nav-item img {
     max-width: 100%;
     width: 100%;
     height: auto;
     height: auto;
     border-radius: 8px;
     border-radius: 4px; /* rounded corners for images */
    margin-bottom: 8px; /* spacing below images */
}
}


.grid-item span {
.nav-item span {
    display: block;
     font-size: 16px;
    margin-top: 10px;
    color: #fff;
     font-size: 1.2em;
     font-weight: bold;
     font-weight: bold;
    color: #333; /* text color */
}
}


.featured-section {
.featured-section {

Revision as of 04:15, 25 November 2024

/* CSS placed here will be applied to all skins */

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;
}


.mainpage-navigation {
    display: flex; /* or grid if you prefer a grid layout */
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 20px;
    background-color: #f5f5f5; /* light background */
    border-radius: 8px;
}

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

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

.nav-item img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* rounded corners for images */
    margin-bottom: 8px; /* spacing below images */
}

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


.featured-section {
    background: #2c2c2c;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #fff;
}

.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 */
}