|
|
| Line 1: |
Line 1: |
| /* ============================================ */
| | .news-card { |
| /* CURRENT EVENTS PORTAL STYLES */
| | border: 1px solid #e8ede5; |
| /* Template:PortalCurrentEvents/styles.css */
| | border-left: 4px solid #c75b3c; |
| /* ============================================ */
| | border-radius: 12px; |
| | | background: #fff; |
| | | padding: 0; |
| /* -------------------------------------------- */
| | margin: 0 0 16px 0; |
| /* WRAPPER & HEADER */
| | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); |
| /* -------------------------------------------- */
| | transition: box-shadow 0.2s ease, transform 0.2s ease; |
| | |
| .portal-events-wrapper {
| |
| max-width: 1400px;
| |
| margin: 0 auto 2rem;
| |
| padding: 0 1rem;
| |
| } | | } |
|
| |
|
| .portal-events-header { | | .news-card:hover { |
| background: linear-gradient(135deg, #f7faf6 0%, #eef4ea 100%);
| | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); |
| border: 1px solid #c5d2c0;
| | transform: translateY(-2px); |
| border-radius: 12px;
| |
| padding: 1.2rem 1.5rem;
| |
| margin-bottom: 1.25rem;
| |
| } | | } |
|
| |
|
| .portal-events-nav { | | /* Adjust left border color by category */ |
| font-size: 0.85rem;
| | .news-card--policy { |
| color: #4b5f3c;
| | border-left-color: #5b7a45; |
| } | | } |
|
| |
|
| .portal-events-nav a { | | .news-card--enforcement { |
| color: #324625;
| | border-left-color: #c75b3c; |
| text-decoration: none;
| |
| } | | } |
|
| |
|
| .portal-events-nav a:hover { | | .news-card--fieldwork { |
| text-decoration: underline;
| | border-left-color: #4a7c9d; |
| } | | } |
|
| |
|
| | | .news-card--research { |
| /* -------------------------------------------- */
| | border-left-color: #7a6c3a; |
| /* LAYOUT GRID */
| |
| /* -------------------------------------------- */
| |
| | |
| .portal-events-grid {
| |
| display: grid;
| |
| grid-template-columns: 60% 38%;
| |
| gap: 2%;
| |
| align-items: start;
| |
| } | | } |
|
| |
|
| .portal-events-feed { | | .news-card--community { |
| display: flex;
| | border-left-color: #6a5b86; |
| flex-direction: column;
| |
| gap: 0.9rem;
| |
| } | | } |
|
| |
|
| .portal-events-sidebar { | | /* Header: Date on left, badges on right */ |
| display: flex;
| | .news-card__header { |
| flex-direction: column;
| | display: flex; |
| gap: 1rem;
| | align-items: center; |
| position: sticky;
| | justify-content: space-between; |
| top: 1rem;
| | padding: 12px 18px; |
| | background: linear-gradient(180deg, #fafbf9 0%, #f5f7f4 100%); |
| | border-bottom: 1px solid #e8ede5; |
| | border-radius: 12px 12px 0 0; |
| | gap: 12px; |
| } | | } |
|
| |
|
| | | .news-card__date { |
| /* -------------------------------------------- */
| | font-size: 0.8rem; |
| /* CALENDAR WIDGET */
| | font-weight: 700; |
| /* -------------------------------------------- */
| | color: #5a6650; |
| | | text-transform: uppercase; |
| .portal-events-calendar {
| | letter-spacing: 0.05em; |
| 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 { | | /* Badges container on right side */ |
| display: flex;
| | .news-card__badges { |
| justify-content: space-between;
| | display: flex; |
| align-items: center;
| | align-items: center; |
| gap: 0.35rem;
| | gap: 8px; |
| margin-bottom: 0.35rem;
| |
| padding-bottom: 0.35rem;
| |
| border-bottom: 1px solid #e8ede5;
| |
| } | | } |
|
| |
|
| .calendar-current-month {
| | /* Campaign badge - subtle, next to category badge */ |
| font-size: 0.75rem;
| | .news-card__campaign-badge { |
| font-weight: 700;
| | font-size: 0.68rem; |
| color: #26351a;
| | font-weight: 600; |
| white-space: nowrap;
| | padding: 4px 10px; |
| }
| | border-radius: 6px; |
| | | background: rgba(45, 106, 79, 0.08); |
| .calendar-nav-link {
| | color: #2d6a4f; |
| display: inline-block;
| | border: 1px solid rgba(45, 106, 79, 0.2); |
| background: #f0f5ed;
| | white-space: nowrap; |
| border: 1px solid #d2ddce;
| | max-width: 200px; |
| border-radius: 4px;
| | overflow: hidden; |
| padding: 0.15rem 0.35rem;
| | text-overflow: ellipsis; |
| 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: #5b7a45;
| |
| border-color: #4a6337;
| |
| }
| |
| | |
| .calendar-day.has-events a {
| |
| color: #ffffff;
| |
| font-weight: 700;
| |
| }
| |
| | |
| .calendar-day.has-events:hover {
| |
| background: #4a6337;
| |
| 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: #5b7a45;
| |
| 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;
| |
| bottom: 1px;
| |
| left: 50%;
| |
| transform: translateX(-50%);
| |
| width: 2px;
| |
| height: 2px;
| |
| background: rgba(255,255,255,0.85);
| |
| border-radius: 50%;
| |
| }
| |
| | |
| .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: 1rem;
| |
| font-weight: 700;
| |
| color: #ffffff;
| |
| padding: 0.85rem 1.1rem;
| |
| margin: 0;
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 0.5rem;
| |
| }
| |
| | |
| .sidebar-icon {
| |
| font-size: 1.1rem;
| |
| }
| |
| | |
| .sidebar-ongoing .sidebar-title {
| |
| background: linear-gradient(135deg, #6a5b86 0%, #54486b 100%);
| |
| }
| |
| | |
| .sidebar-enforcement .sidebar-title {
| |
| background: linear-gradient(135deg, #c75b3c 0%, #a84a2f 100%);
| |
| }
| |
| | |
| .sidebar-fieldwork .sidebar-title {
| |
| background: linear-gradient(135deg, #4a7c9d 0%, #3a6379 100%);
| |
| }
| |
| | |
| .sidebar-policy .sidebar-title {
| |
| background: linear-gradient(135deg, #5b7a45 0%, #4a6337 100%);
| |
| }
| |
| | |
| .sidebar-list {
| |
| padding: 0.7rem 1.1rem 0.9rem;
| |
| }
| |
| | |
| .sidebar-item {
| |
| padding: 0.65rem 0;
| |
| border-bottom: 1px solid #e8ede5;
| |
| }
| |
| | |
| .sidebar-item:last-child {
| |
| border-bottom: none;
| |
| }
| |
| | |
| .sidebar-date {
| |
| font-size: 0.75rem;
| |
| color: #5a6650;
| |
| font-weight: 700;
| |
| margin-bottom: 0.3rem;
| |
| }
| |
| | |
| .sidebar-region {
| |
| font-size: 0.85rem;
| |
| color: #26351a;
| |
| font-weight: 700;
| |
| margin-bottom: 0.1rem;
| |
| }
| |
| | |
| .sidebar-headline {
| |
| font-size: 0.9rem;
| |
| font-weight: 600;
| |
| line-height: 1.4;
| |
| margin: 0.3rem 0;
| |
| color: #1a2612;
| |
| }
| |
| | |
| .sidebar-status {
| |
| font-size: 0.75rem;
| |
| color: #5a6650;
| |
| margin-bottom: 0.3rem;
| |
| }
| |
| | |
| .sidebar-source-btn {
| |
| display: inline-block;
| |
| margin-top: 0.5rem;
| |
| padding: 0.4rem 0.75rem;
| |
| background: #ffffff;
| |
| border: 1px solid #2d6a4f;
| |
| border-radius: 5px;
| |
| color: #2d6a4f;
| |
| font-size: 0.75rem;
| |
| font-weight: 600;
| |
| text-decoration: none;
| |
| transition: all 0.2s ease;
| |
| }
| |
| | |
| .sidebar-source-btn:hover {
| |
| background: rgba(45, 106, 79, 0.05);
| |
| border-color: #245a42;
| |
| color: #245a42;
| |
| }
| |
| | |
| .sidebar-source-btn a {
| |
| color: inherit !important;
| |
| text-decoration: none !important;
| |
| }
| |
| | |
| .sidebar-link {
| |
| font-size: 0.85rem;
| |
| color: #3a4a2e;
| |
| line-height: 1.4;
| |
| }
| |
| | |
| .sidebar-link a {
| |
| color: #3a5228;
| |
| text-decoration: none;
| |
| }
| |
| | |
| .sidebar-link a:hover {
| |
| text-decoration: underline;
| |
| }
| |
| | |
| .sidebar-footer {
| |
| padding: 0.65rem 1.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;
| |
| }
| |
| | |
| | |
| /* -------------------------------------------- */
| |
| /* NEWS CARDS (FEED ITEMS) */
| |
| /* -------------------------------------------- */
| |
| | |
| .news-card {
| |
| background: #ffffff;
| |
| border: 1px solid #e1e6df;
| |
| border-radius: 8px;
| |
| position: relative;
| |
| overflow: hidden;
| |
| transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
| |
| }
| |
| | |
| .news-card::before {
| |
| content: '';
| |
| position: absolute;
| |
| left: 0;
| |
| top: 0;
| |
| bottom: 0;
| |
| width: 4px;
| |
| background: #d2ddce;
| |
| }
| |
| | |
| .news-card:hover {
| |
| border-color: #c5d2c0;
| |
| box-shadow: 0 3px 10px rgba(0,0,0,0.07);
| |
| transform: translateY(-1px);
| |
| }
| |
| | |
| .news-card--policy::before {
| |
| background: #5b7a45;
| |
| }
| |
| | |
| .news-card--enforcement::before {
| |
| background: #c75b3c;
| |
| }
| |
| | |
| .news-card--fieldwork::before {
| |
| background: #4a7c9d;
| |
| }
| |
| | |
| .news-card--research::before {
| |
| background: #7a6c3a;
| |
| }
| |
| | |
| .news-card--community::before {
| |
| background: #6a5b86;
| |
| }
| |
| | |
| .news-card__header {
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: space-between;
| |
| gap: 0.75rem;
| |
| padding: 0.75rem 1rem;
| |
| background: #fafbf9;
| |
| border-bottom: 1px solid #eff3ed;
| |
| }
| |
| | |
| .news-card__date {
| |
| font-size: 0.75rem;
| |
| font-weight: 700;
| |
| color: #55624d;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.02em;
| |
| white-space: nowrap;
| |
| } | | } |
|
| |
|
| | /* Category badge */ |
| .news-card__category-badge { | | .news-card__category-badge { |
| font-size: 0.6rem;
| | font-size: 0.65rem; |
| font-weight: 800;
| | font-weight: 800; |
| text-transform: uppercase;
| | padding: 5px 12px; |
| letter-spacing: 0.08em;
| | border-radius: 999px; |
| padding: 0.28rem 0.55rem;
| | letter-spacing: 0.08em; |
| border-radius: 999px;
| | text-transform: uppercase; |
| color: #ffffff;
| | color: #fff; |
| line-height: 1;
| | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| | white-space: nowrap; |
| | flex-shrink: 0; |
| } | | } |
|
| |
|
| .news-card__category-badge--policy,
| | /* Category badge colors */ |
| .news-card--policy .news-card__category-badge { | | .news-card--policy .news-card__category-badge { |
| background: #5b7a45;
| | background: linear-gradient(135deg, #5b7a45 0%, #4a6337 100%); |
| } | | } |
|
| |
|
| .news-card__category-badge--enforcement,
| |
| .news-card--enforcement .news-card__category-badge { | | .news-card--enforcement .news-card__category-badge { |
| background: #c75b3c;
| | background: linear-gradient(135deg, #c75b3c 0%, #a84a2f 100%); |
| } | | } |
|
| |
|
| .news-card__category-badge--fieldwork,
| |
| .news-card--fieldwork .news-card__category-badge { | | .news-card--fieldwork .news-card__category-badge { |
| background: #4a7c9d;
| | background: linear-gradient(135deg, #4a7c9d 0%, #3a6379 100%); |
| } | | } |
|
| |
|
| .news-card__category-badge--research,
| |
| .news-card--research .news-card__category-badge { | | .news-card--research .news-card__category-badge { |
| background: #7a6c3a;
| | background: linear-gradient(135deg, #7a6c3a 0%, #63572e 100%); |
| } | | } |
|
| |
|
| .news-card__category-badge--community,
| |
| .news-card--community .news-card__category-badge { | | .news-card--community .news-card__category-badge { |
| background: #6a5b86;
| | background: linear-gradient(135deg, #6a5b86 0%, #54486b 100%); |
| } | | } |
|
| |
|
| .news-card__region { | | /* Location hierarchy - italic, with bullet separators for better spacing */ |
| padding: 0.45rem 1rem 0;
| | .news-card__location { |
| font-size: 0.78rem;
| | padding: 10px 18px 0; |
| color: #7a8472;
| | font-size: 0.85rem; |
| font-weight: 500;
| | color: #7a8472; |
| font-style: italic;
| | font-weight: 500; |
| | font-style: italic; |
| | line-height: 1.5; |
| | letter-spacing: 0.01em; |
| } | | } |
|
| |
|
| .news-card__title { | | .news-card__title { |
| padding: 0.55rem 1rem 0.2rem;
| | padding: 8px 18px 10px; |
| font-size: 1.05rem;
| | font-size: 1.15rem; |
| font-weight: 700;
| | font-weight: 700; |
| line-height: 1.45;
| | line-height: 1.35; |
| color: #1a2612;
| | color: #1a2612; |
| margin: 0;
| | margin: 0; |
| }
| |
| | |
| .news-card__title a {
| |
| color: inherit;
| |
| text-decoration: none;
| |
| }
| |
| | |
| .news-card__title a:hover {
| |
| text-decoration: underline;
| |
| } | | } |
|
| |
|
| .news-card__summary { | | .news-card__summary { |
| padding: 0.2rem 1rem 0.85rem;
| | padding: 0 18px 14px; |
| font-size: 0.92rem;
| | font-size: 0.95rem; |
| line-height: 1.6;
| | line-height: 1.6; |
| color: #34402d;
| | color: #34402d; |
| } | | } |
|
| |
|
| .news-card__footer { | | /* Source URL display */ |
| padding: 0.6rem 1rem 0.7rem;
| | .news-card__source { |
| border-top: 1px solid #eff3ed;
| | padding: 12px 18px; |
| background: #fafbf9;
| | font-size: 0.78rem; |
| display: flex;
| | color: #7a8472; |
| gap: 10px;
| | background: #fafbf9; |
| flex-wrap: wrap;
| | border-top: 1px solid #e8ede5; |
| | border-radius: 0 0 12px 12px; |
| | display: flex; |
| | align-items: flex-start; |
| | gap: 6px; |
| } | | } |
|
| |
|
| .news-card__links { | | .news-card__source::before { |
| font-size: 0.8rem;
| | content: "🔗"; |
| color: #5a6650;
| | font-size: 0.85rem; |
| | opacity: 0.5; |
| | flex-shrink: 0; |
| | margin-top: 1px; |
| } | | } |
|
| |
|
| .news-card__links a { | | .news-card__source a { |
| color: #2f4a22;
| | color: #2d6a4f; |
| text-decoration: none;
| | text-decoration: none; |
| font-weight: 700;
| | word-break: break-all; |
| | font-weight: 500; |
| } | | } |
|
| |
|
| .news-card__links a:hover { | | .news-card__source a:hover { |
| color: #5b7a45;
| | text-decoration: underline; |
| text-decoration: underline;
| | color: #245a42; |
| } | | } |
|
| |
|
| .news-card__btn {
| | /* Responsive adjustments */ |
| display: inline-block;
| | @media (max-width: 768px) { |
| padding: 6px 14px;
| | .news-card__header { |
| border-radius: 6px;
| |
| font-size: 13px;
| |
| font-weight: 500;
| |
| text-decoration: none;
| |
| transition: all 0.2s ease;
| |
| border: 1px solid rgba(0, 0, 0, 0.12);
| |
| }
| |
| | |
| .news-card__btn a {
| |
| color: inherit !important;
| |
| text-decoration: none !important;
| |
| }
| |
| | |
| .news-card__btn--read {
| |
| background: #2d6a4f;
| |
| color: #fff !important;
| |
| border-color: #2d6a4f;
| |
| }
| |
| | |
| .news-card__btn--read:hover {
| |
| background: #245a42;
| |
| border-color: #245a42;
| |
| }
| |
| | |
| .news-card__btn--read a {
| |
| color: #fff !important;
| |
| }
| |
| | |
| .news-card__btn--source {
| |
| background: #fff;
| |
| color: #2d6a4f;
| |
| border-color: #2d6a4f;
| |
| }
| |
| | |
| .news-card__btn--source:hover {
| |
| background: rgba(45, 106, 79, 0.05);
| |
| }
| |
| | |
| .news-card__btn--source a {
| |
| color: #2d6a4f !important;
| |
| }
| |
| | |
| .news-card__btn--campaign {
| |
| background: #2d6a4f;
| |
| color: #fff !important;
| |
| border-color: #2d6a4f;
| |
| }
| |
| | |
| .news-card__btn--campaign:hover {
| |
| background: #245a42;
| |
| border-color: #245a42;
| |
| }
| |
| | |
| .news-card__btn--campaign a {
| |
| color: #fff !important;
| |
| }
| |
| | |
| .news-card__footer a {
| |
| text-decoration: none;
| |
| }
| |
| | |
| .news-card__footer a:hover { | |
| text-decoration: none;
| |
| }
| |
| | |
| .news-card + .news-card__footer {
| |
| background: #fafbf9;
| |
| border: 1px solid #e1e6df;
| |
| border-top: none;
| |
| border-radius: 0 0 8px 8px;
| |
| padding: 0.6rem 1rem 0.7rem;
| |
| margin-top: -8px;
| |
| margin-bottom: 0.9rem;
| |
| display: flex;
| |
| gap: 10px;
| |
| flex-wrap: wrap; | | flex-wrap: wrap; |
| }
| | gap: 8px; |
| | | } |
| | | |
| /* -------------------------------------------- */
| | .news-card__date { |
| /* STORY EVENT PAGES */
| | width: 100%; |
| /* -------------------------------------------- */
| | margin-bottom: 4px; |
| | | } |
| .story-card {
| | |
| background: #ffffff; | | .news-card__badges { |
| border: 1px solid #d2ddce;
| | width: 100%; |
| border-radius: 10px;
| | justify-content: flex-start; |
| padding: 1.1rem 1.25rem;
| | } |
| box-shadow: 0 2px 4px rgba(0,0,0,0.04);
| | |
| } | | .news-card__campaign-badge { |
| | | max-width: none; |
| .story-header { | | flex: 1; |
| margin-bottom: 0.8rem; | | } |
| }
| |
| | |
| .story-title {
| |
| font-size: 1.35rem;
| |
| font-weight: 700;
| |
| color: #26351a;
| |
| }
| |
| | |
| .story-subtitle {
| |
| font-size: 0.95rem;
| |
| color: #5a6650;
| |
| margin-top: 0.2rem;
| |
| }
| |
| | |
| .story-body {
| |
| font-size: 0.95rem;
| |
| line-height: 1.65;
| |
| color: #3a4a2e;
| |
| margin-bottom: 1rem; | |
| }
| |
| | |
| .story-timeline-item {
| |
| border-left: 3px solid #d2ddce;
| |
| background: #fafbf9;
| |
| padding: 0.7rem 0.9rem;
| |
| border-radius: 6px;
| |
| margin-bottom: 0.7rem;
| |
| }
| |
| | |
| .story-timeline-date {
| |
| font-size: 0.8rem;
| |
| font-weight: 700;
| |
| color: #26351a;
| |
| margin-bottom: 0.25rem;
| |
| }
| |
| | |
| .story-timeline-meta {
| |
| font-size: 0.78rem;
| |
| color: #5a6650;
| |
| margin-bottom: 0.3rem;
| |
| display: flex;
| |
| gap: 0.5rem;
| |
| flex-wrap: wrap;
| |
| }
| |
| | |
| .story-timeline-tag {
| |
| background: #eef4ea;
| |
| border: 1px solid #d2ddce;
| |
| padding: 0.1rem 0.4rem;
| |
| border-radius: 4px;
| |
| font-weight: 600;
| |
| } | |
| | |
| .story-timeline-text { | |
| font-size: 0.9rem;
| |
| color: #3a4a2e;
| |
| line-height: 1.55;
| |
| }
| |
| | |
| | |
| /* -------------------------------------------- */
| |
| /* CONTRIBUTING GUIDELINES */
| |
| /* -------------------------------------------- */
| |
| | |
| .portal-events-guidelines {
| |
| background: #f7faf6;
| |
| border: 1px dashed #c5d2c0;
| |
| border-radius: 10px;
| |
| padding: 1.25rem 1.5rem;
| |
| margin-top: 2rem;
| |
| }
| |
| | |
| .portal-events-guidelines h3 {
| |
| font-size: 1.1rem;
| |
| color: #26351a;
| |
| margin: 0 0 1rem;
| |
| }
| |
| | |
| .guidelines-grid {
| |
| display: grid;
| |
| grid-template-columns: repeat(2, 1fr);
| |
| gap: 1rem;
| |
| margin-bottom: 1rem;
| |
| }
| |
| | |
| .guideline-item {
| |
| font-size: 0.85rem;
| |
| color: #3a4a2e;
| |
| line-height: 1.5;
| |
| }
| |
| | |
| .guideline-item strong {
| |
| color: #26351a;
| |
| }
| |
| | |
| .guidelines-footer-link {
| |
| margin-top: 0.9rem;
| |
| font-size: 0.9rem;
| |
| font-weight: 700;
| |
| }
| |
| | |
| .guidelines-footer-link a {
| |
| color: #3a5228;
| |
| text-decoration: none;
| |
| }
| |
| | |
| .guidelines-footer-link 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;
| |
| }
| |
|
| |
| .guidelines-grid {
| |
| grid-template-columns: 1fr;
| |
| } | |
| }
| |
| | |
| @media (max-width: 850px) {
| |
| .portal-events-grid {
| |
| grid-template-columns: 1fr;
| |
| gap: 1.25rem;
| |
| }
| |
|
| |
| .portal-events-sidebar { | |
| position: static;
| |
| top: auto;
| |
| }
| |
| }
| |
| | |
| @media (max-width: 768px) {
| |
| .portal-events-wrapper {
| |
| padding: 0 0.6rem;
| |
| }
| |
| | |
| .portal-events-header {
| |
| padding: 0.85rem 1rem;
| |
| margin-bottom: 0.9rem;
| |
| border-radius: 10px;
| |
| }
| |
| | |
| .portal-events-nav {
| |
| font-size: 0.8rem;
| |
| line-height: 1.45;
| |
| }
| |
| | |
| .news-card__header {
| |
| flex-direction: column;
| |
| align-items: flex-start;
| |
| gap: 0.4rem;
| |
| padding: 0.7rem 0.9rem;
| |
| }
| |
|
| |
| .news-card__region {
| |
| padding: 0.4rem 0.9rem 0;
| |
| font-size: 0.74rem;
| |
| }
| |
|
| |
| .news-card__title {
| |
| padding: 0.5rem 0.9rem 0.2rem;
| |
| font-size: 0.98rem;
| |
| } | |
|
| |
| .news-card__summary {
| |
| padding: 0.2rem 0.9rem 0.75rem;
| |
| font-size: 0.88rem;
| |
| }
| |
|
| |
| .news-card__footer {
| |
| padding: 0.55rem 0.9rem 0.65rem;
| |
| }
| |
| | |
| .sidebar-title {
| |
| padding: 0.8rem 1rem;
| |
| font-size: 0.95rem;
| |
| }
| |
|
| |
| .sidebar-list {
| |
| padding: 0.6rem 1rem 0.85rem;
| |
| }
| |
|
| |
| .sidebar-item {
| |
| padding: 0.6rem 0;
| |
| }
| |
|
| |
| .sidebar-headline {
| |
| font-size: 0.88rem;
| |
| }
| |
|
| |
| .sidebar-source-btn {
| |
| font-size: 0.72rem;
| |
| padding: 0.35rem 0.65rem;
| |
| }
| |
|
| |
| .sidebar-link {
| |
| font-size: 0.83rem;
| |
| }
| |
|
| |
| .sidebar-footer {
| |
| padding: 0.6rem 1rem;
| |
| 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) { | | @media (max-width: 480px) { |
| .portal-events-wrapper {
| | .news-card__badges { |
| padding: 0 0.45rem;
| | flex-direction: column; |
| } | | align-items: flex-start; |
| | | gap: 6px; |
| .calendar-month-nav {
| | } |
| flex-wrap: wrap;
| | |
| row-gap: 0.3rem;
| | .news-card__campaign-badge, |
| }
| | .news-card__category-badge { |
|
| | max-width: 100%; |
| .calendar-nav-link,
| | } |
| .calendar-current-month {
| |
| width: 100%;
| |
| text-align: center;
| |
| }
| |
| } | | } |