Toggle menu
84
103
34
3.2K
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
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Make background white */
/* ============================================ */
 
/* MAIN PAGE HEADER */
body {
/* ============================================ */
    background-color: #ffffff !important;
}
 
.mw-body,
.mw-body-content,
#content {
    background-color: #ffffff !important;
}
 
.citizen-page {
    background-color: #ffffff !important;
}
 
/* Clean logo-focused header */


.main-header-logo {
.main-header-logo {
Line 21: Line 7:
     padding: 3rem 1rem 2rem 1rem;
     padding: 3rem 1rem 2rem 1rem;
     margin-bottom: 2rem;
     margin-bottom: 2rem;
    background-color: #ffffff;
}
}


.logo-container {
.logo-container {
    text-align: center;
     margin-bottom: 1.5rem;
     margin-bottom: 1.5rem;
}
}


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


.tagline-container {
.header-text {
     max-width: 800px;
     max-width: 800px;
     margin: 0 auto;
     margin: 0 auto;
    text-align: center;
}
}


.main-tagline {
.site-title {
     font-size: 1.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
     font-size: 5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
     color: #2d5016;
     color: #2d5016;
    font-weight: 600;
     margin: 1rem 0 1.5rem 0;
     margin-bottom: 0.75rem;
     line-height: 1.1;
    line-height: 1.3;
}
 
.sub-tagline {
    font-size: 1rem;
    color: #6c757d;
     line-height: 1.5;
    font-weight: 400;
}
 
/* Mobile adjustments */
@media (max-width: 768px) {
    .main-header-logo {
        padding: 2rem 1rem 1.5rem 1rem;
    }
   
    .main-tagline {
        font-size: 1.25rem;
    }
   
    .sub-tagline {
        font-size: 0.9rem;
    }
}
 
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 0.625rem;
    margin-top: 2.4rem;
}
 
.home-card {
     position: relative;
     position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
    font-size: 0.875rem;
    min-height: 120px;
}
}


.home-card--col2 {
.site-title::after {
    grid-column: span 2;
     content: '';
}
     display: block;
 
.home-card--button {
    overflow: hidden;
    padding: 0;
    background: #242a31;
}
 
.home-card__background {
     position: absolute;
    top: 0;
    right: 0;
     bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;
}
 
.home-card__background img {
     width: 100%;
     width: 100%;
     height: 100%;
     height: 2px;
     object-fit: cover;
     background-color: #2d5016;
     transition: transform 0.2s ease;
     margin: 1rem auto 0;
}
}


.home-card:hover .home-card__background img {
.main-tagline {
    transform: scale(1.1);
     font-size: 1.25rem;
}
 
.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: 500;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}
 
/* Enhanced styling for content cards */
.home-card {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
    font-size: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #dee2e6;
    min-height: 120px;
}
 
.home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.115);
}
 
.home-card__label {
    color: #6c757d;
    font-size: 0.8125rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
 
.home-card__header {
    margin: 0 0 1rem 0;
     font-size: 1.1rem;
     color: #2d5016;
     color: #2d5016;
     font-weight: 600;
     font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 100%;
}
}


.home-card__header a {
.sub-tagline {
     color: inherit;
    font-size: 1rem;
     text-decoration: none;
     color: #6c757d;
    line-height: 1.5;
     margin-bottom: 1rem;
}
}


.home-card__header a:hover {
.call-to-action {
     color: #3d6b1f;
     font-size: 0.9rem;
}
 
.home-card__body {
     color: #495057;
     color: #495057;
     line-height: 1.6;
     font-style: italic;
     margin-bottom: 1rem;
     margin-bottom: 0;
}
 
.home-card__links {
    font-size: 0.8125rem;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    padding-top: 0.75rem;
}
 
.home-card__links a {
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
}
 
.home-card__links a:hover {
    text-decoration: underline;
}
 
/* Special styling for the research card with logo */
#home-card-research {
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}
 
#home-card-research a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
 
#home-card-research img {
    max-width: 120px;
    height: auto;
}
}

Latest revision as of 16:42, 19 January 2026

/* ============================================ */
/* MAIN PAGE HEADER */
/* ============================================ */

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