Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ResearchItem/styles.css

Template page
/* ============================================ */
/* PORTAL:RESEARCH STYLES                       */
/* Template:PortalResearch/styles.css           */
/* ============================================ */


/* -------------------------------------------- */
/* WRAPPER & LAYOUT                             */
/* -------------------------------------------- */

.portal-events-wrapper {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.portal-events-grid {
    display: grid;
    grid-template-columns: 60% 38%;
    gap: 2%;
    align-items: start;
}

.portal-events-feed {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.portal-events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}

.portal-events-actions {
    margin-top: 0.4rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.portal-events-actions a {
    color: #3a5228;
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    background: #f0f5ed;
    border: 1px solid #d2ddce;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.18s ease;
}

.portal-events-actions a:hover {
    background: #e3ebe0;
}

.feed-archive-strip {
    margin-top: 0.3rem;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.55rem;
    background: #f7faf6;
    border: 1px solid #e1e6df;
    border-radius: 6px;
}

.feed-archive-strip a {
    color: #3a5228;
    text-decoration: none;
    font-weight: 600;
}

.feed-archive-strip a:hover {
    text-decoration: underline;
}


/* -------------------------------------------- */
/* CALENDAR WIDGET                              */
/* -------------------------------------------- */

.portal-events-calendar {
    background: #ffffff;
    border: 1px solid #d2ddce;
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.calendar-month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e8ede5;
}

.calendar-current-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: #26351a;
    white-space: nowrap;
}

.calendar-nav-link {
    display: inline-block;
    background: #f0f5ed;
    border: 1px solid #d2ddce;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    font-size: 0.68rem;
    color: #3a4a2e;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s;
    white-space: nowrap;
}

.calendar-nav-link a {
    color: inherit;
    text-decoration: none;
}

.calendar-nav-link:hover {
    background: #e3ebe0;
}

.calendar-nav-disabled {
    opacity: 0.45;
}

.calendar-week-headers {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.18rem;
    margin-bottom: 0.18rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.52rem;
    font-weight: 700;
    color: #5a6650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.05rem 0;
}

.calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.18rem;
    margin-bottom: 0.35rem;
    grid-auto-rows: 22px;
}

.calendar-day {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafbf9;
    border: 1px solid #e8ede5;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #7a8472;
    transition: all 0.15s;
    position: relative;
    padding: 0;
}

.calendar-day a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.calendar-day.has-events {
    background: #3d4856;
    border-color: #2d3640;
}

.calendar-day.has-events a {
    color: #ffffff;
    font-weight: 700;
}

.calendar-day.has-events:hover {
    background: #2d3640;
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.calendar-day.today {
    border: 2px solid #d4842f;
    background: #fef9f3;
}

.calendar-day.today a {
    color: #d4842f;
}

.calendar-day.today.has-events {
    background: #3d4856;
    border: 2px solid #d4842f;
    box-shadow: 0 0 0 2px rgba(212,132,47,0.12);
}

.calendar-day.today.has-events a {
    color: #ffffff;
}

.calendar-day:not(.has-events):not(.empty):hover {
    background: #f0f5ed;
    border-color: #d2ddce;
}

.calendar-day.has-events::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.calendar-day.today.has-events::after {
    opacity: 1;
}

.calendar-archive-link {
    text-align: center;
    font-size: 0.65rem;
    padding-top: 0.3rem;
    border-top: 1px solid #e8ede5;
    line-height: 1.3;
}

.calendar-archive-link a {
    color: #3a5228;
    text-decoration: none;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    transition: background 0.2s;
}

.calendar-archive-link a:hover {
    background: #f0f5ed;
    text-decoration: underline;
}


/* -------------------------------------------- */
/* SIDEBAR CARDS                                */
/* -------------------------------------------- */

.sidebar-card {
    background: #ffffff;
    border: 1px solid #d2ddce;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.7rem 1rem;
    margin: 0;
    letter-spacing: 0.005em;
}

.sidebar-research .sidebar-title {
    background: linear-gradient(135deg, #3d4856 0%, #2a3340 100%);
}

.sidebar-list {
    padding: 0 1rem;
}

.sidebar-item {
    padding: 0.55rem 0;
    border-bottom: 1px solid #e8ede5;
}

.sidebar-item:first-child {
    padding-top: 0.7rem;
}

.sidebar-item:last-child {
    padding-bottom: 0.7rem;
    border-bottom: none;
}

.sidebar-date {
    font-size: 0.68rem;
    color: #7a8190;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.25rem;
}

.sidebar-headline {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    color: #1a2230;
    margin: 0;
}

.sidebar-source {
    font-size: 0.7rem;
    color: #7a8190;
    margin: 0.3rem 0 0;
}

.sidebar-source a {
    color: #3d4856;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-source a:hover {
    color: #2d3640;
    text-decoration: underline;
}

.sidebar-footer {
    padding: 0.55rem 1rem;
    background: #f7faf6;
    border-top: 1px solid #e8ede5;
    font-size: 0.85rem;
}

.sidebar-footer a {
    color: #3a5228;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-footer a:hover {
    text-decoration: underline;
}


/* -------------------------------------------- */
/* RESPONSIVE BREAKPOINTS                       */
/* -------------------------------------------- */

@media (max-width: 1100px) {
    .portal-events-grid {
        grid-template-columns: 1fr;
    }
    .portal-events-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 850px) {
    .portal-events-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .portal-events-wrapper {
        padding: 0 0.6rem;
    }
    .sidebar-title {
        padding: 0.65rem 0.9rem;
        font-size: 0.9rem;
    }
    .sidebar-list {
        padding: 0 0.9rem;
    }
    .sidebar-item {
        padding: 0.5rem 0;
    }
    .sidebar-item:first-child {
        padding-top: 0.55rem;
    }
    .sidebar-item:last-child {
        padding-bottom: 0.55rem;
    }
    .sidebar-headline {
        font-size: 0.87rem;
    }
    .sidebar-footer {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 600px) {
    .calendar-week-headers,
    .calendar-month-grid {
        gap: 0.16rem;
    }
    .calendar-month-grid {
        grid-auto-rows: 20px;
    }
    .calendar-day {
        height: 20px;
        font-size: 0.58rem;
    }
    .calendar-weekday {
        font-size: 0.5rem;
    }
    .calendar-archive-link {
        font-size: 0.63rem;
    }
}

@media (max-width: 480px) {
    .portal-events-wrapper {
        padding: 0 0.45rem;
    }
    .calendar-month-nav {
        flex-wrap: wrap;
        row-gap: 0.3rem;
    }
    .calendar-nav-link,
    .calendar-current-month {
        width: 100%;
        text-align: center;
    }
}