/* emmett1.my look for Forgejo: forgejo-dark layout, recoloured + monospace */
@import url("./theme-forgejo-dark.css");

gitea-theme-meta-info {
  --theme-display-name: "emmett1.my";
}

:root {
  /* neutral grey scale replacing forgejo's blue-ish "steel" */
  --steel-900: #141414;
  --steel-850: #1a1a1a;
  --steel-800: #1e1e1e;
  --steel-750: #242424;
  --steel-700: #2a2a2a;
  --steel-650: #303030;
  --steel-600: #3a3a3a;
  --steel-550: #464646;
  --steel-500: #545454;
  --steel-450: #646464;
  --steel-400: #737373;
  --steel-350: #808080;
  --steel-300: #8c8c8c;
  --steel-250: #a0a0a0;
  --steel-200: #bbbbbb;
  --steel-150: #cccccc;
  --steel-100: #e0e0e0;

  /* link blue as primary */
  --color-primary: #4ea1ff;
  --color-primary-contrast: #000;
  --color-primary-dark-1: #6cb1ff;
  --color-primary-dark-2: #84beff;
  --color-primary-dark-3: #9ccbff;
  --color-primary-dark-4: #b4d8ff;
  --color-primary-dark-5: #cce5ff;
  --color-primary-dark-6: #e0efff;
  --color-primary-dark-7: #f0f7ff;
  --color-primary-light-1: #3a8fef;
  --color-primary-light-2: #2f7bd1;
  --color-primary-light-3: #2667b0;
  --color-primary-light-4: #1f538e;
  --color-primary-light-5: #193f6c;
  --color-primary-light-6: #132f50;
  --color-primary-light-7: #0e2238;
  --color-primary-alpha-10: #4ea1ff19;
  --color-primary-alpha-20: #4ea1ff33;
  --color-primary-alpha-30: #4ea1ff4b;
  --color-primary-alpha-40: #4ea1ff66;
  --color-primary-alpha-50: #4ea1ff80;
  --color-primary-alpha-60: #4ea1ff99;
  --color-primary-alpha-70: #4ea1ffb3;
  --color-primary-alpha-80: #4ea1ffcc;
  --color-primary-alpha-90: #4ea1ffe1;
  --color-accent: var(--color-primary);

  --color-secondary-alpha-10: #30303019;
  --color-secondary-alpha-20: #30303033;
  --color-secondary-alpha-30: #3030304b;
  --color-secondary-alpha-40: #30303066;
  --color-secondary-alpha-50: #30303080;
  --color-secondary-alpha-60: #30303099;
  --color-secondary-alpha-70: #303030b3;
  --color-secondary-alpha-80: #303030cc;
  --color-secondary-alpha-90: #303030e1;

  --color-body: #1e1e1e;
  --color-text: #e0e0e0;
  --color-text-light: #bbbbbb;
  --color-text-light-1: #bbbbbb;
  --color-text-light-2: #888888;
  --color-text-light-3: #787878;
  --color-box-header: #2a2a2a;
  --color-box-body: #1e1e1e;
  --color-box-body-highlight: #2a2a2a;
  --color-header-wrapper: #1e1e1e;
  --color-header-wrapper-transparent: #1e1e1e00;
  --color-nav-bg: #1e1e1e;
  --color-footer: #1e1e1e;
  --color-secondary-nav-bg: #1e1e1e;
  --color-markup-code-block: #2a2a2a;
  --color-markup-code-inline: #333333;
  --color-code-bg: #1e1e1e;

  /* monospace everywhere, like the site */
  --fonts-proportional: monospace;
  --fonts-monospace: monospace, var(--fonts-emoji);
  --fonts-regular: monospace, var(--fonts-emoji);
  --fonts-override: monospace;

  --border-radius: 3px;
  --border-radius-medium: 4px;
}

:root :lang(ja), :root :lang(zh-CN), :root :lang(zh-TW), :root :lang(zh-HK), :root :lang(ko) {
  --fonts-override: monospace;
}

/* thin grey rules like div.list on emmett1.my */
#navbar { border-bottom: 1px solid #646464; }
.page-footer { border-top: 1px solid #646464; color: #787878; }

a, .markup a { color: #4ea1ff; }
a:hover { text-decoration: underline; }

/* inline code: #333 bg, #ffcc66 text */
.markup code, .markup tt {
  background: #333;
  color: #ffcc66;
  border-radius: 3px;
}
.markup pre code, .markup pre tt { background: none; color: inherit; }
.markup pre { background: #2a2a2a; border-radius: 4px; }
