Toggle menu
17
24
14
1.7K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main Page - styles/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 1: Line 1:
/* ============================================ */
/* Header styles */
/* MAIN PAGE HEADER STYLES ONLY                */
/* (home cards are styled in Template:Home/Cards - styles/styles.css) */
/* ============================================ */


/* Header wrapper */
.main-header-logo {
.main-header-logo {
     text-align: center;
     text-align: center;
     padding: 3rem 1rem 2rem 1rem;
     padding: 3rem 1rem 2rem 1rem;
     margin-bottom: 2rem;
     margin-bottom: 2rem;
     background-color: #ffffff;
     background-color: #ffffff;
}
}


/* Logo block */
 
 
 
 
.logo-container {
.logo-container {
     text-align: center;
     text-align: center;
     margin-bottom: 1.5rem;
     margin-bottom: 1.5rem;
}
}


.logo-container img {
.logo-container img {
     max-width: 150px;
     max-width: 150px;
     height: auto;
     height: auto;
     display: block;
     display: block;
     margin: 0 auto;
     margin: 0 auto;
}
}


/* Text block */
 
 
 
 
.header-text {
.header-text {
     max-width: 800px;
     max-width: 800px;
     margin: 0 auto;
     margin: 0 auto;
     text-align: center;
     text-align: center;
}
}


.site-title {
.site-title {
     font-family: "Georgia", "Times New Roman", serif;
 
     font-family: 'Georgia', 'Times New Roman', serif;
 
     font-size: 5rem;
     font-size: 5rem;
     font-weight: 400;
     font-weight: 400;
     letter-spacing: -0.02em;
     letter-spacing: -0.02em;
     color: #2d5016;
     color: #2d5016;
     margin: 1rem 0 1.5rem 0;
     margin: 1rem 0 1.5rem 0;
     line-height: 1.1;
     line-height: 1.1;
     position: relative;
     position: relative;
}
}


.site-title::after {
.site-title::after {
     content: "";
 
     content: '';
 
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     height: 2px;
     height: 2px;
     background-color: #2d5016;
     background-color: #2d5016;
     margin: 1rem auto 0;
     margin: 1rem auto 0;
}
}


.main-tagline {
.main-tagline {
     font-size: 1.25rem;
     font-size: 1.25rem;
     color: #2d5016;
     color: #2d5016;
     font-weight: 600;
     font-weight: 600;
     margin-bottom: 0.75rem;
     margin-bottom: 0.75rem;
     margin-top: 1.5rem;
     margin-top: 1.5rem;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
     max-width: 100%;
     max-width: 100%;
}
}


.sub-tagline {
.sub-tagline {
     font-size: 1rem;
     font-size: 1rem;
     color: #6c757d;
     color: #6c757d;
     line-height: 1.5;
     line-height: 1.5;
     margin-bottom: 1rem;
     margin-bottom: 1rem;
}
}


.call-to-action {
.call-to-action {
     font-size: 0.9rem;
     font-size: 0.9rem;
     color: #495057;
     color: #495057;
     font-style: italic;
     font-style: italic;
     margin-bottom: 0;
     margin-bottom: 0;
}
}


/* ============================================ */
/* RESPONSIVE TWEAKS                          */
/* ============================================ */


@media (max-width: 768px) {
    .main-header-logo {
        padding: 2rem 1rem 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }


    .site-title {
        font-size: 3rem;
    }


    .main-tagline {
 
        font-size: 1.05rem;
/* Navigation grid */
     }
 
.home-grid {
 
    display: grid;
 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 
    grid-gap: 0.625rem;
 
     margin-top: 2.4rem;
 
}
}


@media (max-width: 480px) {
    .site-title {
        font-size: 2.4rem;
    }


    .main-tagline {
        font-size: 0.95rem;
    }


     .sub-tagline {
 
        font-size: 0.9rem;
 
     }
/* Navigation button cards */
 
.home-card--button {
 
    overflow: hidden;
 
    padding: 0;
 
    background: #242a31;
 
    position: relative;
 
    border-radius: 8px;
 
    min-height: 200px;
 
    line-height: 0;
 
    font-size: 0;
 
}
 
 
 
 
 
.home-card--button a {
 
    display: block;
 
    width: 100%;
 
    height: 100%;
 
    min-height: 200px;
 
    text-decoration: none;
 
     color: inherit;
 
    line-height: 0;
 
    font-size: 0;
 
}
 
 
 
 
 
.home-card__background {
 
    position: absolute;
 
    top: 0;
 
    right: 0;
 
    bottom: 0;
 
    left: 0;
 
    background: #242a31;
 
    border-radius: 8px;
 
    line-height: 0;
 
    font-size: 0;
 
}
 
 
 
 
 
.home-card__background * {
 
    display: block;
 
    line-height: 0;
 
}
 
 
 
 
 
.home-card__background img {
 
    width: 100%;
 
    height: 100%;
 
    object-fit: cover;
 
     display: block;
 
    position: absolute;
 
    top: 0;
 
    left: 0;
 
    margin: 0;
 
    padding: 0;
 
    vertical-align: top;
 
}
 
 
 
 
 
.home-card--button:hover .home-card__background img {
 
    transform: scale(1.05);
 
}
 
 
 
 
 
.home-card__foreground {
 
    position: absolute;
 
    top: 0;
 
    left: 0;
 
    right: 0;
 
    bottom: 0;
 
    display: flex;
 
    align-items: center;
 
    padding: 0 15px;
 
    color: #fff;
 
    font-weight: 700;
 
    font-size: 1.1rem;
 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
 
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
 
    z-index: 10;
 
}
}

Latest revision as of 17:33, 19 November 2025

/* Header styles */

.main-header-logo {

    text-align: center;

    padding: 3rem 1rem 2rem 1rem;

    margin-bottom: 2rem;

    background-color: #ffffff;

}





.logo-container {

    text-align: center;

    margin-bottom: 1.5rem;

}





.logo-container img {

    max-width: 150px;

    height: auto;

    display: block;

    margin: 0 auto;

}





.header-text {

    max-width: 800px;

    margin: 0 auto;

    text-align: center;

}





.site-title {

    font-family: 'Georgia', 'Times New Roman', serif;

    font-size: 5rem;

    font-weight: 400;

    letter-spacing: -0.02em;

    color: #2d5016;

    margin: 1rem 0 1.5rem 0;

    line-height: 1.1;

    position: relative;

}





.site-title::after {

    content: '';

    display: block;

    width: 100%;

    height: 2px;

    background-color: #2d5016;

    margin: 1rem auto 0;

}





.main-tagline {

    font-size: 1.25rem;

    color: #2d5016;

    font-weight: 600;

    margin-bottom: 0.75rem;

    margin-top: 1.5rem;

    text-transform: uppercase;

    letter-spacing: 1px;

    max-width: 100%;

}





.sub-tagline {

    font-size: 1rem;

    color: #6c757d;

    line-height: 1.5;

    margin-bottom: 1rem;

}





.call-to-action {

    font-size: 0.9rem;

    color: #495057;

    font-style: italic;

    margin-bottom: 0;

}





/* Navigation grid */

.home-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    grid-gap: 0.625rem;

    margin-top: 2.4rem;

}





/* Navigation button cards */

.home-card--button {

    overflow: hidden;

    padding: 0;

    background: #242a31;

    position: relative;

    border-radius: 8px;

    min-height: 200px;

    line-height: 0;

    font-size: 0;

}





.home-card--button a {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 200px;

    text-decoration: none;

    color: inherit;

    line-height: 0;

    font-size: 0;

}





.home-card__background {

    position: absolute;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    background: #242a31;

    border-radius: 8px;

    line-height: 0;

    font-size: 0;

}





.home-card__background * {

    display: block;

    line-height: 0;

}





.home-card__background img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    position: absolute;

    top: 0;

    left: 0;

    margin: 0;

    padding: 0;

    vertical-align: top;

}





.home-card--button:hover .home-card__background img {

    transform: scale(1.05);

}





.home-card__foreground {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    display: flex;

    align-items: center;

    padding: 0 15px;

    color: #fff;

    font-weight: 700;

    font-size: 1.1rem;

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);

    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);

    z-index: 10;

}