/* Upgrade-safe visual bridge between Forgejo and yshubham.com. */
:root {
  --yshubham-serif: Georgia, "Times New Roman", Times, serif;
  --yshubham-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body,
.ui {
  font-family: var(--yshubham-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.markup,
.markdown,
.file-view.markup {
  font-family: var(--yshubham-serif);
  font-size: 15px;
  line-height: 1.58;
}

.markup h1,
.markup h2,
.markup h3,
.markup h4,
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4 {
  font-family: var(--yshubham-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ui.segment,
.ui.menu,
.ui.card,
.ui.cards > .card,
.ui.attached.segment,
.ui.attached.header,
.ui.table,
.ui.message {
  border-color: var(--color-border);
  border-radius: 4px;
  box-shadow: none;
}

.ui.button,
.ui.label,
.ui.input > input,
input,
textarea,
select {
  border-radius: 4px;
  box-shadow: none;
}

.ui.primary.button,
.ui.primary.buttons .button {
  background: var(--color-primary);
}

.repository.file.list #repo-files-table,
.repository.file.list .repo-file-header,
.repository .repository-summary {
  box-shadow: none;
}

.repository .repo-header-name .repo-icon,
.repository .repo-title {
  color: var(--color-text-dark);
}

.markup a,
.markdown a {
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.12em;
}

.page-content.repository .ui.container,
.page-content.explore .ui.container {
  max-width: 1180px;
}

.footer {
  border-top: 1px solid var(--color-border);
}
