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:PortalCurrentEvents/styles.css: Difference between revisions

Template page
No edit summary
Tag: Reverted
Undo revision 1557 by Eloise Zomia (talk)
Tag: Undo
Line 1: Line 1:
/* ============================================ */
/* ============================================ */
/* CURRENT EVENTS PORTAL LAYOUT (LANDRACE.WIKI) */
/* CURRENT EVENTS PORTAL LAYOUT */
/* ============================================ */
/* ============================================ */


.p-current-events {
.portal-current-wrapper {
     max-width: 1100px;
     max-width: 1100px;
     margin: 0 auto 1.5rem;
     margin: 0 auto 1.5rem;
     padding: 0 0.75rem;
     padding: 0 0.75rem;
    font-size: 0.9rem;
}
}


/* Header */
/* Header */


.p-current-events-header {
.portal-current-header {
     background: #f7faf6;
     background: #f7faf6;
     border-radius: 10px;
     border-radius: 10px;
     border: 1px solid #c5d2c0;
     border: 1px solid #c5d2c0;
     padding: 0.9rem 1rem;
     padding: 0.9rem 1rem;
     margin-bottom: 0.9rem;
     margin-bottom: 1rem;
}
}


.p-current-events-eyebrow {
.portal-current-eyebrow {
     font-size: 0.75rem;
     font-size: 0.75rem;
     text-transform: uppercase;
     text-transform: uppercase;
Line 29: Line 28:
}
}


.p-current-events-title {
.portal-current-title {
     font-size: 1.5rem;
     font-size: 1.5rem;
     margin: 0 0 0.25rem;
     margin: 0 0 0.25rem;
Line 35: Line 34:
}
}


.p-current-events-sub {
.portal-current-sub {
     font-size: 0.9rem;
     font-size: 0.9rem;
     margin: 0 0 0.4rem;
     margin: 0 0 0.4rem;
Line 41: Line 40:
}
}


.p-current-events-nav {
.portal-current-nav {
     font-size: 0.8rem;
     font-size: 0.8rem;
     color: #4b5f3c;
     color: #4b5f3c;
}
}


.p-current-events-nav a {
.portal-current-nav a {
     color: #324625;
     color: #324625;
     text-decoration: none;
     text-decoration: none;
}
}


.p-current-events-nav a:hover {
.portal-current-nav a:hover {
     text-decoration: underline;
     text-decoration: underline;
}
}


/* Headlines strip */
/* Cards grid */
 
.p-current-events-headlines {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #d2ddce;
    padding: 0.6rem 0.9rem 0.65rem;
    margin-bottom: 0.9rem;
}
 
.p-current-events-headlines-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #60724f;
    margin: 0 0 0.25rem;
    font-weight: 600;
}
 
.p-current-events-headlines-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: #243220;
}
 
.p-current-events-headlines-list li {
    margin-bottom: 0.1rem;
}
 
/* Main two-column layout */


.p-current-events-main {
.portal-current-grid {
     display: grid;
     display: grid;
     grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1.2fr);
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 0.9rem;
     gap: 0.9rem;
     margin-bottom: 1.1rem;
     margin-bottom: 1.25rem;
    align-items: flex-start;
}
}


/* Left: event feed */
.portal-current-card {
 
.p-current-events-events {
     background: #ffffff;
     background: #ffffff;
    border: 1px solid #d2ddce;
     border-radius: 8px;
     border-radius: 8px;
    border: 1px solid #d2ddce;
     padding: 0.8rem 0.9rem 0.85rem;
     padding: 0.8rem 0.9rem 0.9rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
}


.p-current-events-section-title {
.portal-current-card h2 {
     font-size: 1rem;
     font-size: 1rem;
     margin: 0 0 0.35rem;
     margin: 0 0 0.2rem;
     color: #26351a;
     color: #26351a;
}
}


.p-current-events-section-sub {
.portal-current-card-sub {
     font-size: 0.8rem;
     font-size: 0.8rem;
     margin: 0 0 0.5rem;
     margin: 0 0 0.5rem;
Line 116: Line 83:
}
}


.p-current-events-list {
.portal-current-list {
     margin: 0;
     margin: 0;
     padding-left: 1.1rem;
     padding-left: 1.1rem;
Line 123: Line 90:
}
}


.p-current-events-list li {
.portal-current-list li {
     margin-bottom: 0.25rem;
     margin-bottom: 0.25rem;
}
}


/* Right: calendar + sidebar */
.portal-current-list li span {
 
     display: block;
.p-current-events-calside {
     font-size: 0.8rem;
     display: flex;
     color: #64725e;
     flex-direction: column;
     gap: 0.75rem;
}
}


.p-current-events-box {
/* Update note */
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #d2ddce;
    padding: 0.7rem 0.85rem 0.8rem;
    font-size: 0.82rem;
    color: #243220;
}


.p-current-events-box h3 {
.portal-current-note {
     font-size: 0.9rem;
     font-size: 0.8rem;
    margin: 0 0 0.3rem;
    color: #26351a;
}
 
.p-current-events-box ul {
    margin: 0;
    padding-left: 1.1rem;
}
 
.p-current-events-box li {
    margin-bottom: 0.2rem;
}
 
/* Events-by-month index */
 
.p-current-events-months {
     background: #f7faf6;
     background: #f7faf6;
    border: 1px dashed #c5d2c0;
     border-radius: 8px;
     border-radius: 8px;
    border: 1px solid #c5d2c0;
     padding: 0.7rem 0.9rem;
     padding: 0.7rem 0.9rem 0.8rem;
     color: #4c5d44;
    font-size: 0.82rem;
     color: #243220;
}
 
.p-current-events-months h3 {
    font-size: 0.9rem;
    margin: 0 0 0.3rem;
    color: #26351a;
}
 
.p-current-events-months-list {
    margin: 0;
    padding-left: 1.1rem;
}
}


Line 184: Line 114:


@media (max-width: 900px) {
@media (max-width: 900px) {
     .p-current-events-main {
     .portal-current-grid {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
     }
     }
}
}

Revision as of 14:57, 20 November 2025

/* ============================================ */
/* CURRENT EVENTS PORTAL LAYOUT */
/* ============================================ */

.portal-current-wrapper {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 0 0.75rem;
}

/* Header */

.portal-current-header {
    background: #f7faf6;
    border-radius: 10px;
    border: 1px solid #c5d2c0;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.portal-current-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #60724f;
    font-weight: 600;
    margin: 0 0 0.15rem;
}

.portal-current-title {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
    color: #233017;
}

.portal-current-sub {
    font-size: 0.9rem;
    margin: 0 0 0.4rem;
    color: #55614b;
}

.portal-current-nav {
    font-size: 0.8rem;
    color: #4b5f3c;
}

.portal-current-nav a {
    color: #324625;
    text-decoration: none;
}

.portal-current-nav a:hover {
    text-decoration: underline;
}

/* Cards grid */

.portal-current-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.portal-current-card {
    background: #ffffff;
    border: 1px solid #d2ddce;
    border-radius: 8px;
    padding: 0.8rem 0.9rem 0.85rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.portal-current-card h2 {
    font-size: 1rem;
    margin: 0 0 0.2rem;
    color: #26351a;
}

.portal-current-card-sub {
    font-size: 0.8rem;
    margin: 0 0 0.5rem;
    color: #606f5a;
}

.portal-current-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: #243220;
}

.portal-current-list li {
    margin-bottom: 0.25rem;
}

.portal-current-list li span {
    display: block;
    font-size: 0.8rem;
    color: #64725e;
}

/* Update note */

.portal-current-note {
    font-size: 0.8rem;
    background: #f7faf6;
    border: 1px dashed #c5d2c0;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #4c5d44;
}

/* Responsive */

@media (max-width: 900px) {
    .portal-current-grid {
        grid-template-columns: 1fr;
    }
}