:root { --background-color: #fff; --background-color-transparent: rgba(255,255,255,0.6); --background-color-transparent-15: rgba(255,255,255,0.15); --background-color-transparent-40: rgba(255,255,255,0.4); --background-color-transparent-80: rgba(255,255,255,0.8); --second-background-color: #fafafa; --third-background-color: #f7f7f7; --third-background-color-transparent: rgba(241,241,241,0.6); --primary-color: #40e0d0; --first-text-color: #323739; --second-text-color: #343a3c; --third-text-color: #5c6669; --fourth-text-color: #eaeced; --default-text-color: #373d3f; --invert-text-color: #bebec6; --border-color: rgba(0,0,0,0.08); --selection-color: #53e3d5; --shadow-color-1: rgba(0,0,0,0.08); --shadow-color-2: rgba(0,0,0,0.05); --shadow-hover-color: rgba(0,0,0,0.28); --scrollbar-color: #c1c1c1; --scrollbar-color-hover: #a1a1a1; --scroll-bar-bg-color: #fafafa; --link-color: #323739; --copyright-info-color: #c03; --avatar-background-color: #06c; --pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3); --archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%; --note-blue-title-bg: #d6f7fb; --note-red-title-bg: #fde9e9; --note-cyan-title-bg: #e9fdf9; --note-green-title-bg: #e9fde9; --note-yellow-title-bg: #fdf9e9; --note-gray-title-bg: #f9f9f9; --note-type-title-bg: #fdf3e9; --note-black-title-bg: #e9e9e9; --note-purple-title-bg: #f9e9fd; --home-banner-text-color: #fff; --home-banner-icons-container-border-color: rgba(255,255,255,0.35); --home-banner-icons-container-background-color: rgba(255,255,255,0.3); --redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --mermaid-theme: $mermaid-theme; } .light-mode { --background-color: #fff; --background-color-transparent: rgba(255,255,255,0.6); --background-color-transparent-15: rgba(255,255,255,0.15); --background-color-transparent-40: rgba(255,255,255,0.4); --background-color-transparent-80: rgba(255,255,255,0.8); --second-background-color: #fafafa; --third-background-color: #f7f7f7; --third-background-color-transparent: rgba(241,241,241,0.6); --primary-color: #40e0d0; --first-text-color: #323739; --second-text-color: #343a3c; --third-text-color: #5c6669; --fourth-text-color: #eaeced; --default-text-color: #373d3f; --invert-text-color: #bebec6; --border-color: rgba(0,0,0,0.08); --selection-color: #53e3d5; --shadow-color-1: rgba(0,0,0,0.08); --shadow-color-2: rgba(0,0,0,0.05); --shadow-hover-color: rgba(0,0,0,0.28); --scrollbar-color: #c1c1c1; --scrollbar-color-hover: #a1a1a1; --scroll-bar-bg-color: #fafafa; --link-color: #323739; --copyright-info-color: #c03; --avatar-background-color: #06c; --pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3); --archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%; --note-blue-title-bg: #d6f7fb; --note-red-title-bg: #fde9e9; --note-cyan-title-bg: #e9fdf9; --note-green-title-bg: #e9fde9; --note-yellow-title-bg: #fdf9e9; --note-gray-title-bg: #f9f9f9; --note-type-title-bg: #fdf3e9; --note-black-title-bg: #e9e9e9; --note-purple-title-bg: #f9e9fd; --home-banner-text-color: #fff; --home-banner-icons-container-border-color: rgba(255,255,255,0.35); --home-banner-icons-container-background-color: rgba(255,255,255,0.3); --redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --mermaid-theme: $mermaid-theme; } .dark-mode { --background-color: #202124; --background-color-transparent: rgba(32,33,36,0.4); --background-color-transparent-15: rgba(32,33,36,0.15); --background-color-transparent-40: rgba(32,33,36,0.4); --background-color-transparent-80: rgba(32,33,36,0.8); --second-background-color: #242529; --third-background-color: #292b2f; --third-background-color-transparent: rgba(32,33,36,0.6); --primary-color: #40e0d0; --first-text-color: #d2d2d7; --second-text-color: #cbcbd1; --third-text-color: #9595a2; --fourth-text-color: #36363e; --default-text-color: #bebec6; --invert-text-color: #373d3f; --border-color: rgba(255,255,255,0.08); --selection-color: #53e3d5; --shadow-color-1: rgba(255,255,255,0.08); --shadow-color-2: rgba(255,255,255,0.05); --shadow-hover-color: rgba(69,69,69,0.28); --scrollbar-color: #898989; --scrollbar-color-hover: #a1a1a1; --scroll-bar-bg-color: #2a2c30; --link-color: #c5c5cc; --copyright-info-color: #a30029; --avatar-background-color: #005cb8; --pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee); --archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%; --note-blue-title-bg: #1e3e46; --note-red-title-bg: #4e1e1e; --note-cyan-title-bg: #1e4e4e; --note-green-title-bg: #1e4e1e; --note-yellow-title-bg: #4e4e1e; --note-gray-title-bg: #4e4e4e; --note-type-title-bg: #4e3a1e; --note-black-title-bg: #1e1e1e; --note-purple-title-bg: #4e1e4e; --home-banner-text-color: #d1d1b6; --home-banner-icons-container-border-color: rgba(197,197,197,0.35); --home-banner-icons-container-background-color: rgba(197,197,197,0.3); --redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px; --redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset; --mermaid-theme: $dark-mermaid-theme; } .search-pop-overlay { position: fixed; display: flex; height: 100%; width: 100%; left: 0; top: 0; background: rgba(0,0,0,0); visibility: hidden; z-index: 1008; } .search-pop-overlay.active { visibility: visible; background: rgba(0,0,0,0.35); } .search-pop-overlay.active .search-popup { transform: scale(1); } .search-pop-overlay .search-popup { background: var(--background-color); border-radius: 5px; height: 80%; width: 70%; margin: auto; transform: scale(0); z-index: 1006; } @media (max-width: 768px) { .search-pop-overlay .search-popup { width: 80%; } } @media (max-width: 640px) { .search-pop-overlay .search-popup { width: 90%; } } .search-pop-overlay .search-popup .search-header { background: var(--fourth-text-color); border-top-left-radius: 2px; border-top-right-radius: 2px; display: flex; padding: 10px; } .search-pop-overlay .search-popup .search-header .search-input-field-pre, .search-pop-overlay .search-popup .search-header .popup-btn-close { font-size: 1.2rem; padding: 0 10px; display: flex; align-items: center; } .search-pop-overlay .search-popup .search-header .search-input-field-pre { cursor: pointer; color: var(--third-text-color); } .search-pop-overlay .search-popup .search-header .popup-btn-close { color: var(--default-text-color); } .search-pop-overlay .search-popup .search-header .search-input-container { flex-grow: 1; padding: 2px; } .search-pop-overlay .search-popup .search-header .search-input-container .search-input { background: transparent; border: 0; outline: 0; width: 100%; font-size: 1.2rem; color: var(--default-text-color); } .search-pop-overlay .search-popup .search-header .search-input-container .search-input::-webkit-search-cancel-button { display: none; } .search-pop-overlay .search-popup .search-header .popup-btn-close { cursor: pointer; } .search-pop-overlay .search-popup .search-header .popup-btn-close:hover .fas, .search-pop-overlay .search-popup .search-header .popup-btn-close far, .search-pop-overlay .search-popup .search-header .popup-btn-close fab { color: var(--first-text-color); } .search-pop-overlay .search-popup #search-result { display: flex; height: calc(100% - 55px); overflow: auto; padding: 5px 25px; } .search-pop-overlay .search-popup #search-result .search-result-list { width: 100%; height: 100%; font-size: 1rem; } .search-pop-overlay .search-popup #search-result .search-result-list li { border-bottom: 1px dashed var(--border-color); padding: 10px 0; margin: 10px 0; box-sizing: border-box; } .search-pop-overlay .search-popup #search-result .search-result-list li:last-child { border-bottom: none; } .search-pop-overlay .search-popup #search-result .search-result-list li .search-result-title { position: relative; font-weight: bold; margin-bottom: 10px; padding-left: 16px; display: flex; align-items: center; } .search-pop-overlay .search-popup #search-result .search-result-list li .search-result-title::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 50%; transform: translateY(-50%); left: 0; background: var(--default-text-color); } .search-pop-overlay .search-popup #search-result .search-result-list li .search-result { line-height: 2rem; margin: 0; padding-left: 16px; word-wrap: break-word; } .search-pop-overlay .search-popup #search-result .search-result-list li a:hover { color: var(--default-text-color); } .search-pop-overlay .search-popup #search-result .search-result-list li .search-keyword { border-bottom: 1px dashed var(--primary-color); color: var(--primary-color); font-weight: bold; } .search-pop-overlay .search-popup #search-result #no-result { color: var(--third-text-color); margin: auto; }