兮尘 commited on
Commit
6d9aa04
·
1 Parent(s): 18768dd

🗑️ [remove wiki-link from index.html]

Browse files
Files changed (1) hide show
  1. index.html +11 -39
index.html CHANGED
@@ -829,35 +829,6 @@
829
  border: 1px solid var(--accent-blue);
830
  }
831
 
832
- /* Wiki link bottom right */
833
- .wiki-link {
834
- position: fixed;
835
- bottom: 20px;
836
- right: 20px;
837
- display: flex;
838
- align-items: center;
839
- gap: 8px;
840
- padding: 10px 14px;
841
- background: var(--bg-secondary);
842
- border: 1px solid var(--border-color);
843
- color: var(--text-secondary);
844
- text-decoration: none;
845
- font-size: 12px;
846
- transition: all 0.2s ease;
847
- z-index: 100;
848
- }
849
-
850
- .wiki-link:hover {
851
- border-color: var(--accent-blue);
852
- color: var(--accent-blue);
853
- }
854
-
855
- .wiki-icon-svg {
856
- width: 20px;
857
- height: 20px;
858
- flex-shrink: 0;
859
- }
860
-
861
  /* Links panel */
862
  .panel-links {
863
  margin-top: auto;
@@ -1066,6 +1037,16 @@
1066
  </span>
1067
  <span class="link-text" data-i18n="wiki">E-JC Survey</span>
1068
  </a>
 
 
 
 
 
 
 
 
 
 
1069
  </div>
1070
  </div>
1071
  </div>
@@ -1142,15 +1123,6 @@
1142
  </div>
1143
  </div>
1144
 
1145
- <!-- Wiki link bottom right -->
1146
- <a href="https://en.wikipedia.org/wiki/Ramsey%27s_theorem" target="_blank" class="wiki-link" title="Wikipedia: Ramsey's Theorem">
1147
- <svg class="wiki-icon-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1148
- <circle cx="12" cy="12" r="10"></circle>
1149
- <path d="M12 16v-4"></path>
1150
- <path d="M12 8h.01"></path>
1151
- </svg>
1152
- <span class="wiki-text" data-i18n="wikiLink">Wikipedia</span>
1153
- </a>
1154
  </div>
1155
 
1156
  <script>
@@ -1265,7 +1237,7 @@
1265
  el.placeholder = t(key);
1266
  });
1267
  // Update wiki link URL based on language
1268
- const wikiLink = document.querySelector('.wiki-link');
1269
  if (wikiLink) {
1270
  wikiLink.href = wikiUrls[currentLang] || wikiUrls.en;
1271
  }
 
829
  border: 1px solid var(--accent-blue);
830
  }
831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
832
  /* Links panel */
833
  .panel-links {
834
  margin-top: auto;
 
1037
  </span>
1038
  <span class="link-text" data-i18n="wiki">E-JC Survey</span>
1039
  </a>
1040
+ <a href="https://en.wikipedia.org/wiki/Ramsey%27s_theorem" target="_blank" id="wikiLink">
1041
+ <span class="link-icon">
1042
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1043
+ <circle cx="12" cy="12" r="10"></circle>
1044
+ <path d="M12 16v-4"></path>
1045
+ <path d="M12 8h.01"></path>
1046
+ </svg>
1047
+ </span>
1048
+ <span class="link-text" data-i18n="wikiLink">Wikipedia</span>
1049
+ </a>
1050
  </div>
1051
  </div>
1052
  </div>
 
1123
  </div>
1124
  </div>
1125
 
 
 
 
 
 
 
 
 
 
1126
  </div>
1127
 
1128
  <script>
 
1237
  el.placeholder = t(key);
1238
  });
1239
  // Update wiki link URL based on language
1240
+ const wikiLink = document.getElementById('wikiLink');
1241
  if (wikiLink) {
1242
  wikiLink.href = wikiUrls[currentLang] || wikiUrls.en;
1243
  }