File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
66 < title > RoadNet Visualizer - 多层道路网络可视化</ title >
77 < link rel ="stylesheet " href ="/src/css/index.css " />
8+ < style >
9+ .github-link {
10+ position : fixed;
11+ top : 40px ;
12+ left : 50% ;
13+ transform : translateX (-50% );
14+ display : inline-flex;
15+ align-items : center;
16+ gap : 10px ;
17+ padding : 8px 14px ;
18+ border-radius : 10px ;
19+ background : rgba (255 , 255 , 255 , 0.08 );
20+ backdrop-filter : blur (8px );
21+ color : # cbd5e1 ;
22+ text-decoration : none;
23+ transition : background 0.2s ease, color 0.2s ease, transform 0.2s ease;
24+ z-index : 1000 ;
25+ font-weight : 600 ;
26+ }
27+ .github-link : hover {
28+ background : rgba (255 , 255 , 255 , 0.14 );
29+ color : # ffffff ;
30+ }
31+ .github-link svg {
32+ width : 20px ;
33+ height : 20px ;
34+ fill : currentColor;
35+ display : block;
36+ }
37+ </ style >
838 </ head >
939 < body >
40+ < a
41+ href ="https://github.com/Duri686/RoadNetVisualizer "
42+ class ="github-link "
43+ target ="_blank "
44+ rel ="noopener noreferrer "
45+ aria-label ="View project on GitHub "
46+ >
47+ < svg viewBox ="0 0 16 16 " aria-hidden ="true ">
48+ < path
49+ d ="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.54 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z "
50+ > </ path >
51+ </ svg >
52+ < span > GitHub repository</ span >
53+ </ a >
1054 < div class ="container ">
1155 <!-- 移动端:横向Tab导航(仅在小屏显示) -->
1256 < nav id ="mobile-tabs " aria-label ="主模块切换 " role ="tablist ">
You can’t perform that action at this time.
0 commit comments