view mrjunejune/src/resume.css @ 252:7a7581f040e8

[ui] Add scoped notification component Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Tue, 04 Aug 2026 11:57:16 -0700
parents 38bd030ebea4
children
line wrap: on
line source

:root {
  --text: var(--black);
  --graytext: var(--gray);
  --lighttext: var(--lightgray);
}

.sub-header {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 5px;
}

.line {
  flex-grow: 1;
  border-bottom: 1px solid var(--darkgray);
}

.header-firstname-style {
    font-size: 2.5rem;
    font-family: "Roboto Light", sans-serif;
    color: var(--graytext);
}

.header-lastname-style {
    font-size: 2.5rem;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: var(--text);
}

.header-position-style {
    font-size: 0.875rem;
    font-family: "Source Sans Pro", sans-serif;
    font-variant: small-caps;
    color: var(--awesome);
    letter-spacing: 0.05em;
}

.header-address-style {
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
    font-style: italic;
    color: var(--lighttext);
}

.header-social-style {
    font-size: 1.1rem;
    font-family: "Roboto", sans-serif;
    color: var(--text);
    line-height: 1.6;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.header-quote-style {
    font-size: 1rem;
    font-family: "Source Sans Pro", sans-serif;
    font-style: italic;
    color: var(--darktext);
}

.footer-style {
    font-size: 0.875rem;
    font-family: "Source Sans Pro", sans-serif;
    font-variant: small-caps;
    color: var(--lighttext);
}

.section-style {
    font-size: 1.5rem;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: bold;
    color: var(--text);
}

.subsection-style {
    font-size: 1.25rem;
    font-family: "Source Sans Pro", sans-serif;
    font-variant: small-caps;
    color: var(--text);
}

.paragraph-style {
    font-size: 1rem;
    font-family: "Source Sans Pro Light", sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.entry-title-style {
    font-size: 1.1rem;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: bold;
    color: var(--darktext);
}

.entry-position-style {
    font-size: 0.95rem;
    font-family: "Source Sans Pro", sans-serif;
    font-variant: small-caps;
    color: var(--graytext);
    letter-spacing: 0.03em;
}

.entry-date-style {
    font-size: 0.95rem;
    font-family: "Source Sans Pro Light", sans-serif;
    font-style: italic;
    color: var(--graytext);
}

.entry-location-style {
    font-size: 1rem;
    font-family: "Source Sans Pro Light", sans-serif;
    font-style: italic;
    color: var(--awesome);
}

.description-style {
    font-size: 1rem;
    font-family: "Source Sans Pro Light", sans-serif;
    color: var(--text);
    line-height: 1.7;
}

.description-style li {
    margin-bottom: 0.75em;
}

.subentry-title-style {
    font-size: 0.95rem;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--graytext);
}

.subentry-position-style {
    font-size: 0.875rem;
    font-family: "Source Sans Pro", sans-serif;
    font-variant: small-caps;
    color: var(--graytext);
}

.honor-title-style,
.honor-position-style,
.honor-date-style,
.honor-location-style,
.skill-type-style,
.skill-set-style {
    font-size: 1rem;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--graytext);
    line-height: 1.6;
}

.letter-section-style,
.recipient-title-style,
.letter-title-style,
.letter-date-style,
.letter-text-style,
.letter-name-style,
.letter-enclosure-style {
    font-family: "Source Sans Pro", sans-serif;
}

.info {
  text-align: center;
}

.flex-box {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}

@media print {
  @page {
    size: A4;
    margin: 10mm 12mm;
  }

  html,
  body {
    background: #fff;
    color: #111;
    font-size: 9pt;
    line-height: 1.25;
  }

  header,
  footer,
  #themeToggle,
  .info > a,
  .info > hr {
    display: none !important;
  }

  main {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  a::before {
    display: none !important;
  }

  .header-firstname-style,
  .header-lastname-style {
    font-size: 20pt;
  }

  .header-social-style {
    font-size: 8.5pt;
    line-height: 1.3;
  }

  .sub-header {
    margin-top: 8px;
  }

  .section-style {
    font-size: 12pt;
  }

  .paragraph-style,
  .skill-type-style,
  .entry-title-style,
  .entry-location-style,
  .entry-position-style,
  .entry-date-style,
  .description-style {
    font-size: 8.25pt;
    line-height: 1.25;
  }

  .description-style {
    margin: 1px 0 4px;
    padding-left: 16px;
    text-align: left;
  }

  .description-style li {
    margin-bottom: 1px;
  }

  .flex-box {
    gap: 6px;
    break-after: avoid-page;
  }

  .description-style {
    break-inside: avoid-page;
  }
}

/* Mobile responsive styles */
@media (max-width: 720px) {
  .header-firstname-style,
  .header-lastname-style {
    font-size: 2rem;
  }

  .header-position-style {
    font-size: 0.875rem;
  }

  .header-address-style {
    font-size: 0.95rem;
  }

  .header-social-style {
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: break-word;
  }

  .header-social-style p {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }

  .header-social-style a {
    display: inline-block;
    padding: 0.5em 0;
  }

  .section-style {
    font-size: 1.35rem;
  }

  .subsection-style {
    font-size: 1.15rem;
  }

  .paragraph-style {
    font-size: 1rem;
    line-height: 1.7;
  }

  .entry-title-style {
    font-size: 1.1rem;
  }

  .entry-position-style,
  .entry-date-style {
    font-size: 0.95rem;
  }

  .entry-location-style {
    font-size: 0.95rem;
  }

  .description-style {
    font-size: 1rem;
    line-height: 1.8;
  }

  .description-style li {
    margin-bottom: 1em;
  }

  .flex-box {
    gap: 0.5em;
  }

  .sub-header {
    margin-top: 2em;
  }

  .info a {
    padding: 0.5em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}