1041 lines
No EOL
28 KiB
CSS
1041 lines
No EOL
28 KiB
CSS
/* ==========================================================================
|
|
OFFICIAL JETBRAINS MONO NERD FONT (v3.5.0 Patched WebFont Declarations)
|
|
========================================================================== */
|
|
@font-face {
|
|
font-family: 'JetBrainsMono Nerd Font';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('/assets/fonts/jetbrains-mono-nerd/JetBrainsMonoNerdFont-Regular.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrainsMono Nerd Font';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('/assets/fonts/jetbrains-mono-nerd/JetBrainsMonoNerdFont-Italic.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrainsMono Nerd Font';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url('/assets/fonts/jetbrains-mono-nerd/JetBrainsMonoNerdFont-Medium.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrainsMono Nerd Font';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url('/assets/fonts/jetbrains-mono-nerd/JetBrainsMonoNerdFont-Bold.ttf') format('truetype');
|
|
}
|
|
|
|
/* ==========================================================================
|
|
JetBrainsMono Nerd Font Code Editor & Monospace Typography
|
|
========================================================================== */
|
|
.CodeMirror,
|
|
.CodeMirror-lines,
|
|
.CodeMirror pre.CodeMirror-line,
|
|
.CodeMirror pre.CodeMirror-line-like,
|
|
.cm-editor,
|
|
.cm-content,
|
|
.cm-line,
|
|
textarea.editor,
|
|
#edit-area,
|
|
.editor-loading-placeholder,
|
|
.file-view table.code-view,
|
|
.code-view,
|
|
.lines-code,
|
|
.lines-num,
|
|
.diff-file-box .code-view,
|
|
.tag-code-view,
|
|
.monospaced,
|
|
pre,
|
|
code,
|
|
.markup pre,
|
|
.markup code,
|
|
.chroma {
|
|
font-family: 'JetBrainsMono Nerd Font', 'JetBrains Mono Nerd Font', 'JetBrainsMono NF', 'JetBrains Mono', 'Fira Code', 'Roboto Mono', ui-monospace, monospace !important;
|
|
font-size: 14.5px !important;
|
|
line-height: 1.6 !important;
|
|
}
|
|
|
|
.CodeMirror,
|
|
.cm-editor {
|
|
font-size: 14.5px !important;
|
|
}
|
|
|
|
.lines-num,
|
|
.CodeMirror-linenumber,
|
|
.cm-gutterElement {
|
|
font-family: 'JetBrainsMono Nerd Font', 'JetBrains Mono Nerd Font', monospace !important;
|
|
font-size: 13px !important;
|
|
line-height: 1.6 !important;
|
|
}
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400..700;1,400..700&display=swap');
|
|
/* ==========================================================================
|
|
openlat.dev — Official Brand Theme: Light
|
|
Repository: https://openlat.dev/Openlatdevs/git-branding
|
|
License: MIT (2026 openlat.dev Community)
|
|
|
|
Structure Index:
|
|
1. Syntax Highlighting & Code Formatting (Chroma / CodeMirror)
|
|
2. Design Tokens & Color System Custom Variables (:root)
|
|
3. Base Layout & Element Resets
|
|
4. Component Styles (Buttons, Hero Mascot, Badges)
|
|
5. Navigation Bar & Sidebar Styling
|
|
6. Responsive & Mobile Viewport Rules (@media)
|
|
========================================================================== */
|
|
|
|
|
|
/* Openlatdevs MD3 Material Light Theme */
|
|
.chroma .bp {
|
|
color: #999;
|
|
}
|
|
|
|
.chroma .c,
|
|
.chroma .c1,
|
|
.chroma .ch {
|
|
color: #6a737d;
|
|
}
|
|
|
|
.chroma .cm {
|
|
color: #998;
|
|
}
|
|
|
|
.chroma .cp {
|
|
color: #109295;
|
|
}
|
|
|
|
.chroma .cpf {
|
|
color: #4c4dbc;
|
|
}
|
|
|
|
.chroma .cs {
|
|
color: #999;
|
|
}
|
|
|
|
.chroma .dl {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .gd {
|
|
color: #000;
|
|
background-color: #fdd;
|
|
}
|
|
|
|
.chroma .ge {
|
|
color: #000;
|
|
}
|
|
|
|
.chroma .gh {
|
|
color: #999;
|
|
}
|
|
|
|
.chroma .gi {
|
|
color: #000;
|
|
background-color: #dfd;
|
|
}
|
|
|
|
.chroma .go {
|
|
color: #888;
|
|
}
|
|
|
|
.chroma .gp {
|
|
color: #555;
|
|
}
|
|
|
|
.chroma .gr,
|
|
.chroma .gt {
|
|
color: #a00;
|
|
}
|
|
|
|
.chroma .gu {
|
|
color: #aaa;
|
|
}
|
|
|
|
.chroma .il {
|
|
color: #099;
|
|
}
|
|
|
|
.chroma .k,
|
|
.chroma .kc,
|
|
.chroma .kd,
|
|
.chroma .kn,
|
|
.chroma .kp,
|
|
.chroma .kr {
|
|
color: #d73a49;
|
|
}
|
|
|
|
.chroma .kt {
|
|
color: #458;
|
|
}
|
|
|
|
.chroma .m,
|
|
.chroma .mb,
|
|
.chroma .mf,
|
|
.chroma .mh,
|
|
.chroma .mi,
|
|
.chroma .mo {
|
|
color: #099;
|
|
}
|
|
|
|
.chroma .na {
|
|
color: #d73a49;
|
|
}
|
|
|
|
.chroma .nb {
|
|
color: #005cc5;
|
|
}
|
|
|
|
.chroma .nc {
|
|
color: #458;
|
|
}
|
|
|
|
.chroma .nd {
|
|
color: #3c5d5d;
|
|
}
|
|
|
|
.chroma .ne {
|
|
color: #900;
|
|
}
|
|
|
|
.chroma .nf {
|
|
color: #005cc5;
|
|
}
|
|
|
|
.chroma .ni {
|
|
color: #6f42c1;
|
|
}
|
|
|
|
.chroma .nl {
|
|
color: #900;
|
|
}
|
|
|
|
.chroma .nn {
|
|
color: #555;
|
|
}
|
|
|
|
.chroma .no {
|
|
color: teal;
|
|
}
|
|
|
|
.chroma .nt {
|
|
color: #22863a;
|
|
}
|
|
|
|
.chroma .nv {
|
|
color: teal;
|
|
}
|
|
|
|
.chroma .nx {
|
|
color: #24292e;
|
|
}
|
|
|
|
.chroma .o,
|
|
.chroma .ow {
|
|
color: #d73a49;
|
|
}
|
|
|
|
.chroma .s,
|
|
.chroma .s1,
|
|
.chroma .s2 {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .sa {
|
|
color: #cc7a00;
|
|
}
|
|
|
|
.chroma .sb {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .sc {
|
|
color: #cc7a00;
|
|
}
|
|
|
|
.chroma .sd {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .se {
|
|
color: #940;
|
|
}
|
|
|
|
.chroma .sh {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .si {
|
|
color: #cc7a00;
|
|
}
|
|
|
|
.chroma .sr {
|
|
color: #4c4dbc;
|
|
}
|
|
|
|
.chroma .ss {
|
|
color: #940;
|
|
}
|
|
|
|
.chroma .sx {
|
|
color: #106303;
|
|
}
|
|
|
|
.chroma .vc,
|
|
.chroma .vg,
|
|
.chroma .vi {
|
|
color: teal;
|
|
}
|
|
|
|
.chroma .w {
|
|
color: #bbb;
|
|
}
|
|
|
|
.markup [src$="#gh-dark-mode-only"],
|
|
.markup [src$="#dark-mode-only"],
|
|
.markup [href$="#gh-dark-mode-only"],
|
|
.markup [href$="#dark-mode-only"] {
|
|
display: none;
|
|
}
|
|
|
|
:root {
|
|
--steel-900: #10161d;
|
|
--steel-850: #131a21;
|
|
--steel-800: #171e26;
|
|
--steel-750: #1d262f;
|
|
--steel-700: #242d38;
|
|
--steel-650: #2b3642;
|
|
--steel-600: #374351;
|
|
--steel-550: #445161;
|
|
--steel-500: #515f70;
|
|
--steel-450: #5f6e80;
|
|
--steel-400: #6d7d8f;
|
|
--steel-350: #7c8c9f;
|
|
--steel-300: #8c9caf;
|
|
--steel-250: #9dadc0;
|
|
--steel-200: #aebed0;
|
|
--steel-150: #c0cfe0;
|
|
--steel-100: #d2e0f0;
|
|
--zinc-50: #fafafa;
|
|
--zinc-100: #f4f4f5;
|
|
--zinc-150: #ececee;
|
|
--zinc-200: #e4e4e7;
|
|
--zinc-250: #dcdce0;
|
|
--zinc-300: #d4d4d8;
|
|
--zinc-350: #babac1;
|
|
--zinc-400: #a1a1aa;
|
|
--zinc-450: #898992;
|
|
--zinc-500: #71717a;
|
|
--zinc-550: #61616a;
|
|
--zinc-600: #52525b;
|
|
--zinc-650: #484850;
|
|
--zinc-700: #3f3f46;
|
|
--zinc-750: #333338;
|
|
--zinc-800: #27272a;
|
|
--zinc-850: #1f1f23;
|
|
--zinc-900: #18181b;
|
|
--color-primary: #4a69ae;
|
|
--color-primary-contrast: #ffffff;
|
|
--color-primary-dark-1: #3b548c;
|
|
--color-primary-dark-2: #2d406a;
|
|
--color-primary-dark-3: #9a3412;
|
|
--color-primary-dark-4: #7c2d12;
|
|
--color-primary-dark-5: #7c2d12;
|
|
--color-primary-dark-6: #7c2d12;
|
|
--color-primary-dark-7: #7c2d12;
|
|
--color-primary-light-1: #6b87c8;
|
|
--color-primary-light-2: #8ca3d6;
|
|
--color-primary-light-3: #fb923c;
|
|
--color-primary-light-4: #fdba74;
|
|
--color-primary-light-5: #fed7aa;
|
|
--color-primary-light-6: #ffedd5;
|
|
--color-primary-light-7: #fff7ed;
|
|
--color-primary-alpha-10: #c2410c19;
|
|
--color-primary-alpha-20: #c2410c33;
|
|
--color-primary-alpha-30: #c2410c4b;
|
|
--color-primary-alpha-40: #c2410c66;
|
|
--color-primary-alpha-50: #c2410c80;
|
|
--color-primary-alpha-60: #c2410c99;
|
|
--color-primary-alpha-70: #c2410cb3;
|
|
--color-primary-alpha-80: #c2410ccc;
|
|
--color-primary-alpha-90: #c2410ce1;
|
|
--color-primary-hover: #3b548c;
|
|
--color-primary-active: #2d406a;
|
|
--color-secondary: #e2e8f0;
|
|
--color-secondary-dark-1: var(--zinc-200);
|
|
--color-secondary-dark-2: var(--zinc-300);
|
|
--color-secondary-dark-3: var(--zinc-300);
|
|
--color-secondary-dark-4: var(--zinc-400);
|
|
--color-secondary-dark-5: var(--zinc-400);
|
|
--color-secondary-dark-6: var(--zinc-500);
|
|
--color-secondary-dark-7: var(--zinc-500);
|
|
--color-secondary-dark-8: var(--zinc-600);
|
|
--color-secondary-dark-9: var(--zinc-600);
|
|
--color-secondary-dark-10: var(--zinc-700);
|
|
--color-secondary-dark-11: var(--zinc-700);
|
|
--color-secondary-dark-12: var(--zinc-800);
|
|
--color-secondary-dark-13: var(--zinc-800);
|
|
--color-secondary-light-1: var(--zinc-200);
|
|
--color-secondary-light-2: var(--zinc-100);
|
|
--color-secondary-light-3: var(--zinc-100);
|
|
--color-secondary-light-4: var(--zinc-50);
|
|
--color-secondary-alpha-10: #d4d4d819;
|
|
--color-secondary-alpha-20: #d4d4d833;
|
|
--color-secondary-alpha-30: #d4d4d84b;
|
|
--color-secondary-alpha-40: #d4d4d866;
|
|
--color-secondary-alpha-50: #d4d4d880;
|
|
--color-secondary-alpha-60: #d4d4d899;
|
|
--color-secondary-alpha-70: #d4d4d8b3;
|
|
--color-secondary-alpha-80: #d4d4d8cc;
|
|
--color-secondary-alpha-90: #d4d4d8e1;
|
|
--color-secondary-hover: var(--color-secondary-dark-2);
|
|
--color-secondary-active: var(--color-secondary-dark-4);
|
|
--color-console-fg: #eeeff2;
|
|
--color-console-fg-subtle: #959cab;
|
|
--color-console-bg: #1f212b;
|
|
--color-console-border: #383c47;
|
|
--color-console-hover-bg: #ffffff16;
|
|
--color-console-active-bg: #454a57;
|
|
--color-console-menu-bg: #383c47;
|
|
--color-console-menu-border: #5c6374;
|
|
--color-red: #dc2626;
|
|
--color-orange: #ea580c;
|
|
--color-yellow: #ca8a04;
|
|
--color-olive: #91a313;
|
|
--color-green: #15803d;
|
|
--color-teal: #0d9488;
|
|
--color-blue: #2563eb;
|
|
--color-violet: #7c3aed;
|
|
--color-purple: #9333ea;
|
|
--color-pink: #db2777;
|
|
--color-brown: #a47252;
|
|
--color-grey: #4b5563;
|
|
--color-black: #000000;
|
|
--color-red-light: #ef4444;
|
|
--color-orange-light: #f97316;
|
|
--color-yellow-light: #eab308;
|
|
--color-olive-light: #839311;
|
|
--color-green-light: #16a34a;
|
|
--color-teal-light: #14b8a6;
|
|
--color-blue-light: #3b82f6;
|
|
--color-violet-light: #8b5cf6;
|
|
--color-purple-light: #a855f7;
|
|
--color-pink-light: #ec4899;
|
|
--color-brown-light: #94674a;
|
|
--color-grey-light: #6b7280;
|
|
--color-black-light: #181818;
|
|
--color-red-dark-1: #c82020;
|
|
--color-orange-dark-1: #d34f0b;
|
|
--color-yellow-dark-1: #b67c04;
|
|
--color-olive-dark-1: #839311;
|
|
--color-green-dark-1: #137337;
|
|
--color-teal-dark-1: #0c857a;
|
|
--color-blue-dark-1: #1554e0;
|
|
--color-violet-dark-1: #6a1feb;
|
|
--color-purple-dark-1: #8519e7;
|
|
--color-pink-dark-1: #c7216b;
|
|
--color-brown-dark-1: #94674a;
|
|
--color-black-dark-1: #000000;
|
|
--color-red-dark-2: #b21d1d;
|
|
--color-orange-dark-2: #bb460a;
|
|
--color-yellow-dark-2: #a26e03;
|
|
--color-olive-dark-2: #74820f;
|
|
--color-green-dark-2: #116631;
|
|
--color-teal-dark-2: #0a766d;
|
|
--color-blue-dark-2: #124bc7;
|
|
--color-violet-dark-2: #5c14d8;
|
|
--color-purple-dark-2: #7715cf;
|
|
--color-pink-dark-2: #b11d5f;
|
|
--color-brown-dark-2: #835b42;
|
|
--color-black-dark-2: #000000;
|
|
--color-ansi-black: #1f2326;
|
|
--color-ansi-red: #cc4848;
|
|
--color-ansi-green: #87ab63;
|
|
--color-ansi-yellow: #cc9903;
|
|
--color-ansi-blue: #3a8ac6;
|
|
--color-ansi-magenta: #d22e8b;
|
|
--color-ansi-cyan: #00918a;
|
|
--color-ansi-white: var(--color-console-fg-subtle);
|
|
--color-ansi-bright-black: #46494d;
|
|
--color-ansi-bright-red: #d15a5a;
|
|
--color-ansi-bright-green: #93b373;
|
|
--color-ansi-bright-yellow: #eaaf03;
|
|
--color-ansi-bright-blue: #4e96cc;
|
|
--color-ansi-bright-magenta: #d74397;
|
|
--color-ansi-bright-cyan: #00b6ad;
|
|
--color-ansi-bright-white: var(--color-console-fg);
|
|
--color-gold: #b1983b;
|
|
--color-white: #ffffff;
|
|
--color-diff-removed-word-bg: #fca5a5;
|
|
--color-diff-added-word-bg: #86efac;
|
|
--color-diff-removed-row-bg: #fee2e2;
|
|
--color-diff-moved-row-bg: #fef9c3;
|
|
--color-diff-added-row-bg: #dcfce7;
|
|
--color-diff-removed-row-border: #fca5a5;
|
|
--color-diff-moved-row-border: #fde047;
|
|
--color-diff-added-row-border: #86efac;
|
|
--color-diff-inactive: var(--zinc-100);
|
|
--color-error-border: #fecaca;
|
|
--color-error-bg: #fee2e2;
|
|
--color-error-bg-active: #fca5a5;
|
|
--color-error-bg-hover: #fecaca;
|
|
--color-error-text: #7f1d1d;
|
|
--color-success-border: #bbf7d0;
|
|
--color-success-bg: #dcfce7;
|
|
--color-success-text: #14532d;
|
|
--color-warning-border: #fde047;
|
|
--color-warning-bg: #fef3c7;
|
|
--color-warning-text: #78350f;
|
|
--color-info-border: #bae6fd;
|
|
--color-info-bg: #e0f2fe;
|
|
--color-info-text: #0c4a6e;
|
|
--color-red-badge: #b91c1c;
|
|
--color-red-badge-bg: #b91c1c22;
|
|
--color-red-badge-hover-bg: #b91c1c44;
|
|
--color-green-badge: #16a34a;
|
|
--color-green-badge-bg: #16a34a22;
|
|
--color-green-badge-hover-bg: #16a34a44;
|
|
--color-yellow-badge: #ca8a04;
|
|
--color-yellow-badge-bg: #ca8a0422;
|
|
--color-yellow-badge-hover-bg: #ca8a0444;
|
|
--color-orange-badge: #ea580c;
|
|
--color-orange-badge-bg: #ea580c22;
|
|
--color-orange-badge-hover-bg: #ea580c44;
|
|
--color-git: #f05133;
|
|
--color-icon-green: var(--color-green-light);
|
|
--color-icon-red: var(--color-red-light);
|
|
--color-icon-purple: var(--color-purple-light);
|
|
--color-body: #f8fafc;
|
|
--color-box-header: #f1f5f9;
|
|
--color-box-body: #ffffff;
|
|
--color-box-body-highlight: #f8fafc;
|
|
--color-text-dark: #0f172a;
|
|
--color-text: #0f172a;
|
|
--color-text-light: #334155;
|
|
--color-text-light-1: #334155;
|
|
--color-text-light-2: #475569;
|
|
--color-text-light-3: #64748b;
|
|
--color-footer: #f1f5f9;
|
|
--color-timeline: #e2e8f0;
|
|
--color-input-text: #0f172a;
|
|
--color-input-background: #ffffff;
|
|
--color-input-toggle-background: #fff;
|
|
--color-input-border: #cbd5e1;
|
|
--color-input-border-hover: #4a69ae;
|
|
--color-header-wrapper: #ffffff;
|
|
--color-header-wrapper-transparent: #d2e0f000;
|
|
--color-light: #ffffffcc;
|
|
--color-light-mimic-enabled: rgba(0, 0, 0, calc(6 / 255 * 222 / 255 / var(--opacity-disabled)));
|
|
--color-light-border: #0000001d;
|
|
--color-hover: #e4e4e4aa;
|
|
--color-active: #d4d4d8aa;
|
|
--color-menu: #ffffff;
|
|
--color-card: #ffffff;
|
|
--color-markup-table-row: #ffffff06;
|
|
--color-markup-code-block: #f8fafc;
|
|
--color-markup-code-inline: var(--zinc-200);
|
|
--color-button: #f1f5f9;
|
|
--color-code-bg: #f8fafc;
|
|
--color-shadow: #00000060;
|
|
--color-secondary-bg: #f1f5f9;
|
|
--color-text-focus: #fff;
|
|
--color-expand-button: var(--zinc-200);
|
|
--color-placeholder-text: var(--color-text-light-3);
|
|
--color-editor-line-highlight: var(--zinc-100);
|
|
--color-project-board-bg: var(--color-secondary-light-2);
|
|
--color-project-board-dark-label: var(--color-text-light-3);
|
|
--color-caret: var(--color-text);
|
|
--color-reaction-bg: #0000000a;
|
|
--color-reaction-active-bg: var(--color-primary-alpha-20);
|
|
--color-reaction-hover-bg: var(--color-primary-alpha-30);
|
|
--color-tooltip-text: #ffffff;
|
|
--color-tooltip-bg: #000000f0;
|
|
--color-nav-bg: #ffffff;
|
|
--color-nav-hover-bg: #f1f5f9;
|
|
--color-nav-text: #0f172a;
|
|
--color-secondary-nav-bg: var(--color-body);
|
|
--color-label-text: var(--color-text);
|
|
--color-label-bg: #cacaca7b;
|
|
--color-label-hover-bg: #cacacaa0;
|
|
--color-label-active-bg: #cacacaff;
|
|
--color-label-bg-alt: #cacacaff;
|
|
--color-accent: #4a69ae;
|
|
--color-small-accent: var(--color-primary-light-5);
|
|
--color-highlight-fg: var(--color-primary-light-4);
|
|
--color-highlight-bg: var(--color-primary-light-6);
|
|
--color-overlay-backdrop: #080808c0;
|
|
--checkerboard-color-1: #ffffff;
|
|
--checkerboard-color-2: #e5e5e5;
|
|
accent-color: var(--color-accent);
|
|
color-scheme: light;
|
|
}
|
|
|
|
.ui.secondary.vertical.menu {
|
|
border-radius: .28571429rem!important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ui.basic.primary.button.item {
|
|
background-color: var(--color-active)!important;
|
|
color: var(--color-text)!important;
|
|
box-shadow: none!important;
|
|
}
|
|
|
|
.ui.red.label.notification_count,
|
|
.ui.primary.labels .label {
|
|
background-color: var(--color-primary-dark-1)!important;
|
|
}
|
|
|
|
.repository.view.issue .comment-list .code-comment+.code-comment {
|
|
margin: 1.25rem 0!important;
|
|
padding-top: 1.25rem!important;
|
|
border-top-color: var(--zinc-250)!important;
|
|
}
|
|
|
|
.ui.labeled.icon.buttons>.button>.icon,
|
|
.ui.labeled.icon.button>.icon {
|
|
background-color: var(--color-shadow)!important;
|
|
}
|
|
|
|
#review-box .review-comments-counter {
|
|
background-color: var(--color-label-bg)!important;
|
|
margin-left: .5em;
|
|
}
|
|
|
|
.ui.basic.labels .primary.label,
|
|
.ui.ui.ui.basic.primary.label {
|
|
color: var(--color-text-dark)!important;
|
|
}
|
|
|
|
.ui.basic.yellow.label.pending-label {
|
|
background: var(--color-warning-bg)!important;
|
|
color: var(--color-warning-text)!important;
|
|
border-color: var(--color-yellow-light)!important;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--steel-450)!important;
|
|
color: var(--color-white)!important;
|
|
}
|
|
|
|
/* Navbar Brand Logo Size Enhancement */
|
|
.ui.navbar .brand img,
|
|
.ui.navbar img.image,
|
|
.ui.menu .item > img,
|
|
.navbar .brand img,
|
|
img.logo,
|
|
.ui.mini.image {
|
|
height: 38px !important;
|
|
max-height: 40px !important;
|
|
width: auto !important;
|
|
object-fit: contain !important;
|
|
}
|
|
|
|
/* Universal Button Legibility & Octicon Icon Color Fix */
|
|
.ui.button svg.octicon,
|
|
.ui.button i.icon {
|
|
fill: currentColor !important;
|
|
color: inherit !important;
|
|
vertical-align: text-bottom !important;
|
|
margin-right: 0.5rem !important;
|
|
}
|
|
|
|
.ui.primary.button {
|
|
background-color: #4a69ae !important;
|
|
color: #ffffff !important;
|
|
border: 1px solid #4a69ae !important;
|
|
border-radius: 8px !important;
|
|
font-weight: 600 !important;
|
|
box-shadow: 0 4px 12px rgba(74, 105, 174, 0.25) !important;
|
|
}
|
|
|
|
.ui.primary.button:hover,
|
|
.ui.primary.button:focus {
|
|
background-color: #3b548c !important;
|
|
color: #ffffff !important;
|
|
border-color: #3b548c !important;
|
|
}
|
|
|
|
.ui.secondary.button {
|
|
background-color: var(--color-box-body) !important;
|
|
color: var(--color-text) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
border-radius: 8px !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.ui.secondary.button:hover,
|
|
.ui.secondary.button:focus {
|
|
background-color: var(--color-box-body-highlight) !important;
|
|
color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Ultra-High Specificity Primary & Secondary Button Octicon Color Overrides */
|
|
.ui.primary.button svg,
|
|
.ui.primary.button svg.octicon,
|
|
.ui.primary.button svg.octicon-person,
|
|
.ui.primary.button * {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
stroke: none !important;
|
|
}
|
|
|
|
.ui.primary.button:hover svg,
|
|
.ui.primary.button:hover svg.octicon,
|
|
.ui.primary.button:hover * {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.ui.secondary.button svg,
|
|
.ui.secondary.button svg.octicon,
|
|
.ui.secondary.button svg.octicon-repo {
|
|
fill: var(--color-text) !important;
|
|
color: var(--color-text) !important;
|
|
}
|
|
|
|
/* Massive Hero Macaw Mascot Logo Override */
|
|
img.home-hero-logo,
|
|
.page-content.home img.home-hero-logo,
|
|
.page-content.home .logo.home-hero-logo {
|
|
width: 480px !important;
|
|
height: 480px !important;
|
|
max-width: 90vw !important;
|
|
max-height: 50vh !important;
|
|
object-fit: contain !important;
|
|
margin: 0 auto 2rem auto !important;
|
|
display: block !important;
|
|
filter: drop-shadow(0 15px 35px rgba(74, 105, 174, 0.35)) !important;
|
|
}
|
|
|
|
/* Proportional Pillar Header Icon Size Fix */
|
|
.page-content.home h2.ui.header svg,
|
|
.page-content.home h2.ui.header svg.octicon {
|
|
width: 32px !important;
|
|
height: 32px !important;
|
|
min-width: 32px !important;
|
|
min-height: 32px !important;
|
|
fill: var(--color-primary) !important;
|
|
color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Mobile Navbar & Hamburger Menu Legibility Fix - Light Theme */
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar,
|
|
html[data-theme="openlatdev-brand-light"] .ui.navbar,
|
|
.theme-openlatdev-brand-light .ui.navbar,
|
|
:root[data-theme="openlatdev-brand-light"] .ui.navbar {
|
|
background-color: #ffffff !important;
|
|
border-bottom: 1px solid #e2e8f0 !important;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
|
|
}
|
|
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .item,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar a,
|
|
html[data-theme="openlatdev-brand-light"] .ui.navbar .item,
|
|
html[data-theme="openlatdev-brand-light"] .ui.navbar a {
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .item:hover,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar a:hover,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .item.active {
|
|
color: #4a69ae !important;
|
|
}
|
|
|
|
/* Hamburger & Toggle Icons on Mobile - Light Theme */
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar svg,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar svg.octicon,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .hamburger,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .toggle,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar button svg,
|
|
html[data-theme="openlatdev-brand-light"] .ui.navbar svg,
|
|
html[data-theme="openlatdev-brand-light"] .ui.navbar .hamburger {
|
|
fill: #0f172a !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
/* Mobile Stackable / Dropdown Menu in Light Theme */
|
|
@media only screen and (max-width: 767.98px) {
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .menu,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .stackable.menu,
|
|
body[data-theme="openlatdev-brand-light"] .ui.navbar .right.stackable.menu {
|
|
background-color: #ffffff !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
|
|
}
|
|
|
|
}
|
|
|
|
/* Mobile Navbar & Hamburger Menu Legibility Fix - Dark Theme */
|
|
body[data-theme="openlatdev-brand-dark"] .ui.navbar svg,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.navbar svg.octicon,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.navbar .hamburger,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.navbar .toggle,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.navbar button svg,
|
|
html[data-theme="openlatdev-brand-dark"] .ui.navbar svg,
|
|
html[data-theme="openlatdev-brand-dark"] .ui.navbar .hamburger {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* Dynamic Auto Theme Mobile Navbar Rules */
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.navbar {
|
|
background-color: #ffffff !important;
|
|
border-bottom: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.navbar .item,
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.navbar a {
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.navbar svg,
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.navbar .hamburger {
|
|
fill: #0f172a !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="openlatdev-brand-light"]) .ui.navbar svg,
|
|
:root:not([data-theme="openlatdev-brand-light"]) .ui.navbar .hamburger {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
}
|
|
|
|
/* Mobile Sidebar Panel & Sidebar Toggle Icon Contrast Fix */
|
|
|
|
/* Light Theme Sidebar & Sidebar Icons */
|
|
body[data-theme="openlatdev-brand-light"] .ui.sidebar,
|
|
html[data-theme="openlatdev-brand-light"] .ui.sidebar,
|
|
.theme-openlatdev-brand-light .ui.sidebar,
|
|
:root[data-theme="openlatdev-brand-light"] .ui.sidebar,
|
|
body[data-theme="openlatdev-brand-light"] .ui.vertical.sidebar.menu {
|
|
background-color: #ffffff !important;
|
|
color: #0f172a !important;
|
|
border-right: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
body[data-theme="openlatdev-brand-light"] .ui.sidebar .item,
|
|
body[data-theme="openlatdev-brand-light"] .ui.sidebar a,
|
|
html[data-theme="openlatdev-brand-light"] .ui.sidebar .item {
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
/* Sidebar Toggle Buttons & SVG Icons in Light Theme */
|
|
body[data-theme="openlatdev-brand-light"] .ui.sidebar svg,
|
|
body[data-theme="openlatdev-brand-light"] .ui.sidebar svg.octicon,
|
|
body[data-theme="openlatdev-brand-light"] svg.octicon-sidebar,
|
|
body[data-theme="openlatdev-brand-light"] svg.octicon-sidebar-collapse,
|
|
body[data-theme="openlatdev-brand-light"] svg.octicon-sidebar-expand,
|
|
body[data-theme="openlatdev-brand-light"] .sidebar-toggle svg,
|
|
body[data-theme="openlatdev-brand-light"] button.sidebar-toggle svg,
|
|
html[data-theme="openlatdev-brand-light"] svg.octicon-sidebar {
|
|
fill: #0f172a !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
/* Dark Theme Sidebar & Sidebar Icons */
|
|
body[data-theme="openlatdev-brand-dark"] .ui.sidebar,
|
|
html[data-theme="openlatdev-brand-dark"] .ui.sidebar,
|
|
.theme-openlatdev-brand-dark .ui.sidebar,
|
|
:root[data-theme="openlatdev-brand-dark"] .ui.sidebar,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.vertical.sidebar.menu {
|
|
background-color: #12171e !important;
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
body[data-theme="openlatdev-brand-dark"] .ui.sidebar .item,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.sidebar a {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
body[data-theme="openlatdev-brand-dark"] .ui.sidebar svg,
|
|
body[data-theme="openlatdev-brand-dark"] .ui.sidebar svg.octicon,
|
|
body[data-theme="openlatdev-brand-dark"] svg.octicon-sidebar,
|
|
body[data-theme="openlatdev-brand-dark"] svg.octicon-sidebar-collapse,
|
|
body[data-theme="openlatdev-brand-dark"] svg.octicon-sidebar-expand,
|
|
body[data-theme="openlatdev-brand-dark"] .sidebar-toggle svg,
|
|
body[data-theme="openlatdev-brand-dark"] button.sidebar-toggle svg {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* Dynamic Auto Theme Sidebar Media Queries */
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.sidebar {
|
|
background-color: #ffffff !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.sidebar .item,
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.sidebar a {
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .ui.sidebar svg,
|
|
:root:not([data-theme="openlatdev-brand-dark"]) svg.octicon-sidebar,
|
|
:root:not([data-theme="openlatdev-brand-dark"]) .sidebar-toggle svg {
|
|
fill: #0f172a !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="openlatdev-brand-light"]) .ui.sidebar {
|
|
background-color: #12171e !important;
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
:root:not([data-theme="openlatdev-brand-light"]) .ui.sidebar svg,
|
|
:root:not([data-theme="openlatdev-brand-light"]) svg.octicon-sidebar,
|
|
:root:not([data-theme="openlatdev-brand-light"]) .sidebar-toggle svg {
|
|
fill: #ffffff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
}
|
|
|
|
/* Mobile Navbar & Sidebar Icon Colors - Light Theme */
|
|
@media only screen and (max-width: 1200px) {
|
|
.ui.navbar svg,
|
|
.ui.navbar svg *,
|
|
.ui.navbar .svg,
|
|
.ui.navbar .hamburger,
|
|
.ui.navbar .toggle,
|
|
.ui.navbar .toc,
|
|
.ui.navbar button,
|
|
.mobile-only svg,
|
|
#navbar svg,
|
|
.ui.sidebar svg {
|
|
fill: #0f172a !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
/* ==========================================================================
|
|
JetBrains Mono Code Editor & Monospace Typography Enhancement
|
|
========================================================================== */
|
|
.CodeMirror,
|
|
.CodeMirror-lines,
|
|
.CodeMirror pre.CodeMirror-line,
|
|
.CodeMirror pre.CodeMirror-line-like,
|
|
.cm-editor,
|
|
.cm-content,
|
|
.cm-line,
|
|
textarea.editor,
|
|
#edit-area,
|
|
.editor-loading-placeholder,
|
|
.file-view table.code-view,
|
|
.code-view,
|
|
.lines-code,
|
|
.lines-num,
|
|
.diff-file-box .code-view,
|
|
.tag-code-view,
|
|
.monospaced,
|
|
pre,
|
|
code,
|
|
.markup pre,
|
|
.markup code,
|
|
.chroma {
|
|
font-family: 'JetBrains Mono', 'JetBrainsMono Nerd Font', 'JetBrains Mono Nerd Font', 'Fira Code', 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important;
|
|
font-size: 14.5px !important;
|
|
line-height: 1.6 !important;
|
|
}
|
|
|
|
.CodeMirror,
|
|
.cm-editor {
|
|
font-size: 14.5px !important;
|
|
}
|
|
|
|
.lines-num,
|
|
.CodeMirror-linenumber,
|
|
.cm-gutterElement {
|
|
font-family: 'JetBrains Mono', 'JetBrainsMono Nerd Font', 'JetBrains Mono Nerd Font', monospace !important;
|
|
font-size: 13px !important;
|
|
line-height: 1.6 !important;
|
|
}
|
|
|
|
/* Enable Font Ligatures across Code Mirror & Code View Components */
|
|
.CodeMirror,
|
|
.CodeMirror-lines,
|
|
.CodeMirror pre.CodeMirror-line,
|
|
.CodeMirror pre.CodeMirror-line-like,
|
|
.cm-editor,
|
|
.cm-content,
|
|
.cm-line,
|
|
textarea.editor,
|
|
#edit-area,
|
|
.editor-loading-placeholder,
|
|
.file-view table.code-view,
|
|
.code-view,
|
|
.lines-code,
|
|
.diff-file-box .code-view,
|
|
.tag-code-view,
|
|
.monospaced,
|
|
pre,
|
|
code,
|
|
.markup pre,
|
|
.markup code,
|
|
.chroma {
|
|
font-variant-ligatures: normal !important;
|
|
font-feature-settings: "calt" 1, "liga" 1, "dlig" 1 !important;
|
|
text-rendering: optimizeLegibility !important;
|
|
}
|
|
|
|
/* Universal JetBrainsMono Nerd Font & Ligatures for Code View & Chroma Syntax Highlighting */
|
|
.file-view .code-view,
|
|
.file-view .code-view *,
|
|
.code-view,
|
|
.code-view *,
|
|
.lines-code,
|
|
.lines-code *,
|
|
.code-inner,
|
|
.code-inner *,
|
|
.chroma,
|
|
.chroma *,
|
|
.CodeMirror,
|
|
.CodeMirror *,
|
|
.cm-editor,
|
|
.cm-editor *,
|
|
textarea.editor,
|
|
#edit-area,
|
|
.editor-loading-placeholder,
|
|
.diff-file-box .code-view,
|
|
.diff-file-box .code-view *,
|
|
.tag-code-view,
|
|
.monospaced,
|
|
pre,
|
|
pre *,
|
|
code,
|
|
code * {
|
|
font-family: 'JetBrainsMono Nerd Font', 'JetBrains Mono Nerd Font', 'JetBrainsMono NF', 'JetBrains Mono', 'Fira Code', 'Roboto Mono', ui-monospace, monospace !important;
|
|
font-variant-ligatures: normal !important;
|
|
font-feature-settings: "calt" 1, "liga" 1, "dlig" 1, "clig" 1 !important;
|
|
text-rendering: optimizeLegibility !important;
|
|
letter-spacing: normal !important;
|
|
}
|
|
|
|
.code-inner,
|
|
.code-inner span,
|
|
.lines-code span,
|
|
.chroma span {
|
|
font-size: 14.5px !important;
|
|
line-height: 1.6 !important;
|
|
font-variant-ligatures: normal !important;
|
|
font-feature-settings: "calt" 1, "liga" 1, "dlig" 1, "clig" 1 !important;
|
|
} |