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

Template page
Undo revision 2845 by Eloise Zomia (talk)
No edit summary
Line 1: Line 1:
/* Landrace.wiki – Portal base */ .lw-portal{font-size:14px;line-height:1.35} .lw-portal *{box-sizing:border-box} .lw-portal__title{font-size:22px;font-weight:800;text-align:center;margin:8px 0 10px} .lw-portal__bar{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;margin:0 0 12px} .lw-portal__bar a{text-decoration:none} .lw-portal__bar a:hover{text-decoration:underline} .lw-portal__grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:12px} @media (max-width:900px){.lw-portal__grid{grid-template-columns:1fr}} .lw-box{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.03)} .lw-box__hd{padding:10px 12px;border-bottom:1px solid #eef2f7;display:flex;align-items:baseline;justify-content:space-between;gap:10px} .lw-box__title{font-weight:800} .lw-box__link{font-size:12px} .lw-box__bd{padding:12px} .lw-hero{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start} @media (max-width:900px){.lw-hero{grid-template-columns:1fr}} .lw-hero__img{background:#f3f4f6;border:1px solid #eef2f7;border-radius:12px;overflow:hidden} .lw-hero__img img{display:block;width:100%;height:auto} .lw-hero__caption{font-size:12px;color:#6b7280;margin-top:6px} .lw-hero__text p{margin:0 0 8px} .lw-list{margin:0;padding-left:18px} .lw-list li{margin:4px 0} .lw-kicker{font-size:12px;color:#6b7280;margin-bottom:6px}
/* Landrace.wiki – Portal base (Wikipedia style) */
 
.lw-portal {
    font-size: 14px;
    line-height: 1.6;
    color: #202122;
}
 
.lw-portal * {
    box-sizing: border-box;
}
 
/* Portal header */
.lw-portal__title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 12px 0 14px;
    color: #202122;
    border-bottom: 2px solid #2d6a4f;
    padding-bottom: 8px;
}
 
/* Navigation bar */
.lw-portal__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px;
    font-size: 13px;
}
 
.lw-portal__bar a {
    text-decoration: none;
    color: #2d6a4f;
}
 
.lw-portal__bar a:hover {
    text-decoration: underline;
}
 
/* Grid layout */
.lw-portal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}
 
@media (max-width: 900px) {
    .lw-portal__grid {
        grid-template-columns: 1fr;
    }
}
 
/* Box containers */
.lw-box {
    background: #ffffff;
    border: 1px solid #a2a9b1;
    margin-bottom: 14px;
    overflow: hidden;
}
 
.lw-box__hd {
    background: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px solid #a2a9b1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
 
.lw-box__title {
    font-weight: 700;
    font-size: 16px;
    color: #202122;
}
 
.lw-box__link {
    font-size: 12px;
    color: #72777d;
}
 
.lw-box__link a {
    color: #2d6a4f;
    text-decoration: none;
}
 
.lw-box__link a:hover {
    text-decoration: underline;
}
 
.lw-box__bd {
    padding: 14px;
}
 
/* Hero section for intro */
.lw-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 16px;
    align-items: start;
}
 
@media (max-width: 900px) {
    .lw-hero {
        grid-template-columns: 1fr;
    }
}
 
.lw-hero__img {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 8px;
}
 
.lw-hero__img img {
    display: block;
    width: 100%;
    height: auto;
}
 
.lw-hero__caption {
    font-size: 12px;
    color: #72777d;
    margin-top: 6px;
    line-height: 1.4;
}
 
.lw-hero__text p {
    margin: 0 0 12px;
    line-height: 1.6;
}
 
/* Major topics definition lists */
.lw-box__bd dt {
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 4px;
    color: #202122;
}
 
.lw-box__bd dt:first-child {
    margin-top: 0;
}
 
.lw-box__bd dd {
    margin: 0 0 8px 0;
    line-height: 1.5;
}
 
.lw-box__bd dd a {
    color: #2d6a4f;
    text-decoration: none;
}
 
.lw-box__bd dd a:hover {
    text-decoration: underline;
}
 
/* Lists */
.lw-list {
    margin: 0;
    padding-left: 20px;
}
 
.lw-list li {
    margin: 6px 0;
    line-height: 1.5;
}
 
/* Kicker/subheadings */
.lw-kicker {
    font-size: 12px;
    color: #72777d;
    margin-bottom: 8px;
    font-weight: 600;
}
 
/* Links in body text */
.lw-box__bd a {
    color: #2d6a4f;
    text-decoration: none;
}
 
.lw-box__bd a:hover {
    text-decoration: underline;
}
 
/* Floating images in featured articles */
.lw-box__bd .floatright {
    float: right;
    margin: 0 0 12px 12px;
    max-width: 200px;
}
 
/* Category tags */
.lw-box__bd .category-list {
    line-height: 1.8;
}
 
.lw-box__bd .category-list a {
    white-space: nowrap;
}

Revision as of 10:40, 20 January 2026

/* Landrace.wiki – Portal base (Wikipedia style) */

.lw-portal {
    font-size: 14px;
    line-height: 1.6;
    color: #202122;
}

.lw-portal * {
    box-sizing: border-box;
}

/* Portal header */
.lw-portal__title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 12px 0 14px;
    color: #202122;
    border-bottom: 2px solid #2d6a4f;
    padding-bottom: 8px;
}

/* Navigation bar */
.lw-portal__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px;
    font-size: 13px;
}

.lw-portal__bar a {
    text-decoration: none;
    color: #2d6a4f;
}

.lw-portal__bar a:hover {
    text-decoration: underline;
}

/* Grid layout */
.lw-portal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

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

/* Box containers */
.lw-box {
    background: #ffffff;
    border: 1px solid #a2a9b1;
    margin-bottom: 14px;
    overflow: hidden;
}

.lw-box__hd {
    background: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px solid #a2a9b1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lw-box__title {
    font-weight: 700;
    font-size: 16px;
    color: #202122;
}

.lw-box__link {
    font-size: 12px;
    color: #72777d;
}

.lw-box__link a {
    color: #2d6a4f;
    text-decoration: none;
}

.lw-box__link a:hover {
    text-decoration: underline;
}

.lw-box__bd {
    padding: 14px;
}

/* Hero section for intro */
.lw-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 16px;
    align-items: start;
}

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

.lw-hero__img {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 8px;
}

.lw-hero__img img {
    display: block;
    width: 100%;
    height: auto;
}

.lw-hero__caption {
    font-size: 12px;
    color: #72777d;
    margin-top: 6px;
    line-height: 1.4;
}

.lw-hero__text p {
    margin: 0 0 12px;
    line-height: 1.6;
}

/* Major topics definition lists */
.lw-box__bd dt {
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 4px;
    color: #202122;
}

.lw-box__bd dt:first-child {
    margin-top: 0;
}

.lw-box__bd dd {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.lw-box__bd dd a {
    color: #2d6a4f;
    text-decoration: none;
}

.lw-box__bd dd a:hover {
    text-decoration: underline;
}

/* Lists */
.lw-list {
    margin: 0;
    padding-left: 20px;
}

.lw-list li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Kicker/subheadings */
.lw-kicker {
    font-size: 12px;
    color: #72777d;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Links in body text */
.lw-box__bd a {
    color: #2d6a4f;
    text-decoration: none;
}

.lw-box__bd a:hover {
    text-decoration: underline;
}

/* Floating images in featured articles */
.lw-box__bd .floatright {
    float: right;
    margin: 0 0 12px 12px;
    max-width: 200px;
}

/* Category tags */
.lw-box__bd .category-list {
    line-height: 1.8;
}

.lw-box__bd .category-list a {
    white-space: nowrap;
}