Toggle menu
1
18
1
210
技术文档中心
Toggle preferences menu
Toggle personal menu
Administrator Login Only
Access is restricted to site administrators.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
修正产品目录搜索栏与首页导航状态
Git release 5e4241dd8446
Line 1: Line 1:
:root {
:root {
   --techdocs-blue: #1464c0;
   --lcd-blue: #63b7e8;
   --techdocs-blue-dark: #0b4f9c;
   --lcd-blue-dark: #258ac4;
   --techdocs-ink: #172b3f;
   --lcd-ink: #233245;
   --techdocs-muted: #5e7184;
   --lcd-muted: #66758a;
   --techdocs-border: #d9e4ee;
   --lcd-line: #dfe7ef;
   --techdocs-surface: #f4f8fc;
   --lcd-panel: #f6f9fc;
}
}


.mw-body-content { color: var(--techdocs-ink); }
.mw-body-content {
.mw-body-content a { text-underline-offset: 2px; }
  color: var(--lcd-ink);
.techdocs-hero {
  padding: clamp(2rem, 6vw, 4.75rem);
  border: 1px solid #cfe0f1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(20,100,192,.18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eaf3fc 100%);
  box-shadow: 0 20px 60px rgba(30, 80, 130, .10);
  margin-bottom: 2.4rem;
}
}
.techdocs-hero__eyebrow,.techdocs-kicker {
 
   display: block; color: var(--techdocs-blue); font-size: .75rem;
.lcd-welcome {
   font-weight: 750; letter-spacing: .14em; margin-bottom: .5rem;
   margin: 1rem 0 2rem;
  padding: 1.5rem 1.75rem;
   border: 1px solid #dceaf3;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fcff, #eef8fe);
}
}
.techdocs-hero__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.12; }
 
.techdocs-hero__summary { max-width: 760px; color: var(--techdocs-muted); font-size: 1.05rem; margin: 1rem 0 1.6rem; }
.lcd-welcome h2 {
.techdocs-hero .mw-inputbox-input { min-width: min(100%, 420px); border-radius: 10px; border: 1px solid #b9cde0; padding: .7rem .9rem; }
  margin: 0 0 .75rem;
.techdocs-hero .mw-ui-button { border-radius: 10px; }
  color: var(--lcd-blue-dark);
.techdocs-section-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin:2rem 0 1rem; }
   border: 0;
.techdocs-section-heading h2 { margin:0; border:0; font-size:1.75rem; }
   font-size: clamp(1.5rem, 3vw, 2rem);
.techdocs-section-note { color:var(--techdocs-muted); font-size:.9rem; }
.techdocs-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.techdocs-category-card {
   position:relative; min-height:190px; padding:1.35rem; border:1px solid var(--techdocs-border);
   border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(36,71,105,.06);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
}
.techdocs-category-card:hover { transform:translateY(-3px); border-color:#8bb7df; box-shadow:0 16px 34px rgba(36,71,105,.12); }
.techdocs-category-card__icon { display:inline-flex; padding:.35rem .55rem; border-radius:7px; background:#e8f2fc; color:var(--techdocs-blue); font-size:.72rem; font-weight:800; letter-spacing:.08em; }
.techdocs-category-card h3 { margin:.9rem 0 .55rem; font-size:1.2rem; }
.techdocs-category-card p { color:var(--techdocs-muted); margin:0 0 1rem; }
.techdocs-category-card__link { color:var(--techdocs-blue); font-weight:700; font-size:.88rem; }
.techdocs-feature-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:1rem; margin:2rem 0; }
.techdocs-feature-panel { padding:1.7rem; border-radius:18px; color:#fff; background:linear-gradient(135deg,var(--techdocs-blue-dark),#2580d8); }
.techdocs-feature-panel--muted { color:var(--techdocs-ink); background:var(--techdocs-surface); border:1px solid var(--techdocs-border); }
.techdocs-feature-panel h2 { margin:.25rem 0 .65rem; border:0; }
.techdocs-feature-panel:not(.techdocs-feature-panel--muted) a { color:#fff; }
.techdocs-actions { margin-top:1rem; font-weight:700; }
.techdocs-notice { padding:1rem 1.2rem; border-left:4px solid var(--techdocs-blue); background:#eef6fd; border-radius:8px; color:#38546e; }
.techdocs-product-card { border:1px solid var(--techdocs-border); border-radius:16px; overflow:hidden; margin:1rem 0 1.5rem; box-shadow:0 10px 28px rgba(36,71,105,.08); }
.techdocs-product-card__header { display:flex; justify-content:space-between; gap:1rem; align-items:center; padding:1.2rem 1.4rem; background:linear-gradient(120deg,#f7fbff,#eaf3fc); }
.techdocs-product-card__model { font-size:1.8rem; font-weight:800; color:var(--techdocs-blue-dark); }
.techdocs-spec-table { width:100%; margin:0!important; border:0!important; }
.techdocs-spec-table th { width:16%; color:#435b72; background:#f7f9fb; }
.techdocs-spec-table th,.techdocs-spec-table td { padding:.75rem!important; border-color:#e1e8ef!important; }
.techdocs-status-badge { display:inline-flex; padding:.3rem .65rem; border-radius:999px; font-size:.8rem; font-weight:750; }
.techdocs-status-badge--published { color:#146c43; background:#dff5e9; }
.techdocs-status-badge--draft { color:#8a5b00; background:#fff0c7; }
.techdocs-status-badge--archived { color:#586575; background:#e8edf2; }
.techdocs-anchor-bar { position:sticky; top:1rem; z-index:2; padding:.75rem 1rem; margin:1rem 0 1.5rem; border:1px solid var(--techdocs-border); border-radius:10px; background:rgba(255,255,255,.94); backdrop-filter:blur(8px); }
.techdocs-download-card { display:grid; grid-template-columns:64px 1fr auto; gap:1rem; align-items:center; padding:1rem; margin:.75rem 0; border:1px solid var(--techdocs-border); border-radius:13px; background:#fff; }
.techdocs-download-card__type { display:grid; place-items:center; min-height:48px; border-radius:9px; color:#fff; background:var(--techdocs-blue); font-size:.72rem; font-weight:800; }
.techdocs-download-card__body { display:flex; flex-direction:column; gap:.2rem; }
.techdocs-download-card__body span,.techdocs-download-card__body small { color:var(--techdocs-muted); }
.techdocs-download-card__action a { display:inline-flex; padding:.55rem .85rem; border-radius:8px; color:#fff!important; background:var(--techdocs-blue); font-weight:750; text-decoration:none; }
.techdocs-anchor-bar,.techdocs-spec-table,.mw-highlight,pre { max-width:100%; box-sizing:border-box; }
.mw-highlight,pre { overflow-x:auto; }
.techdocs-download-card__body,.techdocs-feature-panel,.techdocs-category-card { min-width:0; }


@media (max-width: 900px) {
.lcd-welcome__eyebrow {
   .techdocs-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
   margin-bottom: .35rem;
   .techdocs-feature-grid { grid-template-columns:1fr; }
  color: var(--lcd-blue-dark);
   font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}
}
@media (max-width: 600px) {
 
  .techdocs-hero { padding:1.5rem; border-radius:16px; }
.lcd-welcome__title {
   .techdocs-hero .mw-inputbox-form { display:grid; gap:.55rem; }
   margin-bottom: .75rem;
  .techdocs-hero .mw-inputbox-input,.techdocs-hero .mw-ui-button { width:100%; min-width:0; margin:0; box-sizing:border-box; }
   color: var(--lcd-blue-dark);
  .techdocs-category-grid { grid-template-columns:1fr; }
   font-size: clamp(1.5rem, 3vw, 2rem);
   .techdocs-section-heading { display:block; }
   font-weight: 800;
  .techdocs-section-note { display:block; margin-top:.35rem; }
  .techdocs-product-card__header { align-items:flex-start; flex-direction:column; }
   .techdocs-spec-table { display:block; overflow-x:auto; }
  .techdocs-anchor-bar { overflow-x:auto; white-space:nowrap; }
  .techdocs-download-card { grid-template-columns:50px 1fr; }
  .techdocs-download-card__action { grid-column:1/-1; }
   .techdocs-download-card__action a { justify-content:center; width:100%; box-sizing:border-box; }
}
}


/* Creative development board catalog landing page */
.lcd-welcome p:last-child {
:root {
   margin-bottom: 0;
  --catalog-teal: #0c9ca2;
  --catalog-teal-dark: #07888e;
  --catalog-orange: #ee4a21;
  --catalog-bg: #f4f6f8;
  --catalog-ink: #172231;
  --catalog-muted: #6f7889;
   --catalog-line: #e4e8ed;
}
}


body.page-Main_Page,
.lcd-module {
body.page-产品目录 { overflow-x: hidden; background: var(--catalog-bg); }
  margin: 1.75rem 0 2.5rem;
body.page-Main_Page .mw-first-heading,
  scroll-margin-top: 5rem;
body.page-产品目录 .mw-first-heading,
}
body.page-Main_Page .mw-body-header,
body.page-产品目录 .mw-body-header { display: none; }
body.page-Main_Page .mw-body-content,
body.page-产品目录 .mw-body-content { overflow: visible; }
body.page-Main_Page .mw-parser-output,
body.page-产品目录 .mw-parser-output { margin: 0; }


.catalog-shell {
.lcd-module__tab {
   width: 100vw;
   margin: 0 0 1rem;
   margin-left: calc(50% - 50vw);
   padding: .68rem 1rem;
   margin-top: -1.25rem;
   border-radius: 5px;
   color: var(--catalog-ink);
   background: var(--lcd-blue);
   background: var(--catalog-bg);
   color: #fff;
   min-height: 100vh;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
   letter-spacing: .02em;
}
}
.catalog-shell *, .catalog-shell *::before, .catalog-shell *::after { box-sizing: border-box; }
 
.catalog-topbar {
.lcd-card-grid {
   position: relative;
   display: grid;
   z-index: 4;
   grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 74px;
   gap: 1.1rem;
  background: var(--catalog-teal);
   box-shadow: 0 2px 10px rgba(21, 43, 53, .14);
}
}
.catalog-topbar__inner {
 
   width: min(100% - 44px, 1820px);
.lcd-card {
   min-height: 74px;
   min-width: 0;
   margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--lcd-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(38, 68, 94, .11);
   transition: transform .16s ease, box-shadow .16s ease;
}
 
.lcd-card:hover {
  transform: translateY(-2px);
   box-shadow: 0 7px 18px rgba(38, 68, 94, .16);
}
 
.lcd-card__media {
   display: flex;
   display: flex;
  aspect-ratio: 4 / 3;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: center;
   gap: 2rem;
  padding: .65rem;
  background: #f8fafc;
}
 
.lcd-card__media a,
.lcd-card__media .mw-file-description {
  display: contents;
}
 
.lcd-card__media img {
  width: 100%;
  height: 100%;
   object-fit: contain;
}
}
.catalog-brand {
 
   display: flex;
.lcd-card__body {
  align-items: center;
   padding: .85rem .8rem .95rem;
  gap: .75rem;
   text-align: center;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.025em;
   white-space: nowrap;
}
}
.catalog-brand__mark {
 
   position: relative;
.lcd-card__title {
   display: inline-block;
   min-height: 2.7em;
  width: 26px;
   line-height: 1.35;
  height: 38px;
   font-weight: 600;
   border-radius: 4px;
  background: var(--catalog-orange);
}
}
.catalog-brand__mark::before,
 
.catalog-brand__mark::after,
.lcd-card__title a {
.catalog-brand__mark span::before,
   color: var(--lcd-ink);
.catalog-brand__mark span::after {
   content: "";
  position: absolute;
  width: 5px;
  height: 3px;
  border-radius: 2px;
  background: var(--catalog-orange);
}
}
.catalog-brand__mark::before { left: -7px; top: 8px; }
 
.catalog-brand__mark::after { right: -7px; top: 8px; }
.lcd-card__model {
.catalog-brand__mark span:nth-child(1)::before { left: -7px; top: 17px; }
  margin-top: .35rem;
.catalog-brand__mark span:nth-child(1)::after { right: -7px; top: 17px; }
   color: #27384b;
.catalog-brand__mark span:nth-child(2)::before { left: -7px; top: 26px; }
   font-weight: 800;
.catalog-brand__mark span:nth-child(2)::after { right: -7px; top: 26px; }
   overflow-wrap: anywhere;
.catalog-nav { display: flex; align-items: stretch; gap: .35rem; min-height: 74px; }
.catalog-nav > span { display: flex; align-items: center; }
.catalog-nav a,
.catalog-nav .mw-selflink {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
   color: rgba(255,255,255,.88) !important;
  font-size: 1.05rem;
   font-weight: 650;
   text-decoration: none !important;
  border: 4px solid transparent;
  transition: background .16s ease, color .16s ease;
}
}
.catalog-nav .mw-selflink { color: #fff !important; }
.catalog-nav a:hover { color: #fff !important; background: rgba(255,255,255,.09); }
.catalog-nav .is-active a,
.catalog-nav .is-active .mw-selflink { border-color: #ff5b5b; color: #fff !important; }


.catalog-page {
.lcd-product__hero {
  width: min(100% - 44px, 1820px);
  margin: 38px auto 0;
  padding-bottom: 4rem;
   display: grid;
   display: grid;
   grid-template-columns: 315px minmax(0, 1fr);
   grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr);
   gap: 28px;
   gap: 1.5rem;
   align-items: start;
  margin: 1rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--lcd-line);
  border-radius: 10px;
  background: var(--lcd-panel);
}
 
.lcd-product__summary {
   align-self: center;
}
}
.catalog-sidebar {
 
   position: sticky;
.lcd-product__kicker {
  top: 18px;
   color: var(--lcd-blue-dark);
  overflow: hidden;
   font-weight: 700;
  border-radius: 11px;
  background: #fff;
   box-shadow: 0 3px 12px rgba(28, 42, 58, .14);
}
}
.catalog-sidebar__title {
 
   padding: 17px 21px;
.lcd-product__model {
   color: #fff;
   margin: .35rem 0 .6rem;
  background: var(--catalog-teal);
   color: var(--lcd-ink);
   font-size: 1.2rem;
   font-size: clamp(1.35rem, 3vw, 2rem);
   font-weight: 800;
   font-weight: 800;
}
}
.catalog-sidebar__body { padding: 18px 18px 22px; }
 
.catalog-sidebar__all a {
.lcd-product__status {
   display: block;
   margin-bottom: .85rem;
  padding: 12px 14px;
  border-radius: 5px;
  color: #fff !important;
  background: var(--catalog-teal);
  font-weight: 750;
  text-decoration: none !important;
}
}
.catalog-sidebar__group { padding: 14px 14px 3px; }
 
.catalog-sidebar__group-title {
.lcd-product__gallery {
   display: flex;
   display: grid;
   align-items: center;
   grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: space-between;
   gap: .75rem;
   gap: 1rem;
  font-size: 1rem;
  font-weight: 760;
}
}
.catalog-sidebar__group.is-open .catalog-sidebar__group-title { color: var(--catalog-teal); }
 
.catalog-sidebar__items { padding: 12px 0 0 17px; display: grid; gap: 11px; color: #667184; font-size: .93rem; }
.lcd-product__gallery > div {
.catalog-content { min-width: 0; }
.catalog-search {
  min-height: 108px;
  padding: 28px;
   display: flex;
   display: flex;
  min-width: 0;
  aspect-ratio: 4 / 3;
   align-items: center;
   align-items: center;
   gap: 12px;
   justify-content: center;
   border-radius: 13px;
  padding: .6rem;
  border: 1px solid var(--lcd-line);
   border-radius: 7px;
   background: #fff;
   background: #fff;
  box-shadow: 0 4px 14px rgba(28, 42, 58, .14);
}
}
.catalog-search > p { flex: none; margin: 0; }
 
.catalog-search__icon { margin-right: -46px; z-index: 1; color: #9aa3b2; font-size: 1.75rem; line-height: 1; transform: rotate(-20deg); }
.lcd-product__gallery img {
.catalog-search .mw-inputbox-centered { flex: 1; width: 100%; margin: 0; }
.catalog-search .mw-inputbox-form,
.catalog-search .mw-inputbox-form-inline { display: flex; width: 100%; margin: 0; }
.catalog-search .cdx-text-input { flex: 1; width: 100%; min-width: 0; }
.catalog-search .mw-inputbox-input,
.catalog-search .mw-searchInput {
   width: 100%;
   width: 100%;
   min-width: 0;
   height: 100%;
   height: 50px;
  object-fit: contain;
   padding: 0 54px !important;
}
   border: 1px solid #d6dce4 !important;
 
   border-radius: 9px !important;
.lcd-spec-table {
   color: var(--catalog-ink);
  width: 100%;
   background: #fff;
  table-layout: fixed;
   font-size: 1rem;
}
   box-shadow: none !important;
 
.lcd-spec-table th:first-child {
   width: 10rem;
}
 
.lcd-status {
   display: inline-block;
   padding: .18rem .55rem;
   border-radius: 999px;
   color: #244158;
   background: #dceff9;
   font-size: .84rem;
   font-weight: 700;
}
}
.catalog-search .mw-inputbox-input::placeholder,
 
.catalog-search .mw-searchInput::placeholder { color: #a0a7b4; opacity: 1; }
.lcd-download-card,
.catalog-search .mw-ui-button,
.lcd-empty-resource {
.catalog-search .cdx-button { display: none; }
  padding: 1rem 1.15rem;
.catalog-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  border: 1px solid var(--lcd-line);
.catalog-card {
  border-left: 4px solid var(--lcd-blue);
  min-width: 0;
   border-radius: 6px;
  overflow: hidden;
   border-radius: 13px;
   background: #fff;
   background: #fff;
  box-shadow: 0 3px 11px rgba(28, 42, 58, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(28, 42, 58, .18); }
 
.catalog-card__media { position: relative; aspect-ratio: 1.95 / 1; overflow: hidden; background: #dfe4e8; }
.lcd-download-card__name {
.catalog-card__media a { display: block; width: 100%; height: 100%; }
   font-size: 1.05rem;
.catalog-card__media img {
   font-weight: 700;
   display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
   object-fit: cover;
  transition: transform .28s ease;
}
}
.catalog-card:hover .catalog-card__media img { transform: scale(1.035); }
 
.catalog-badge {
.lcd-download-card__type {
   position: absolute;
   display: inline-block;
  z-index: 2;
   margin-right: .6rem;
   left: 20px;
   color: var(--lcd-blue-dark);
  top: 19px;
  padding: 5px 13px;
  border-radius: 999px;
   color: #fff;
  font-size: .78rem;
   font-weight: 800;
   font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
}
.catalog-badge--green { background: #10bd6b; }
.catalog-badge--amber { background: #f3b300; }
.catalog-badge--red { background: #f24b43; }
.catalog-card__body { min-width: 0; padding: 18px 22px 20px; }
.catalog-meta { display: flex; align-items: center; gap: 9px; color: #7b8494; font-size: .82rem; }
.catalog-chip { padding: 4px 9px; border-radius: 5px; color: #737d8c; background: #f1f3f5; }
.catalog-card h3 { margin: 13px 0 8px; border: 0; font-size: 1.13rem; line-height: 1.35; }
.catalog-card h3 a { color: var(--catalog-ink) !important; text-decoration: none !important; }
.catalog-card p { min-height: 3.15em; margin: 0; color: var(--catalog-muted); font-size: .92rem; line-height: 1.58; }
.catalog-card__footer { margin-top: 18px; display: flex; justify-content: space-between; gap: 1rem; color: #7c8492; font-size: .86rem; }
.catalog-card__footer a { color: var(--catalog-teal) !important; white-space: nowrap; text-decoration: none !important; }


@media (max-width: 1280px) {
.lcd-download-card__body {
   .catalog-page { grid-template-columns: 260px minmax(0,1fr); }
  display: inline-flex;
   .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  flex-wrap: wrap;
  gap: .25rem .75rem;
  align-items: baseline;
}
 
.lcd-download-card__action {
   margin-top: .65rem;
}
 
.lcd-download-card__meta,
.lcd-empty-resource {
  color: var(--lcd-muted);
}
 
.lcd-manager-links {
   columns: 2 18rem;
}
 
.formtable {
  width: 100%;
  margin-bottom: 1rem;
}
 
.formtable th {
  width: 11rem;
  text-align: left;
  vertical-align: top;
}
 
.formtable input,
.formtable select,
.formtable textarea {
  box-sizing: border-box;
  max-width: 100%;
}
}
@media (max-width: 900px) {
 
   .catalog-topbar__inner { min-height: auto; padding: 15px 0; align-items: flex-start; flex-direction: column; gap: 11px; }
@media (max-width: 1000px) {
  .catalog-nav { width: 100%; min-height: 46px; overflow-x: auto; }
   .lcd-card-grid {
  .catalog-nav a { padding: 0 .9rem; white-space: nowrap; }
    grid-template-columns: repeat(2, minmax(0, 1fr));
  .catalog-page { margin-top: 22px; grid-template-columns: 1fr; }
  }
  .catalog-sidebar { position: static; }
 
  .catalog-sidebar__body { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
   .lcd-product__hero {
   .catalog-sidebar__group { padding: 12px 10px; border: 1px solid var(--catalog-line); border-radius: 7px; }
    grid-template-columns: 1fr;
   .catalog-sidebar__items { display: none; }
   }
}
}
@media (max-width: 620px) {
@media (max-width: 620px) {
   .catalog-shell { margin-top: -.75rem; }
   .lcd-welcome {
   .catalog-topbar__inner, .catalog-page { width: min(100% - 24px, 1820px); }
    padding: 1.1rem;
   .catalog-brand { font-size: 1.08rem; }
  }
   .catalog-brand__mark { transform: scale(.82); transform-origin: left center; margin-right: -.2rem; }
 
   .catalog-nav { gap: 0; }
   .lcd-card-grid,
   .catalog-nav a { padding: 0 .68rem; font-size: .88rem; }
   .lcd-product__gallery {
   .catalog-page { padding-bottom: 2rem; }
    grid-template-columns: 1fr;
  .catalog-sidebar__body { grid-template-columns: 1fr 1fr; }
  }
   .catalog-sidebar__all { grid-column: 1 / -1; }
 
   .catalog-search { min-height: auto; padding: 16px; }
   .lcd-card__title {
   .catalog-search .mw-inputbox-input,
    min-height: 0;
   .catalog-search .mw-searchInput { height: 46px; }
   }
   .catalog-grid { margin-top: 18px; grid-template-columns: 1fr; gap: 18px; }
 
   .catalog-card__media { aspect-ratio: 1.65 / 1; }
   .lcd-product__hero {
  .catalog-card__body { padding: 16px 17px 18px; }
    padding: .85rem;
   .catalog-card p { min-height: 0; }
  }
 
   .lcd-spec-table th:first-child {
    width: 7.5rem;
   }
 
   .formtable,
   .formtable tbody,
   .formtable tr,
   .formtable th,
   .formtable td {
    display: block;
    width: 100%;
   }
}
}

Revision as of 22:35, 25 July 2026

:root {
  --lcd-blue: #63b7e8;
  --lcd-blue-dark: #258ac4;
  --lcd-ink: #233245;
  --lcd-muted: #66758a;
  --lcd-line: #dfe7ef;
  --lcd-panel: #f6f9fc;
}

.mw-body-content {
  color: var(--lcd-ink);
}

.lcd-welcome {
  margin: 1rem 0 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid #dceaf3;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fcff, #eef8fe);
}

.lcd-welcome h2 {
  margin: 0 0 .75rem;
  color: var(--lcd-blue-dark);
  border: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lcd-welcome__eyebrow {
  margin-bottom: .35rem;
  color: var(--lcd-blue-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.lcd-welcome__title {
  margin-bottom: .75rem;
  color: var(--lcd-blue-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.lcd-welcome p:last-child {
  margin-bottom: 0;
}

.lcd-module {
  margin: 1.75rem 0 2.5rem;
  scroll-margin-top: 5rem;
}

.lcd-module__tab {
  margin: 0 0 1rem;
  padding: .68rem 1rem;
  border-radius: 5px;
  background: var(--lcd-blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}

.lcd-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.lcd-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lcd-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(38, 68, 94, .11);
  transition: transform .16s ease, box-shadow .16s ease;
}

.lcd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(38, 68, 94, .16);
}

.lcd-card__media {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  padding: .65rem;
  background: #f8fafc;
}

.lcd-card__media a,
.lcd-card__media .mw-file-description {
  display: contents;
}

.lcd-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lcd-card__body {
  padding: .85rem .8rem .95rem;
  text-align: center;
}

.lcd-card__title {
  min-height: 2.7em;
  line-height: 1.35;
  font-weight: 600;
}

.lcd-card__title a {
  color: var(--lcd-ink);
}

.lcd-card__model {
  margin-top: .35rem;
  color: #27384b;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.lcd-product__hero {
  display: grid;
  grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  margin: 1rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--lcd-line);
  border-radius: 10px;
  background: var(--lcd-panel);
}

.lcd-product__summary {
  align-self: center;
}

.lcd-product__kicker {
  color: var(--lcd-blue-dark);
  font-weight: 700;
}

.lcd-product__model {
  margin: .35rem 0 .6rem;
  color: var(--lcd-ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
}

.lcd-product__status {
  margin-bottom: .85rem;
}

.lcd-product__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.lcd-product__gallery > div {
  display: flex;
  min-width: 0;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  padding: .6rem;
  border: 1px solid var(--lcd-line);
  border-radius: 7px;
  background: #fff;
}

.lcd-product__gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lcd-spec-table {
  width: 100%;
  table-layout: fixed;
}

.lcd-spec-table th:first-child {
  width: 10rem;
}

.lcd-status {
  display: inline-block;
  padding: .18rem .55rem;
  border-radius: 999px;
  color: #244158;
  background: #dceff9;
  font-size: .84rem;
  font-weight: 700;
}

.lcd-download-card,
.lcd-empty-resource {
  padding: 1rem 1.15rem;
  border: 1px solid var(--lcd-line);
  border-left: 4px solid var(--lcd-blue);
  border-radius: 6px;
  background: #fff;
}

.lcd-download-card__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.lcd-download-card__type {
  display: inline-block;
  margin-right: .6rem;
  color: var(--lcd-blue-dark);
  font-weight: 800;
}

.lcd-download-card__body {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  align-items: baseline;
}

.lcd-download-card__action {
  margin-top: .65rem;
}

.lcd-download-card__meta,
.lcd-empty-resource {
  color: var(--lcd-muted);
}

.lcd-manager-links {
  columns: 2 18rem;
}

.formtable {
  width: 100%;
  margin-bottom: 1rem;
}

.formtable th {
  width: 11rem;
  text-align: left;
  vertical-align: top;
}

.formtable input,
.formtable select,
.formtable textarea {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 1000px) {
  .lcd-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcd-product__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lcd-welcome {
    padding: 1.1rem;
  }

  .lcd-card-grid,
  .lcd-product__gallery {
    grid-template-columns: 1fr;
  }

  .lcd-card__title {
    min-height: 0;
  }

  .lcd-product__hero {
    padding: .85rem;
  }

  .lcd-spec-table th:first-child {
    width: 7.5rem;
  }

  .formtable,
  .formtable tbody,
  .formtable tr,
  .formtable th,
  .formtable td {
    display: block;
    width: 100%;
  }
}