Template:ResearchItem/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
.news-card--research{ | /* -------------------------------------------- */ | ||
border-left: | /* RESEARCH CARDS */ | ||
/* -------------------------------------------- */ | |||
.news-card--research { | |||
border-left: 4px solid #7a6c3a; | |||
padding-left: 0; | |||
} | } | ||
.news-card--research .news- | |||
display:flex; | .news-card--research .news-card__header { | ||
display: flex; | |||
align-items:center; | align-items: center; | ||
justify-content: space-between; | |||
gap: 0.75rem; | |||
padding: 0.75rem 1rem; | |||
background: #fafbf9; | |||
border-bottom: 1px solid #eff3ed; | |||
flex-wrap: wrap; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__meta { | |||
display: flex; | |||
gap: 8px; | |||
align-items: center; | |||
flex-wrap: wrap; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__date { | |||
font-size: 0.75rem; | |||
font-weight: 700; | |||
color: #55624d; | |||
font-size: | text-transform: uppercase; | ||
font-weight:700; | letter-spacing: 0.02em; | ||
white-space: nowrap; | |||
} | } | ||
.news-card--research .news- | |||
font-size: | .news-card--research .news-card__badge { | ||
color:# | font-size: 0.6rem; | ||
font-weight: 800; | |||
text-transform: uppercase; | |||
letter-spacing: 0.08em; | |||
padding: 0.28rem 0.55rem; | |||
border-radius: 999px; | |||
background: #7a6c3a; | |||
color: #ffffff; | |||
line-height: 1; | |||
white-space: nowrap; | |||
} | } | ||
.news-card--research .news- | |||
font-size: | .news-card--research .news-card__venue { | ||
color:# | font-size: 0.75rem; | ||
color: #5a6650; | |||
font-weight: 600; | |||
} | } | ||
.news-card--research .news-card__year | |||
.news-card--research .news-card__year { | |||
font-size: 0.75rem; | |||
color:# | color: #5a6650; | ||
} | } | ||
.news-card--research .news- | |||
margin- | .news-card--research .news-card__year:before { | ||
content: "·"; | |||
margin-right: 6px; | |||
color: #9ca3af; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__region { | |||
font-size: | padding: 0.45rem 1rem 0; | ||
color:# | font-size: 0.78rem; | ||
color: #7a8472; | |||
font-style: italic; | |||
font-weight: 500; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__title { | |||
line-height:1.45; | padding: 0.55rem 1rem 0.2rem; | ||
font-size: 1.05rem; | |||
font-weight: 700; | |||
line-height: 1.45; | |||
color: #1a2612; | |||
margin: 0; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__byline { | |||
padding: 0.1rem 1rem 0; | |||
font-size: 0.82rem; | |||
color: #5a6650; | |||
font-style: italic; | |||
} | } | ||
.news-card--research .news- | |||
.news-card--research .news-card__summary { | |||
padding: 0.3rem 1rem 0.85rem; | |||
padding: | font-size: 0.92rem; | ||
line-height: 1.6; | |||
font-size: | color: #34402d; | ||
} | } | ||
.news-card--research .news-card__link a.external:after{ | |||
display:none; | .news-card--research .news-card__footer { | ||
padding: 0.6rem 1rem 0.7rem; | |||
border-top: 1px solid #eff3ed; | |||
background: #fafbf9; | |||
display: flex; | |||
gap: 8px; | |||
flex-wrap: wrap; | |||
} | |||
.news-card--research .news-card__link a { | |||
display: inline-block; | |||
padding: 6px 14px; | |||
border-radius: 6px; | |||
font-size: 13px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
transition: all 0.2s ease; | |||
border: 1px solid #7a6c3a; | |||
color: #7a6c3a; | |||
background: #fff; | |||
} | |||
.news-card--research .news-card__link a:hover { | |||
background: rgba(122, 108, 58, 0.06); | |||
} | |||
.news-card--research .news-card__link a.external:after { | |||
display: none; | |||
} | } | ||
Revision as of 18:09, 1 March 2026
/* -------------------------------------------- */
/* RESEARCH CARDS */
/* -------------------------------------------- */
.news-card--research {
border-left: 4px solid #7a6c3a;
padding-left: 0;
}
.news-card--research .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;
flex-wrap: wrap;
}
.news-card--research .news-card__meta {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}
.news-card--research .news-card__date {
font-size: 0.75rem;
font-weight: 700;
color: #55624d;
text-transform: uppercase;
letter-spacing: 0.02em;
white-space: nowrap;
}
.news-card--research .news-card__badge {
font-size: 0.6rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 0.28rem 0.55rem;
border-radius: 999px;
background: #7a6c3a;
color: #ffffff;
line-height: 1;
white-space: nowrap;
}
.news-card--research .news-card__venue {
font-size: 0.75rem;
color: #5a6650;
font-weight: 600;
}
.news-card--research .news-card__year {
font-size: 0.75rem;
color: #5a6650;
}
.news-card--research .news-card__year:before {
content: "·";
margin-right: 6px;
color: #9ca3af;
}
.news-card--research .news-card__region {
padding: 0.45rem 1rem 0;
font-size: 0.78rem;
color: #7a8472;
font-style: italic;
font-weight: 500;
}
.news-card--research .news-card__title {
padding: 0.55rem 1rem 0.2rem;
font-size: 1.05rem;
font-weight: 700;
line-height: 1.45;
color: #1a2612;
margin: 0;
}
.news-card--research .news-card__byline {
padding: 0.1rem 1rem 0;
font-size: 0.82rem;
color: #5a6650;
font-style: italic;
}
.news-card--research .news-card__summary {
padding: 0.3rem 1rem 0.85rem;
font-size: 0.92rem;
line-height: 1.6;
color: #34402d;
}
.news-card--research .news-card__footer {
padding: 0.6rem 1rem 0.7rem;
border-top: 1px solid #eff3ed;
background: #fafbf9;
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.news-card--research .news-card__link a {
display: inline-block;
padding: 6px 14px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s ease;
border: 1px solid #7a6c3a;
color: #7a6c3a;
background: #fff;
}
.news-card--research .news-card__link a:hover {
background: rgba(122, 108, 58, 0.06);
}
.news-card--research .news-card__link a.external:after {
display: none;
}