Template:Moates/styles.css
Jump to navigation
Jump to search
/* Michael Moates user pages: navy and teal layout. Loaded by Template:Moates header. */
.mo-hero { background: linear-gradient(135deg, #12283d 0%, #1d4560 62%, #1a6f6a 100%); color: #fff; border-radius: 10px; padding: 24px 28px 18px; margin: 0 0 20px; box-shadow: 0 2px 8px rgba(18,40,61,0.18); }
.mo-hero-kicker { color: #8fe0d0; font-size: 0.8em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mo-hero-title { font-family: Georgia, Times, serif; font-size: 2.3em; line-height: 1.2; margin: 2px 0 4px; }
.mo-hero-sub { font-size: 1.05em; color: #d7e3ee; max-width: 760px; }
.mo-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.22); }
.mo-nav a, .mo-nav a:visited, .mo-nav .mw-selflink { display: inline-block; padding: 3px 14px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; color: #fff; font-size: 0.9em; font-weight: 600; text-decoration: none; }
.mo-nav a:hover { background: rgba(255,255,255,0.16); text-decoration: none; }
.mo-nav .mw-selflink { background: #fff; border-color: #fff; color: #12283d; }
/* Headings */
.moates-page .mw-heading2 { border-bottom: 2px solid #1a8a7a; margin-top: 1.5em; }
.moates-page h2 { color: #12283d; font-weight: 700; border-bottom: 0; }
.moates-page h3 { color: #1d4560; font-weight: 700; }
/* Infoboxes (Wikipedia infobox templates, restyled on these pages only) */
.moates-page .infobox { width: 310px; border: 1px solid #cfd8e3; border-radius: 10px; border-spacing: 0; border-collapse: separate; overflow: hidden; background: #fff; padding: 0; margin: 0 0 18px 26px; box-shadow: 0 2px 8px rgba(18,40,61,0.12); font-size: 90%; line-height: 1.45; }
.moates-page .infobox .infobox-above { background: linear-gradient(135deg, #12283d 0%, #1d4560 100%); color: #fff; border-bottom: 4px solid #1a8a7a; border-radius: 9px 9px 0 0; padding: 14px 12px 12px; line-height: 1.3; }
.moates-page .infobox .infobox-subheader { background: #f4f7fa; color: #3a4a5c; padding: 7px 12px; font-size: 0.95em; }
.moates-page .infobox .infobox-image { padding: 12px 12px 6px; }
.moates-page .infobox .infobox-header { background: #e8f3f1; color: #12283d; border-top: 1px solid #d3e6e2; padding: 6px 12px; font-size: 0.85em; letter-spacing: 0.07em; text-transform: uppercase; text-align: left; }
.moates-page .infobox .infobox-label { width: 36%; color: #12283d; border-top: 1px solid #edf1f5; padding: 7px 8px 7px 12px; vertical-align: top; text-align: left; }
.moates-page .infobox .infobox-data { border-top: 1px solid #edf1f5; padding: 7px 12px 7px 4px; vertical-align: top; }
.moates-page .infobox .infobox-full-data { border-top: 1px solid #edf1f5; padding: 7px 12px; }
.moates-page .infobox .infobox-below { background: #f4f7fa; border-top: 1px solid #e1e8ef; color: #54595d; padding: 8px 12px; font-size: 0.92em; }
.moates-page .infobox ul { margin: 0; padding: 0; list-style: none; }
.moates-page .infobox li { margin: 0 0 3px; }
/* Figure tiles */
.mo-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 20px; }
.mo-stat { flex: 1 1 120px; background: #fff; border: 1px solid #cfd8e3; border-left: 5px solid #1a8a7a; border-radius: 8px; padding: 10px 14px; box-shadow: 0 1px 3px rgba(18,40,61,0.08); }
.mo-stat-num { color: #12283d; font-size: 1.7em; font-weight: 700; line-height: 1.15; }
.mo-stat-label { color: #54595d; font-size: 0.78em; letter-spacing: 0.07em; text-transform: uppercase; }
/* "Full page" link under a summary heading */
.mo-more { display: inline-block; background: #e8f3f1; border-radius: 999px; padding: 2px 14px; margin: 0 0 8px; font-size: 0.88em; font-weight: 600; }
/* Timeline */
.mo-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #54595d; font-size: 0.9em; margin: 4px 0 16px; }
.mo-key { display: inline-flex; align-items: center; gap: 6px; }
.mo-key-dot, .mo-tl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #6b4ba1; flex: 0 0 auto; }
.mo-timeline { max-width: 760px; margin: 0 0 24px; }
.mo-tl-item { display: flex; align-items: stretch; gap: 14px; }
.mo-tl-date { flex: 0 0 165px; text-align: right; color: #54595d; font-size: 0.92em; padding-top: 12px; }
.mo-tl-rail { flex: 0 0 14px; display: flex; flex-direction: column; align-items: center; padding-top: 16px; }
.mo-tl-line { flex: 1 1 auto; width: 2px; background: #c8ccd1; margin-top: 4px; }
.mo-tl-item:last-child .mo-tl-line { display: none; }
.mo-tl-body { flex: 1 1 auto; background: #fff; border: 1px solid #dde4ec; border-left: 4px solid #6b4ba1; border-radius: 8px; padding: 8px 14px; margin-bottom: 10px; }
.mo-tl-title { color: #12283d; font-size: 1.05em; font-weight: 600; }
.mo-tl-sub { color: #54595d; font-size: 0.92em; }
.mo-clinical .mo-tl-dot, .mo-key-dot.mo-clinical { background: #14866d; }
.mo-clinical .mo-tl-body { border-left-color: #14866d; }
.mo-journalism .mo-tl-dot, .mo-key-dot.mo-journalism { background: #ac6600; }
.mo-journalism .mo-tl-body { border-left-color: #ac6600; }
.mo-leadership .mo-tl-dot, .mo-key-dot.mo-leadership { background: #6b4ba1; }
.mo-leadership .mo-tl-body { border-left-color: #6b4ba1; }
.mo-teaching .mo-tl-dot, .mo-key-dot.mo-teaching { background: #3366cc; }
.mo-teaching .mo-tl-body { border-left-color: #3366cc; }
/* Tables */
.moates-page table.wikitable { border: 1px solid #cfd8e3; border-collapse: collapse; background: #fff; margin: 0.8em 0; }
.moates-page table.wikitable > caption { color: #12283d; font-weight: 700; text-align: left; padding: 6px 0; }
.moates-page table.wikitable > * > tr > th { background: #12283d; color: #fff; border: 1px solid #12283d; padding: 7px 12px; text-align: left; }
.moates-page table.wikitable > * > tr > td { border: 1px solid #dde4ec; padding: 6px 12px; vertical-align: middle; }
.moates-page table.wikitable > tbody > tr:nth-child(even) > td { background: #f6f9fb; }
.moates-page table.wikitable.mo-plain > tbody > tr > td { background: #fff; }
.moates-page table.wikitable > tbody > tr > th.mo-inst { background: #1d4560; border-top: 4px solid #1a8a7a; font-size: 1.05em; }
.moates-page table.wikitable > tbody > tr > td.mo-note { background: #f4f7fa; color: #3a4a5c; font-size: 0.93em; }
.moates-page table.wikitable > tbody > tr > th.mo-term { background: #e8f3f1; color: #12283d; border-color: #d3e6e2; font-weight: 600; }
.moates-page table.wikitable > tbody > tr > td.mo-sum { color: #54595d; font-style: italic; text-align: right; }
/* Ribbon rack and badges */
.mo-rack { background: #12283d; border-radius: 10px; padding: 20px 16px 6px; margin: 0 auto 1em; max-width: 420px; box-shadow: 0 2px 8px rgba(18,40,61,0.18); }
.mo-badges { background: #f4f7fa; border: 1px solid #dde4ec; border-radius: 10px; padding: 16px 8px 4px; margin: 0 0 1em; }
/* Reference list (Template:Moates publication) and quick facts */
.mo-refs { margin: 0 0 1em; }
.mo-ref { padding: 6px 0 6px 12px; border-left: 3px solid #dde4ec; margin: 0 0 6px; }
.mo-ref:target { border-left-color: #1a8a7a; background: #eef7f5; }
.mo-ref-key { font-weight: 700; color: #12283d; margin-right: 4px; }
.mo-facts { background: #f4f7fa; border: 1px solid #dde4ec; border-radius: 10px; padding: 12px 18px; margin: 0 0 1em; }
/* Gallery albums, Facebook-style (Template:Moates album card, album nav, photo) */
.mo-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 16px; margin: 4px 0 1.4em; }
.mo-album { min-width: 0; }
.mo-album-cover { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #e4e8ee; line-height: 0; }
.mo-album-cover a { display: block; width: 100%; height: 100%; }
.mo-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease, filter 0.25s ease; }
.mo-album:hover .mo-album-cover img { transform: scale(1.04); filter: brightness(0.88); }
.mo-album-title { margin: 8px 2px 0; font-size: 0.98em; font-weight: 600; line-height: 1.3; }
.mo-album-title a, .mo-album-title a:visited { color: #1c1e21; }
.mo-album-title a:hover { color: #1a8a7a; text-decoration: none; }
.mo-album-count { margin: 2px 2px 0; color: #65676b; font-size: 0.82em; }
.mo-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; margin: 0 0 1.2em; }
.mo-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #e4e8ee; line-height: 0; }
.mo-photo a { display: block; width: 100%; height: 100%; }
.mo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.mo-photo:hover img { transform: scale(1.05); }
.mo-photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0,0,0,0.72)); color: #fff; font-size: 0.8em; line-height: 1.3; opacity: 0; transition: opacity 0.2s ease; }
.mo-photo:hover .mo-photo-cap { opacity: 1; }
.mo-album-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 0.9em; font-weight: 600; }
.mo-album-nav a, .mo-album-nav a:visited { color: #1c1e21; background: #e4e6eb; border-radius: 6px; padding: 5px 12px; display: inline-block; }
.mo-album-nav a:hover { background: #d8dadf; text-decoration: none; }
.mo-album-nav > span { flex: 1; }
.mo-album-nav-index { text-align: left; }
.mo-album-nav-prev { text-align: left; }
.mo-album-nav-next { text-align: right; }
/* Contents page: one styled nested list (User:Michael Moates/Contents) */
.mo-contents > ul { list-style: none; margin: 4px 0 0; padding: 0; }
.mo-contents > ul > li { margin: 0; padding: 16px 0 16px 18px; border-left: 3px solid #1a8a7a; border-bottom: 1px solid #e6ecf2; }
.mo-contents > ul > li:nth-child(even) { border-left-color: #1d4560; }
.mo-contents > ul > li > a, .mo-contents > ul > li > a:visited { font-family: Georgia, Times, serif; font-size: 1.3em; font-weight: 700; color: #12283d; }
.mo-contents > ul > li > a:hover { color: #1a8a7a; text-decoration: none; }
.mo-contents li li { list-style: none; position: relative; margin: 0 0 5px; padding-left: 16px; break-inside: avoid; }
.mo-contents li li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: #1a8a7a; }
.mo-contents > ul > li > ul { margin: 8px 0 0; padding: 0; columns: 3 200px; column-gap: 32px; }
.mo-contents li li a, .mo-contents li li a:visited { color: #2b4a66; }
.mo-contents li li a:hover { color: #1a8a7a; }
.mo-contents li li li { font-size: 0.9em; margin-bottom: 4px; }
.mo-contents li li li::before { width: 4px; height: 4px; background: #9fb3c6; top: 0.65em; }
.mo-contents li li ul { margin: 6px 0 4px; padding: 0; }
/* Contact page form (built by MediaWiki:Gadget-moates-contact.js inside .mo-contact-form) */
.mo-contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 24px; align-items: start; margin: 0 0 1em; }
.mo-contact-form { background: #fff; border: 1px solid #cfd8e3; border-top: 4px solid #1a8a7a; border-radius: 10px; padding: 18px 22px; box-shadow: 0 1px 4px rgba(18,40,61,0.10); }
.mo-cf { display: grid; gap: 18px; }
.mo-cf-group { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.mo-cf-group legend { font-family: Georgia, Times, serif; font-size: 1.2em; font-weight: 700; color: #12283d; padding: 0; margin-bottom: 8px; }
.mo-cf-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mo-cf-field { display: grid; gap: 4px; }
.mo-cf-field label, .mo-cf-label { font-size: 0.9em; font-weight: 700; color: #12283d; }
.mo-cf-field input, .mo-cf-field select, .mo-cf-field textarea { font: inherit; font-size: 0.95em; padding: 8px 10px; border: 1px solid #a2b1c2; border-radius: 6px; background: #fff; color: #202122; width: 100%; box-sizing: border-box; }
.mo-cf-field input:focus, .mo-cf-field select:focus, .mo-cf-field textarea:focus { outline: 2px solid #1a8a7a; outline-offset: 1px; border-color: #1a8a7a; }
.mo-cf-req { color: #b32424; }
.mo-cf-opt { font-weight: 400; color: #54595d; font-size: 0.9em; }
.mo-cf-help, .mo-cf-note { color: #54595d; font-size: 0.85em; }
.mo-cf-note { margin: 0; }
.mo-cf-choices { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mo-cf-choices label, .mo-cf-consent { font-weight: 400; color: #202122; font-size: 0.95em; display: inline-flex; gap: 6px; align-items: center; }
.mo-cf-choices input, .mo-cf-consent input { accent-color: #1a8a7a; width: auto; }
.mo-cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mo-cf-send { font: inherit; font-weight: 700; color: #fff; background: #1d4560; border: 0; border-radius: 999px; padding: 10px 26px; cursor: pointer; }
.mo-cf-send:hover { background: #12283d; }
.mo-cf-send:disabled { opacity: 0.6; cursor: wait; }
.mo-cf-notice { padding: 10px 14px; border-radius: 6px; font-size: 0.95em; }
.mo-cf-notice[hidden] { display: none; }
.mo-cf-ok { background: #e8f3f1; border: 1px solid #1a8a7a; color: #10433c; }
.mo-cf-err { background: #fee7e6; border: 1px solid #b32424; color: #6b1515; }
/* Publications lists (Template:Moates pub card) */
.mo-pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 4px 0 1.4em; }
.mo-pub { background: #fff; border: 1px solid #dde4ec; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(18,40,61,0.06); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.mo-pub:hover { box-shadow: 0 6px 16px rgba(18,40,61,0.14); transform: translateY(-2px); }
.mo-pub-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 0.78em; color: #65676b; }
.mo-pub-chip { background: #e8f3f1; color: #10433c; border-radius: 999px; padding: 1px 9px; font-weight: 600; }
.mo-pub-title { font-weight: 600; font-size: 1em; line-height: 1.35; }
.mo-pub-title a, .mo-pub-title a:visited { color: #1c1e21; }
.mo-pub-title a:hover { color: #1a8a7a; }
.mo-pub-outlet { margin: 4px 0 0; color: #1a8a7a; font-size: 0.85em; font-style: italic; }
.mo-pub-summary { margin: 6px 0 0; color: #3a4550; font-size: 0.88em; line-height: 1.45; }
.mo-post-hero { border-radius: 12px; overflow: hidden; line-height: 0; margin: 0 0 16px; max-height: 380px; }
.mo-post-hero img { width: 100%; height: 380px; object-fit: cover; }
.mo-post-meta { color: #65676b; font-size: 0.85em; border-top: 1px solid #dde4ec; padding: 10px 0 0; margin: 18px 0 12px; }
.mo-empty { background: #f4f7fa; border: 1px dashed #a2b1c2; border-radius: 10px; padding: 28px; text-align: center; color: #54595d; margin: 0 0 1.4em; }
/* Footer */
.mo-foot { clear: both; border-top: 2px solid #1a8a7a; color: #54595d; font-size: 0.85em; margin-top: 28px; padding: 10px 2px; }
@media (max-width: 720px) {
.mo-contact { grid-template-columns: 1fr; }
.moates-page .infobox { float: none; width: auto; margin: 0 0 16px; }
.mo-hero-title { font-size: 1.6em; }
.mo-photos { grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mo-albums { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
.mo-photo-cap { opacity: 1; font-size: 0.7em; padding: 18px 6px 5px; }
.mo-nav a, .mo-nav .mw-selflink { font-size: 0.8em; padding: 2px 10px; }
.mo-tl-date { flex-basis: 96px; }
.mo-contents > ul > li > ul { columns: 1; }
}