Compare commits

...

2 commits

Author SHA1 Message Date
feibisi
14b3111096 Merge branch 'main' of https://feicode.com/feiCode/pages 2025-11-28 20:40:47 +08:00
feibisi
6470e72ebb 添加了深色模式和 favicon 2025-11-28 20:39:19 +08:00
2 changed files with 58 additions and 4 deletions

12
feicode_favicon.svg Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="631.5758 -25.6388 490.0442 419.9528" width="490.044px" height="419.953px">
<path fill="#21262D" opacity="1.000000" stroke="none" d="M 677.446 393.411 C 657.467 391.412 638.296 374.925 633.845 355.452 C 632.562 349.836 631.777 343.97 631.771 338.218 C 631.649 235.08 631.843 131.941 631.576 28.803 C 631.504 1.023 649.978 -19.729 671.919 -24.465 C 672.397 -24.568 672.84 -24.834 673.458 -25.355 C 807.304 -25.686 940.991 -25.686 1075.51 -25.564 C 1077.14 -25.265 1077.93 -25.053 1078.74 -24.917 C 1099.83 -21.37 1116.88 -4.315 1119.97 16.971 C 1120.07 24.045 1120.58 30.662 1120.59 37.279 C 1120.64 142.644 1120.63 248.009 1120.65 353.749 C 1114.04 374.408 1097.92 390.987 1074.56 393.459 C 945.351 393.333 816.638 393.322 687.922 393.318 C 684.43 393.318 680.938 393.378 677.446 393.411 M 1043.41 377.201 C 1043.41 377.201 1043.47 377.043 1044.41 377.217 C 1052.23 377.234 1060.06 377.273 1067.88 377.264 C 1084.16 377.244 1097.7 367.414 1103.65 351.447 C 1103.84 346.924 1104.02 342.402 1104.39 336.887 C 1104.41 335.388 1104.47 333.89 1104.47 332.391 C 1104.47 230.586 1104.48 128.781 1104.46 26.976 C 1104.46 6.332 1089.17 -8.877 1068.4 -8.879 C 940.601 -8.893 812.804 -8.893 685.006 -8.88 C 663.869 -8.878 648.785 6.196 648.783 27.29 C 648.773 131.761 648.773 236.232 648.783 340.703 C 648.784 361.446 664.688 377.256 685.563 377.26 C 762.209 377.273 838.854 377.267 915.499 377.254 C 917.321 377.254 919.151 377.082 920.911 377.172 C 920.911 377.172 920.741 377.237 920.851 378.043 C 921.991 378.467 923.131 379.258 924.281 379.26 C 962.761 379.325 1001.23 379.334 1039.71 379.23 C 1040.99 379.227 1042.26 377.981 1043.41 377.201 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#4C5054" opacity="1.000000" stroke="none" d="M 1074.56 393.459 C 1075.05 393.576 1074.99 394.037 1074.8 394.175 C 942.591 394.314 810.568 394.314 678.08 394.314 C 677.616 394.314 677.557 393.857 677.502 393.634 C 680.938 393.378 684.43 393.318 687.922 393.318 C 816.638 393.322 945.351 393.333 1074.56 393.459 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#34393E" opacity="1.000000" stroke="none" d="M 1119.97 16.971 C 1120.43 16.769 1120.73 17.025 1121.32 17.298 C 1121.62 129.001 1121.62 240.689 1121.62 352.845 C 1121.62 353.314 1121.13 353.363 1120.88 353.368 C 1120.63 248.009 1120.64 142.644 1120.59 37.279 C 1120.58 30.662 1120.07 24.045 1119.97 16.971 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#0171DC" opacity="1.000000" stroke="none" d="M 920.981 376.99 C 919.151 377.082 917.321 377.254 915.499 377.254 C 838.854 377.267 762.209 377.273 685.563 377.26 C 664.688 377.256 648.784 361.446 648.783 340.703 C 648.773 236.232 648.773 131.761 648.783 27.29 C 648.785 6.196 663.869 -8.878 685.006 -8.88 C 812.804 -8.893 940.601 -8.893 1068.4 -8.879 C 1089.17 -8.877 1104.46 6.332 1104.46 26.976 C 1104.48 128.781 1104.47 230.586 1104.47 332.391 C 1104.47 333.89 1104.41 335.388 1103.91 337.392 C 1084.27 337.918 1065.11 337.658 1045.96 338.129 C 1040.13 338.272 1038.14 335.546 1036.37 330.525 C 1045.16 330.525 1053.43 330.544 1061.71 330.519 C 1067.28 330.502 1070.48 327.781 1070.4 323.222 C 1070.32 319.181 1067.32 316.845 1061.94 316.82 C 1051.94 316.775 1041.94 316.988 1031.95 316.69 C 1029.46 316.615 1027.02 315.004 1024.55 314.099 C 1024.74 313.537 1024.93 312.976 1025.11 312.415 C 1033.4 312.415 1041.68 312.439 1049.96 312.406 C 1055.45 312.384 1058.34 309.721 1058.32 304.8 C 1058.3 299.991 1055.3 297.287 1049.85 297.272 C 1040.19 297.246 1030.52 297.061 1020.87 297.365 C 1016.5 297.503 1014.45 295.866 1013.8 291.386 C 1022.03 291.386 1030 291.411 1037.97 291.377 C 1043.35 291.354 1046.42 288.498 1046.31 283.727 C 1046.21 279.54 1043.83 277.67 1038.36 277.651 C 1028.87 277.616 1019.36 277.474 1009.87 277.73 C 1005.91 277.837 1004.07 276.28 1003.49 272.216 C 1004.89 272.093 1006.15 271.891 1007.41 271.885 C 1013.74 271.856 1020.08 271.82 1026.41 271.902 C 1030.79 271.958 1033.3 269.794 1034.12 265.637 C 1035.22 260.024 1032.42 256.603 1026.66 256.57 C 1017.17 256.515 1007.67 256.641 998.181 256.471 C 996.841 256.447 995.521 255.184 994.191 254.495 C 995.141 253.482 995.901 251.966 997.071 251.554 C 999.991 250.515 1003.05 249.623 1006.12 249.322 C 1009.92 248.949 1013.78 249.347 1017.61 249.202 C 1022.04 249.035 1025.27 246.076 1025.16 242.155 C 1025.04 237.563 1021.83 235.946 1017.85 235.516 C 1015.92 235.309 1013.96 235.48 1012.35 235.48 C 1012.35 225.569 1012.86 216.264 1012.21 207.04 C 1011.55 197.646 1008.15 195.637 999.251 199.113 C 963.941 212.917 927.241 221.982 890.677 231.557 C 884.821 233.091 879.079 235.798 873.885 238.952 C 866.27 243.576 862.473 250.863 862.458 259.911 C 862.444 268.574 862.356 277.24 862.495 285.901 C 862.697 298.48 871.348 308.573 883.809 310.49 C 888.052 311.143 892.44 310.935 896.764 310.97 C 904.702 311.035 912.64 310.989 920.981 310.989 C 920.981 333.428 920.981 355.209 920.981 376.99 M 829.381 148.05 C 824.129 141.021 818.224 134.376 813.79 126.864 C 808.284 117.537 806.757 106.897 806.486 96.071 C 806.237 86.11 798.411 78.708 788.762 78.79 C 779.215 78.871 771.571 86.625 771.569 96.547 C 771.569 101.03 771.903 105.541 772.461 109.992 C 779.285 164.521 827.839 204.539 883.1 201.252 C 937.671 198.006 981.051 152.595 981.681 98.047 C 981.811 86.989 974.631 78.978 964.441 78.811 C 954.551 78.648 947.091 86.42 946.621 97.079 C 945.311 126.833 931.401 148.751 904.075 160.508 C 877.332 172.013 852.265 167.218 829.381 148.05 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#FCFDFE" opacity="1.000000" stroke="none" d="M 920.941 377.081 C 920.981 355.209 920.981 333.428 920.981 310.989 C 912.64 310.989 904.702 311.035 896.764 310.97 C 892.44 310.935 888.052 311.143 883.809 310.49 C 871.348 308.573 862.697 298.48 862.495 285.901 C 862.356 277.24 862.444 268.574 862.458 259.911 C 862.473 250.863 866.27 243.576 873.885 238.952 C 879.079 235.798 884.821 233.091 890.677 231.557 C 927.241 221.982 963.941 212.917 999.251 199.113 C 1008.15 195.637 1011.55 197.646 1012.21 207.04 C 1012.86 216.264 1012.35 225.569 1012.35 235.48 C 1013.96 235.48 1015.92 235.309 1017.85 235.516 C 1021.83 235.946 1025.04 237.563 1025.16 242.155 C 1025.27 246.076 1022.04 249.035 1017.61 249.202 C 1013.78 249.347 1009.92 248.949 1006.12 249.322 C 1003.05 249.623 999.991 250.515 997.071 251.554 C 995.901 251.966 995.141 253.482 994.191 254.495 C 995.521 255.184 996.841 256.447 998.181 256.471 C 1007.67 256.641 1017.17 256.515 1026.66 256.57 C 1032.42 256.603 1035.22 260.024 1034.12 265.637 C 1033.3 269.794 1030.79 271.958 1026.41 271.902 C 1020.08 271.82 1013.74 271.856 1007.41 271.885 C 1006.15 271.891 1004.89 272.093 1003.49 272.216 C 1004.07 276.28 1005.91 277.837 1009.87 277.73 C 1019.36 277.474 1028.87 277.616 1038.36 277.651 C 1043.83 277.67 1046.21 279.54 1046.31 283.727 C 1046.42 288.498 1043.35 291.354 1037.97 291.377 C 1030 291.411 1022.03 291.386 1013.8 291.386 C 1014.45 295.866 1016.5 297.503 1020.87 297.365 C 1030.52 297.061 1040.19 297.246 1049.85 297.272 C 1055.3 297.287 1058.3 299.991 1058.32 304.8 C 1058.34 309.721 1055.45 312.384 1049.96 312.406 C 1041.68 312.439 1033.4 312.415 1025.11 312.415 C 1024.93 312.976 1024.74 313.537 1024.55 314.099 C 1027.02 315.004 1029.46 316.615 1031.95 316.69 C 1041.94 316.988 1051.94 316.775 1061.94 316.82 C 1067.32 316.845 1070.32 319.181 1070.4 323.222 C 1070.48 327.781 1067.28 330.502 1061.71 330.519 C 1053.43 330.544 1045.16 330.525 1036.37 330.525 C 1038.14 335.546 1040.13 338.272 1045.96 338.129 C 1065.11 337.658 1084.27 337.918 1103.82 337.888 C 1104.02 342.402 1103.84 346.924 1102.81 351.522 C 1082.54 351.596 1063.13 351.596 1043.47 351.596 C 1043.47 360.47 1043.47 368.756 1043.47 377.043 C 1043.47 377.043 1043.41 377.201 1043.01 377.242 C 1001.99 377.267 961.361 377.252 920.741 377.237 C 920.741 377.237 920.911 377.172 920.941 377.081 M 932.631 246.705 C 927.971 249.932 926.461 254.462 927.771 259.779 C 928.931 264.532 932.161 267.514 937.031 268.422 C 942.151 269.376 947.371 266.927 949.761 262.603 C 952.261 258.087 951.651 252.563 948.241 248.685 C 944.561 244.504 939.541 243.703 932.631 246.705 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#0572DB" opacity="1.000000" stroke="none" d="M 1043.94 377.13 C 1043.47 368.756 1043.47 360.47 1043.47 351.596 C 1063.13 351.596 1082.54 351.596 1102.44 351.724 C 1097.7 367.414 1084.16 377.244 1067.88 377.264 C 1060.06 377.273 1052.23 377.234 1043.94 377.13 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#14191F" opacity="1.000000" stroke="none" d="M 920.791 377.64 C 961.361 377.252 1001.99 377.267 1043.07 377.298 C 1042.26 377.981 1040.99 379.227 1039.71 379.23 C 1001.23 379.334 962.761 379.325 924.281 379.26 C 923.131 379.258 921.991 378.467 920.791 377.64 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#FCFDFF" opacity="1.000000" stroke="none" d="M 829.652 148.283 C 852.265 167.218 877.332 172.013 904.075 160.508 C 931.401 148.751 945.311 126.833 946.621 97.079 C 947.091 86.42 954.551 78.648 964.441 78.811 C 974.631 78.978 981.811 86.989 981.681 98.047 C 981.051 152.595 937.671 198.006 883.1 201.252 C 827.839 204.539 779.285 164.521 772.461 109.992 C 771.903 105.541 771.569 101.03 771.569 96.547 C 771.571 86.625 779.215 78.871 788.762 78.79 C 798.411 78.708 806.237 86.11 806.486 96.071 C 806.757 106.897 808.284 117.537 813.79 126.864 C 818.224 134.376 824.129 141.021 829.652 148.283 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
<path fill="#0974DD" opacity="1.000000" stroke="none" d="M 932.951 246.502 C 939.541 243.703 944.561 244.504 948.241 248.685 C 951.651 252.563 952.261 258.087 949.761 262.603 C 947.371 266.927 942.151 269.376 937.031 268.422 C 932.161 267.514 928.931 264.532 927.771 259.779 C 926.461 254.462 927.971 249.932 932.951 246.502 Z" style="stroke-width: 1;" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, -2.2737367544323206e-13, 0)"/>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -5,6 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>feiCode Pages</title>
<link rel="icon" href="https://feicode.com/assets/img/favicon.svg">
<style>
:root {
--primary-color: #0969da;
@ -14,6 +15,43 @@
--border-color: #d0d7de;
}

@media (prefers-color-scheme: dark) {
:root {
--primary-color: #58a6ff;
--text-color: #c9d1d9;
--bg-color: #0d1117;
--card-bg: #161b22;
--border-color: #30363d;
}

p {
color: #8b949e;
}

.domain-info {
background-color: rgba(56, 139, 253, 0.15);
border-color: rgba(56, 139, 253, 0.4);
color: #58a6ff;
}

.domain-info strong {
color: #c9d1d9;
}

.code-block {
background-color: #0d1117;
border-color: #30363d;
}

.footer {
color: #8b949e;
}

code {
background-color: rgb(0 0 0 / 30%);
}
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
background-color: var(--bg-color);
@ -58,7 +96,6 @@
}

.domain-info {
background-color: #ddf4ff;
border: 1px solid #54aeff;
border-radius: 6px;
padding: 12px;
@ -68,12 +105,17 @@
color: #0969da;
}

.domain-info strong {
color: #24292f;

code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(175, 184, 193, 0.2);
border-radius: 6px;
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
}

.code-block {
background-color: #f6f8fa;
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 16px;