Toggle menu
83
56
34
2.9K
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:NewsItem/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
.news-card{
.news-card{
border:1px solid var(--border-color, #e6e6e6);
  border:1px solid #e6e6e6;
border-radius:14px;
  border-left:3px solid #b85b3a;
background:var(--background-color, #fff);
  border-radius:14px;
padding:18px 18px 16px 18px;
  background:#fff;
max-width:920px;
  padding:14px 16px;
  margin:0 0 14px 0;
}
}
.news-card__header{
.news-card__header{
display:flex;
  overflow:hidden;
align-items:center;
  margin:0 0 8px 0;
justify-content:space-between;
gap:12px;
margin-bottom:10px;
}
}
.news-card__date{
.news-card__date{
font-size:0.95em;
  float:left;
font-weight:600;
  font-size:0.85rem;
opacity:0.9;
  color:#444;
}
}
.news-card__badge{
 
font-size:0.78em;
.news-card__category-badge{
font-weight:700;
  float:right;
letter-spacing:0.04em;
  font-size:0.75rem;
text-transform:uppercase;
  padding:4px 10px;
padding:6px 10px;
  border-radius:999px;
border-radius:999px;
  border:1px solid #e6e6e6;
border:1px solid var(--border-color, #e6e6e6);
  background:#f7f7f7;
background:rgba(0,0,0,0.03);
  letter-spacing:0.02em;
  text-transform:uppercase;
  color:#222;
}
}
.news-card__region{
  clear:both;
  font-size:0.85rem;
  color:#555;
  margin:0 0 8px 0;
}
.news-card__title{
.news-card__title{
font-size:1.25em;
  font-size:1.1rem;
font-weight:700;
  font-weight:bold;
line-height:1.2;
  line-height:1.25;
margin:2px 0 10px 0;
  margin:0 0 8px 0;
}
  color:#111;
.news-card__titlelink{
text-decoration:none;
}
.news-card__titlelink:hover{
text-decoration:underline;
}
.news-card__meta{
display:flex;
flex-wrap:wrap;
gap:8px;
margin:0 0 12px 0;
}
.news-card__tag{
font-size:0.9em;
padding:6px 10px;
border-radius:999px;
border:1px solid var(--border-color, #e6e6e6);
background:rgba(0,0,0,0.02);
}
.news-card__taglink{
text-decoration:none;
}
.news-card__taglink:hover{
text-decoration:underline;
}
}
.news-card__summary{
.news-card__summary{
font-size:1em;
  font-size:0.95rem;
line-height:1.55;
  line-height:1.5;
margin:0 0 14px 0;
  margin:0 0 12px 0;
  color:#222;
  max-height:4.5em;
  overflow:hidden;
}
}
.news-card__footer{
.news-card__footer{
display:flex;
  margin:0;
justify-content:flex-start;
  overflow:hidden;
}
 
.news-card__btn{
  display:inline-block;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #e6e6e6;
  background:#f7f7f7;
  text-decoration:none;
  font-size:0.9rem;
  margin:0 8px 0 0;
}
}
.news-card__sourcebtn{
 
display:inline-block;
.news-card__btn a{
padding:10px 14px;
  text-decoration:none;
border-radius:12px;
  color:inherit;
border:1px solid var(--border-color, #e6e6e6);
background:rgba(0,0,0,0.02);
text-decoration:none;
font-weight:700;
}
}
.news-card__sourcebtn:hover{
 
text-decoration:underline;
.news-card__btn:hover{
  background:#efefef;
}
}

Revision as of 03:25, 17 January 2026

.news-card{
  border:1px solid #e6e6e6;
  border-left:3px solid #b85b3a;
  border-radius:14px;
  background:#fff;
  padding:14px 16px;
  margin:0 0 14px 0;
}

.news-card__header{
  overflow:hidden;
  margin:0 0 8px 0;
}

.news-card__date{
  float:left;
  font-size:0.85rem;
  color:#444;
}

.news-card__category-badge{
  float:right;
  font-size:0.75rem;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #e6e6e6;
  background:#f7f7f7;
  letter-spacing:0.02em;
  text-transform:uppercase;
  color:#222;
}

.news-card__region{
  clear:both;
  font-size:0.85rem;
  color:#555;
  margin:0 0 8px 0;
}

.news-card__title{
  font-size:1.1rem;
  font-weight:bold;
  line-height:1.25;
  margin:0 0 8px 0;
  color:#111;
}

.news-card__summary{
  font-size:0.95rem;
  line-height:1.5;
  margin:0 0 12px 0;
  color:#222;
  max-height:4.5em;
  overflow:hidden;
}

.news-card__footer{
  margin:0;
  overflow:hidden;
}

.news-card__btn{
  display:inline-block;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #e6e6e6;
  background:#f7f7f7;
  text-decoration:none;
  font-size:0.9rem;
  margin:0 8px 0 0;
}

.news-card__btn a{
  text-decoration:none;
  color:inherit;
}

.news-card__btn:hover{
  background:#efefef;
}