|
| 1 | +--- |
| 2 | +--- |
| 3 | + |
| 4 | +@use 'main |
| 5 | +{%- if jekyll.environment == ' production ' -%} |
| 6 | + .bundle |
| 7 | +{%- endif -%} |
| 8 | +'; |
| 9 | + |
| 10 | +/* append your custom style below */ |
| 11 | +@media (prefers-color-scheme: light) { |
| 12 | + html:not([data-mode]), |
| 13 | + html[data-mode='light'] { |
| 14 | + /* --main-bg: #e7e7e7; */ |
| 15 | + /* Main background of the content generated windows */ |
| 16 | + --main-bg: #e0e0e0; |
| 17 | + --mask-bg: #c1c3c5; |
| 18 | + /* Border color of the main content on the right and bottom */ |
| 19 | + --main-border-color: #27272b; |
| 20 | + /* --main-border-color: #f3f3f3; */ |
| 21 | + /*--text-color: #34343c; |
| 22 | + --text-muted-color: #757575;*/ |
| 23 | + /* This is for the text color on blog posts */ |
| 24 | + --text-color: #27272b; |
| 25 | + /* This is for Home button and link buttons on the main bar */ |
| 26 | + --text-muted-color: #342b50; |
| 27 | + --text-muted-highlight-color: inherit; |
| 28 | + --heading-color: #2a2a2a; |
| 29 | + --label-color: #585858; |
| 30 | + /* --blockquote-border-color: #eeeeee; apple*/ |
| 31 | + --blockquote-border-color: #eeeeee; |
| 32 | + --blockquote-text-color: #757575; |
| 33 | + /* Link color on the main tab? */ |
| 34 | + /* --link-color: #0056b2; */ |
| 35 | + --link-color: #1b8381; |
| 36 | + --link-underline-color: #dee2e6; |
| 37 | + --button-bg: #ffffff; |
| 38 | + /* --btn-border-color: #e9ecef; apple */ |
| 39 | + --btn-border-color: #27272b; |
| 40 | + --btn-backtotop-color: #686868; |
| 41 | + /* --btn-backtotop-border-color: #f1f1f1; apple */ |
| 42 | + --btn-backtotop-border-color: #f1f1f1; |
| 43 | + --checkbox-color: #c5c5c5; |
| 44 | + --checkbox-checked-color: #07a8f7; |
| 45 | + --img-bg: radial-gradient( |
| 46 | + circle, |
| 47 | + rgb(255, 255, 255) 0%, |
| 48 | + rgb(239, 239, 239) 100% |
| 49 | + ); |
| 50 | + --shimmer-bg: linear-gradient( |
| 51 | + 90deg, |
| 52 | + rgba(250, 250, 250, 0) 0%, |
| 53 | + rgba(232, 230, 230, 1) 50%, |
| 54 | + rgba(250, 250, 250, 0) 100% |
| 55 | + ); |
| 56 | + /* |
| 57 | + --site-title-color: rgb(113, 113, 113); |
| 58 | + --site-subtitle-color: #717171; |
| 59 | + */ |
| 60 | + /* This is the color for the title under my favicon picture */ |
| 61 | + --site-title-color: #1b8381; |
| 62 | + /* --site-title-color: #342b50; */ |
| 63 | + /* This is the text under the description of my picture */ |
| 64 | + --site-subtitle-color: #27272b; |
| 65 | + /* --sidebar-bg: #f6f8fa; */ |
| 66 | + /* The background of the nav bar on the side */ |
| 67 | + --sidebar-bg: #e7e7e7; |
| 68 | + --sidebar-border-color: #efefef; |
| 69 | + /* Link on nav bar color */ |
| 70 | + /* --sidebar-muted-color: #545454; */ |
| 71 | + /* Default color of the links on the nav bar */ |
| 72 | + --sidebar-muted-color: #27272b; |
| 73 | + /* Color when a link is selected */ |
| 74 | + --sidebar-active-color: #eb9c5c; |
| 75 | + /* Hover over link color on nav bar */ |
| 76 | + /* --sidebar-hover-bg: rgb(223, 233, 241, 0.64); */ |
| 77 | + --sidebar-hover-bg: #125957; |
| 78 | + --sidebar-btn-bg: white; |
| 79 | + --sidebar-btn-color: #8e8e8e; |
| 80 | + /* Avatar border color around picture */ |
| 81 | + --avatar-border-color: #27272b; |
| 82 | + /* --topbar-bg: rgb(255, 255, 255, 0.7); */ |
| 83 | + --topbar-bg: #d4d4d4; |
| 84 | + --topbar-text-color: rgb(78, 78, 78); |
| 85 | + /* --search-border-color: rgb(240, 240, 240); apple */ |
| 86 | + --search-border-color: #27272b; |
| 87 | + --search-icon-color: #c2c6cc; |
| 88 | + /* --input-focus-border-color: #b8b8b8; apple */ |
| 89 | + --input-focus-border-color: #b8b8b8; |
| 90 | + --post-list-text-color: dimgray; |
| 91 | + --btn-patinator-text-color: #555555; |
| 92 | + --btn-paginator-hover-color: var(--sidebar-bg); |
| 93 | + --toc-highlight: #0550ae; |
| 94 | + /* --toc-popup-border-color: lightgray; apple */ |
| 95 | + --toc-popup-border-color: lightgray; |
| 96 | + --btn-share-color: gray; |
| 97 | + /* Button hover color for tags ? Not. */ |
| 98 | + /* --btn-share-hover-color: #0d6efd; */ |
| 99 | + --btn-share-hover-color: #1b8381; |
| 100 | + --card-bg: white; |
| 101 | + --card-hovor-bg: #e2e2e2; |
| 102 | + --card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0, |
| 103 | + rgba(211, 209, 209, 0.15) 0 0 0 1px; |
| 104 | + --footnote-target-bg: lightcyan; |
| 105 | + --tb-odd-bg: #fbfcfd; |
| 106 | + /* --tb-border-color: #eaeaea; apple */ |
| 107 | + --tb-border-color: #eaeaea; |
| 108 | + --dash-color: silver; |
| 109 | + --kbd-wrap-color: #bdbdbd; |
| 110 | + --kbd-text-color: var(--text-color); |
| 111 | + --kbd-bg-color: white; |
| 112 | + --prompt-text-color: rgb(46, 46, 46, 0.77); |
| 113 | + --prompt-tip-bg: rgb(123, 247, 144, 0.2); |
| 114 | + --prompt-tip-icon-color: #03b303; |
| 115 | + --prompt-info-bg: #e1f5fe; |
| 116 | + --prompt-info-icon-color: #0070cb; |
| 117 | + --prompt-warning-bg: rgb(255, 243, 205); |
| 118 | + /* Link highlight color maybe? Not. */ |
| 119 | + /* --prompt-warning-icon-color: #ef9c03; */ |
| 120 | + --prompt-warning-icon-color: #1b8381; |
| 121 | + --prompt-danger-bg: rgb(248, 215, 218, 0.56); |
| 122 | + --prompt-danger-icon-color: #df3c30; |
| 123 | + /* --tag-border: #dee2e6; apple */ |
| 124 | + --tag-border: #dee2e6; |
| 125 | + --tag-shadow: var(--btn-border-color); |
| 126 | + --tag-hover: rgb(222, 226, 230); |
| 127 | + --search-tag-bg: #f8f9fa; |
| 128 | + /*--categories-border: rgba(0, 0, 0, 0.125); apple */ |
| 129 | + --categories-border: rgba(47, 0, 255, 0.125); |
| 130 | + --categories-hover-bg: var(--btn-border-color); |
| 131 | + --categories-icon-hover-color: darkslategray; |
| 132 | + --timeline-color: rgba(0, 0, 0, 0.075); |
| 133 | + --timeline-node-bg: #c2c6cc; |
| 134 | + --timeline-year-dot-color: #ffffff; |
| 135 | + /* --language-border-color: #ececec; apple */ |
| 136 | + --language-border-color: #ececec; |
| 137 | + --highlight-bg-color: #f6f8fa; |
| 138 | + --highlighter-rouge-color: #3f596f; |
| 139 | + --highlight-lineno-color: #9e9e9e; |
| 140 | + --inline-code-bg: rgba(25, 25, 28, 0.05); |
| 141 | + --code-color: #3a3a3a; |
| 142 | + --code-header-text-color: #a3a3a3; |
| 143 | + --code-header-muted-color: #e5e5e5; |
| 144 | + --code-header-icon-color: #c9c8c8; |
| 145 | + --clipboard-checked-color: #43c743; |
| 146 | + } |
| 147 | +} |
| 148 | + |
| 149 | +/* Adjust the Side Bar Circle Size */ |
| 150 | +#sidebar #avatar { |
| 151 | + display: block; |
| 152 | + width: 10rem; |
| 153 | + height: 10rem; |
| 154 | + overflow: hidden; |
| 155 | + box-shadow: var(--avatar-border-color) 0 0 0 2px; |
| 156 | + transform: translateZ(0); |
| 157 | +} |
| 158 | + |
| 159 | +/* Override the Avatar Image to be 225 instead of 112 */ |
| 160 | +#avatar img { |
| 161 | + width: 250px; |
| 162 | + height: 175px; |
| 163 | +} |
| 164 | + |
| 165 | +/* This adjust where the circle is located */ |
| 166 | +/* |
| 167 | +@media all and (min-width: 576px) { |
| 168 | + #sidebar #avatar { |
| 169 | + width: 15rem; |
| 170 | + height: 15rem; |
| 171 | + } |
| 172 | +} |
| 173 | +*/ |
| 174 | + |
| 175 | +/* Modify Breadcrumb color */ |
| 176 | +#topbar #breadcrumb a:hover, |
| 177 | +.post-meta a:not([class]):hover, |
| 178 | +.content a:not(.img-link):hover { |
| 179 | + color: #1b8381 !important; |
| 180 | + border-bottom: 1px solid #1b8381; |
| 181 | + text-decoration: none; |
| 182 | +} |
| 183 | + |
| 184 | +/* For the button background highlight color on the side / tags */ |
| 185 | +.btn.btn-outline-primary:not(.disabled):hover { |
| 186 | + border-color: #eb9c5c !important; |
| 187 | + background-color: #eb9c5c; |
| 188 | +} |
| 189 | + |
| 190 | +/* Give rounded borders to the search bar */ |
| 191 | +#topbar-wrapper { |
| 192 | + border-radius: 10px; |
| 193 | +} |
| 194 | + |
| 195 | +/* Pad the top so the search bar doesn't touch the top of the website */ |
| 196 | +#main-wrapper { |
| 197 | + padding-top: 15px; |
| 198 | +} |
| 199 | + |
| 200 | +/* This is the background for the container that the post populate in, but not the post themselves */ |
| 201 | +/* |
| 202 | +#post-list { |
| 203 | + background-color: #d4d4d4; |
| 204 | +} */ |
| 205 | + |
| 206 | +/* Change the background color of posts */ |
| 207 | +#post-list .card-body { |
| 208 | + background-color: #d4d4d4; |
| 209 | +} |
0 commit comments