Skip to content

Instantly share code, notes, and snippets.

@lumynou5
Last active June 30, 2024 10:14
Show Gist options
  • Save lumynou5/b7c15db7759e40f5f3881c1a61b72eea to your computer and use it in GitHub Desktop.
Save lumynou5/b7c15db7759e40f5f3881c1a61b72eea to your computer and use it in GitHub Desktop.
<style> /* Background */ :root[theme] :is(body, .ui-content, .ui-view-area) { background-color: #1E1E1E; } /* Buttons */ .btn-default { background-color: transparent; color: #D0D0D0; border: 1px solid #696969; } .btn-default:is(:active, :hover, :active:hover, :focus) { background-color: transparent; color: #FFFFFF; border-color: #FFFFFF; } .btn-primary.btn-outline { color: #10A0FF; border-color: #10A0FF; } .btn-primary.btn-outline:hover { background-color: transparent; color: #00A6FF; text-shadow: 0 0 0.1em #00A6FF; border-color: #00A6FF; box-shadow: 0 0 0.3em #00A6FF; } .btn-danger { background-color: transparent; color: #D9534F; border-color: #D95345; } .btn-danger:hover { background-color: transparent; color: #D9534F !important; text-shadow: 0 0 0.1em #D9534F; border-color: #D9534F; box-shadow: 0 0 0.3em #D9534F; } .input-group .input-group-btn .btn { background-color: transparent; color: #D0D0D0; border-color: #696969; } .input-group .input-group-btn .btn:hover { background-color: transparent; color: #FFFFFF; border-color: #FFFFFF; } .input-group .input-group-btn:hover { border-left: 1px solid #FFFFFF; } /* Dropdown Menus */ :root[theme] { .dropdown-menu { background-color: #303030; color: #D4D4D4; border-color: #525252; } .dropdown-menu .dropdown-header { color: #A1A1A1; } .dropdown-menu .divider { border-color: #525252; } .dropdown-menu > li > a:hover { background-color: #3F3F3F; color: #F4F4F4; } } /* Form Controls */ .form-control { background-color: transparent; color: #D0D0D0; border-color: #696969; } .form-control::placeholder { color: #D0D0D0; } .form-control:hover, .form-control:focus { background-color: transparent; color: #FFFFFF; border-color: #FFFFFF; } .form-control:hover::placeholder, .form-control:focus::placeholder { color: #FFFFFF; } /* Tooltips */ .ui-first-menu-tooltip, .ui-second-menu-tooltip { color: #696969 !important; } .ui-first-menu-tooltip:hover, .ui-second-menu-tooltip:hover { color: #FFFFFF !important; text-shadow: 0 0 0.2em #FFFFFF; } /* Navigate Bar */ .navbar.navbar-default .btn.ui-sharing, .navbar.navbar-default .btn.ui-sharing.signin { background-color: transparent; } .navbar.navbar-default .btn.ui-sharing:is(:hover, :focus), .navbar.navbar-default .ui-share-button.open .btn.ui-sharing { background-color: var(--hmd-tw-element-bg-hover) !important; } /* Modals */ .modal-content { background-color: #000000; color: #C5C5C5; border: 1px solid #696969; } .modal-content .close { color: #D0D0D0; opacity: 1; text-shadow: none; } .modal-content .close:hover { color: #FFFFFF; } .modal-content .modal-header { background-color: transparent; border-bottom: inherit; } .modal-content .modal-header .modal-title { color: #C5C5C5; } .modal-content .modal-body { color: #FFFFFF !important; } /* Signin Modal */ .modal.signin-modal .form-group .control-label a { color: #D0D0D0; text-decoration: none !important; } .modal.signin-modal .form-group .control-label a:hover { color: #FFFFFF; } .modal.signin-modal p a { color: #10A0FF; text-decoration: none; } .modal.signin-modal p a:hover { color: #10A0FF; text-shadow: 0 0 1px #10A0FF; } /* Versions and GitHub Sync modal */ #namedRevisionModal .ui-github-sync { border-color: #696969 !important; } #namedRevisionModal .signin-to-connect, #namedRevisionModal .no-connect-github { color: #D0D0D0; } #namedRevisionModal .no-connect-github > a { color: #10A0FF; } #namedRevisionModal .no-connect-github > a:hover { color: #10A0FF; text-decoration: none; text-shadow: 0 0 0.1em #10A0FF; } #namedRevisionModal .github-status, #namedRevisionModal .github-status a { color: #D0D0D0; } #namedRevisionModal .github-status a:hover { color: #FFFFFF; text-decoration: none; text-shadow: 0 0 0.1em #FFFFFF; } #namedRevisionModal .sidebar.revision-list-container { border-color: #696969; } #namedRevisionModal .revision-card .revision-card-heading, #namedRevisionModal .revision-item { color: #D0D0D0; } #namedRevisionModal .revision-card .revision-card-heading:hover, #namedRevisionModal .revision-item:hover, #namedRevisionModal .revision-card.active .revision-card-heading, #namedRevisionModal .revision-item.active { background-color: transparent; color: #FFFFFF; text-shadow: 0 0 0.1em #FFFFFF; } #namedRevisionModal .ui-upgrade-tips { color: #C5C5C5; border-color: #696969; } #namedRevisionModal .ui-upgrade-tips .ui-upgrade-button { color: #10A0FF; } #namedRevisionModal .ui-upgrade-tips .ui-upgrade-button:hover { color: #10A0FF; text-decoration: none; text-shadow: 0 0 0.1em #10A0FF; } #namedRevisionModal .revision-item.preview { opacity: 1; } #namedRevisionModal #revisionSummary, #namedRevisionModal #revisionSummary h4, #namedRevisionModal #revisionSummary .summary-author-info, #namedRevisionModal #revisionSummary .summary-description, #namedRevisionModal #revisionSummary .tooltip-align-left { background-color: transparent; color: #C5C5C5 !important; } #namedRevisionModal #revisionSummary .tooltip-align-left:hover { color: #FFFFFF !important; text-shadow: 0 0 0.1em #FFFFFF; } #namedRevisionModal #revision-operation-panel { background-color: transparent; } #namedRevisionModal #diff-revision-dropdown-menu .btn:active, #namedRevisionModal #diff-revision-dropdown-menu .btn:focus { background-color: transparent; color: #FFFFFF; border-color: #696969; } #namedRevisionModal #diff-revision-dropdown-menu .section-header { background-color: transparent; color: #C5C5C5; } #namedRevisionModal .revision-card[disabled] .revision-card-heading:hover { background-color: transparent; } /* Transfer ownership modal */ .ui-transfer-modal-team-dropdown .btn a { color: #D0D0D0 !important; } .ui-transfer-modal-team-dropdown .btn:hover a { color: #FFFFFF !important; } .ui-transfer-modal-team-dropdown.open > .btn, .ui-transfer-modal-team-dropdown.open > .btn:is(:active, :hover, :focus) { background-color: transparent; } /* Split Line in Both View */ .ui-edit-area .ui-resizable-handle.ui-resizable-e { width: 6px; background-color: #696969; box-shadow: 0 0 6px #696969; } .ui-edit-area .ui-sync-toggle { box-shadow: 0 0 6px #D0D0D0; } .ui-edit-area .ui-sync-toggle:hover, .ui-edit-area .ui-sync-toggle:focus { background-color: transparent; color: #FFFFFF; box-shadow: 0 0 6px #D0D0D0; } /* Popover */ .ui-user-icon.small:hover { box-shadow: 0 0 3px #FFFFFF; } .popover { background-color: #000000; border: 1px solid #696969; } .popover.top > .arrow, .popover.bottom > .arrow { border-color: #696969 transparent; } .popover.top > .arrow::after, .popover.bottom > .arrow::after { border-color: #000000 transparent; } .profile-card .profile-card-body .ui-avatar.circle:hover { box-shadow: 0 0 5px #FFFFFF; } .profile-card .profile-card-body .profile-card-name { color: #D0D0D0; } .profile-card .profile-card-body .profile-card-name:hover { color: #FFFFFF; } .profile-card .profile-card-body .profile-card-username { color: #A0A0A0; } .profile-card .profile-settings { color: #10A0FF; border-top-color: #696969; } .profile-card .profile-settings:hover { background-color: transparent; color: #10A0FF; text-shadow: 0 0 0.1em #10A0FF; } /* Owner */ .ui-owner, .footer .ui-owner { color: #868686; } .ui-owner:hover { color: #FFFFFF; text-decoration: none; } /* Title and Tags */ #meta-title-tags div { background-color: #000000; color: #D0D0D0; } #meta-title-tags .ui-pretty-logo-home { color: #C5C5C5; } #meta-title-tags .ui-pretty-logo-home:hover { text-shadow: 0 0 1px #FFFFFF; } /* Last Change Status */ .ui-status-lastchange { color: #868686; } /* Community Buttons */ .community-button { color: #868686; } .community-button:hover, .community-button:focus, .ui-notification.dropdown.open .community-button { background-color: transparent; color: #FFFFFF; } .ui-notification .notification-menu-item:is(:hover, :focus) { background-color: #3F3F3F; color: #F4F4F4; } /* Comments */ .ui-comment-app .open-comments { background-color: transparent; } .ui-comment-app .open-comments .btn.ui-open-comments, .ui-comment-app .open-comments .btn.ui-open-comments:focus:not(:hover), .ui-comment-app .open-comments .btn.ui-open-comments.open, .ui-comment-app .open-comments .btn.ui-open-comments.open:focus:not(:hover) { background-color: transparent; color: #868686; border-color: transparent; } .ui-comment-app .open-comments .btn.ui-open-comments:hover, .ui-comment-app .open-comments .btn.ui-open-comments.open:hover { background-color: transparent; color: #FFFFFF; border-color: transparent; } .ui-comment-app .open-comments .comment-settings { color: #868686; } .ui-comment-app .open-comments .comment-settings:hover { color: #FFFFFF; } .ui-comment-container .ui-no-comments div { color: #868686; } .ui-comment-button-container:not(.active):hover, .ui-comment-button-container.comment.active:not(.simple) { background-color: transparent; } .ui-comment-button-container .divider { border-color: #696969; } .ui-comment-container { background-color: #000000; border: 1px solid #696969; } .ui-comment-container:hover { background-color: #000000; } .ui-comment-container .ui-comments-container .ui-comment .comment-author { color: #D0D0D0; } .ui-comment-container .ui-comments-container .ui-comment .timestamp { color: #868686; } .ui-comment-container .ui-comments-container .ui-comment .comment-content { color: #FFFFFF; } .ui-comment-container .ui-comment-input-container .ui-comment-input-widgets .comment-textarea { background-color: #000000; color: #FFFFFF; border-color: #696969; } .ui-comment-container .ui-comment-input-container .ui-comment-input-widgets .comment-textarea::placeholder { color: #C5C5C5; } .ui-comment-container .ui-comment-input-container .ui-comment-input-widgets .btn-default { color: #D0D0D0; border-color: #696969; } .ui-comment-container .ui-comment-input-container .ui-comment-input-widgets .btn-default:hover { background-color: transparent; color: #FFFFFF; border-color: #696969; } /* Summary (Book Mode) */ .summary { background-color: #1E1E1E; border-color: #696969; } .ui-summary-action { color: #C5C5C5; } .ui-summary-action:hover, .ui-summary-action:focus { color: #FFFFFF; text-shadow: 0 0 0.1em #FFFFFF; } .summary h1, .summary h2, .summary h3, .summary h4, .summary h5, .summary h6, .summary h1 .fa-angle-down, .summary h2 .fa-angle-down, .summary h3 .fa-angle-down, .summary h4 .fa-angle-down, .summary h5 .fa-angle-down, .summary h6 .fa-angle-down { color: #C5C5C5; } .summary .toolbar, .summary h1.collapsible:not(:first-child), .summary h2.collapsible:not(:first-child), .summary h3.collapsible:not(:first-child), .summary h4.collapsible:not(:first-child), .summary h5.collapsible:not(:first-child), .summary h6.collapsible:not(:first-child) { background-color: transparent; border-color: #696969; } .summary h1 + .nav-pills, .summary h2 + .nav-pills, .summary h3 + .nav-pills, .summary h4 + .nav-pills, .summary h5 + .nav-pills, .summary h6 + .nav-pills { padding-left: 0; padding-right: 48px; } .summary .nav-pills > li > a, .summary .nav-pills > li > a:visited { color: #D0D0D0; padding-left: 30px; border-left: 2px solid transparent; } .summary .nav-pills > li > a:hover, .summary .nav-pills > li > a:focus, .summary .nav-pills > li.active > a, .summary .nav-pills > li.active > a:hover, .summary .nav-pills > li.active > a:focus { color: #EEEEEE; text-decoration: none; border-left-color: #EEEEEE; } /* Footers */ .footer { color: #868686; } .footer a:hover, .footer a:focus { text-decoration: none; } .reveal-viewport .footer { background-color: #181818; } .reveal-viewport .footer .ui-edit, .reveal-viewport .footer .ui-print { color: #D0D0D0; } .reveal-viewport .footer .ui-edit:hover, .reveal-viewport .footer .ui-print:hover { background-color: transparent; color: #FFFFFF; text-shadow: 0 0 0.2em #FFFFFF; } /* Table of Content */ .ui-toc-dropdown .nav > li > a { color: #868686; } .ui-toc-dropdown .nav > .active:focus > a, .ui-toc-dropdown .nav > .active:hover > a, .ui-toc-dropdown .nav > .active > a, .ui-toc-dropdown .nav > li > a:focus, .ui-toc-dropdown .nav > li > a:hover { color: #EEEEEE; border-left-color: #EEEEEE; } .expand-toggle, .back-to-top, .go-to-bottom { color: #868686; } .expand-toggle:hover, .expand-toggle:focus, .back-to-top:hover, .back-to-top:focus, .go-to-bottom:hover, .go-to-bottom:focus { color: #EEEEEE; } /* Markdown body */ :root[theme] [theme] .markdown-body { & { color: #FFFFFF; } ::marker { color: #D0D0D0; } /* Links */ a { color: #10A0FF; } a:hover { text-decoration: none; text-shadow: 0 0 0.1px #10A0FF; } /* Marks */ mark { background-color: color-mix(in srgb, currentColor, transparent 80%); } /* Rubies */ rt { font-size: 0.75em; } /* Split Lines */ hr { height: 1px; color: #EEEEEE; } /* Headers */ h1, h2, h3, h4, h5, h6 { color: #F5DEB3; border-color: #F5DEB3; } h1 .octicon-link, h2 .octicon-link, h3 .octicon-link, h4 .octicon-link, h5 .octicon-link, h6 .octicon-link { color: #C5C5C5; text-shadow: none; } header { font-size: 2.5em; text-align: center; margin: 24px 0 16px 0; } /* Images */ img:not(.emoji) { background-color: transparent; border: none; } /* Quote Blocks */ blockquote { color: #FFFFFF; border-color: #C5C5C5; } blockquote small { color: #C5C5C5; } blockquote small .fa-user { color: #638FAC; } blockquote small .fa-clock-o { color: #689F7A; } /* Alerts */ .alert { background-color: color-mix(in srgb, currentColor, transparent 80%) !important; border-color: currentColor !important; } .alert.alert-info { color: #1E90FF; } .alert.alert-success { color: #228B22; } .alert.alert-warning { color: #F8A100; } .alert.alert-danger { color: #FF4500; } /* Spoilers */ details, details:hover, details[open]:hover { background-color: #0A0A0A; color: #EEEEEE; padding-left: 10px; padding-right: 10px; border: none; border-radius: 3px; margin-bottom: 16px; overflow: auto; /* Avoid the margin collapsing. */ } details > summary { color: #D0D0D0; } details > :not(summary):first-child, details > summary + * { margin-top: 5px; } details > :not(summary):last-child { margin-bottom: 10px; } /* Difinition Lists */ dl dt { font-style: normal; margin-bottom: 8px; } /* Tables */ table { width: min-content; max-width: 100%; margin: 0 auto; } table thead tr { background-color: #303030; } table tbody tr { background-color: #1E1E1E; } table tbody tr:nth-child(2n) { background-color: #272727; } /* Codes */ :not(pre) > code, code, pre { background-color: #282C34; color: #ABB2BF; } code, pre, kbd, samp { font-family: "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", monospace; font-variant-ligatures: none; tab-size: 4; } pre code .gutter.linenumber { border-color: #555555; } .token.directive-hash { color: #C678DD; font-style: italic; } .token.keyword { color: #C678DD; font-style: italic; } .token.namespace { color: #56B6C2; opacity: 1; font-style: italic; } .token.class-name { color: #E5C07B; } .token.function { color: #61AFEF; } .token.param { color: #D19A66; } .token.gvariable, .token.macro, .token.property { color: #E06C75; } .token.string, .token.char { color: #98C379; } .token.string .token.esc, .token.char .token.esc { color: #56B6C2; } .token.number { color: #00B66C; } .token.boolean { color: #C678DD; font-style: italic; } .token.operator, .token.punctuation { background-color: transparent; color: #ABB2BF; } .token.comment { color: #6C80A3; font-style: italic; } /* Graphs */ pre.part.plugin-rendered { background-color: #FFFFFF; } pre.part.plugin-rendered > svg { display: block; margin: 0 auto; } /* Icons */ .lmn-icon { font-family: "FontAwesome"; } /* Version Annotations */ .lmn-va { color: #72FF72; font-size: .75em; } .lmn-vs { border-bottom: 1px solid #72FF72; } .lmn-vs::before, .lmn-vs::after { letter-spacing: -.2em; content: "\00A0"; } /* Ko-fi */ .lmn-kofi:hover { box-shadow: 0 0 5px #17BEE5; } /* Theme License */ #lmn-dark-theme-license { color: #C5C5C5; font-size: 14px; padding-top: 2px; padding-bottom:2px; } #lmn-dark-theme-license > summary { font-size: 12px; padding: 0; } .reveal #lmn-dark-theme-license { display: none; } } </style>
Dark Theme License

The MIT License (MIT)

Copyright (c) 2022-2024 Lumynous

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@EvanHsieh0415
Copy link

♪⁠ヽ⁠(⁠・⁠ˇ⁠∀⁠ˇ⁠・⁠ゞ⁠)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment