From bf2d09cd27d122804dd5623ad2ee770a6e6cce8e Mon Sep 17 00:00:00 2001 From: Currency Date: Fri, 13 Dec 2024 11:40:08 +0100 Subject: [PATCH] added some functionality to the archive section needs a lot more work --- assets/diamond-icon.svg | 3 - assets/icons/bin.svg | 27 +++ assets/icons/file.svg | 4 + assets/icons/folder.svg | 12 + assets/icons/json.svg | 2 + assets/icons/ktx.svg | 4 + assets/icons/readme.svg | 12 + assets/icons/webp.svg | 8 + assets/icons/xml.svg | 12 + assets/ruby-icon.svg | 3 - assets/star-icon.png | Bin 2577 -> 0 bytes css/explorer.css | 157 +++++++++++++ index.html | 6 +- subpages/archives subpages/BIN/explorer.html | 46 ++++ subpages/archives subpages/BIN/explorer.js | 212 ++++++++++++++++++ subpages/archives subpages/JSON/explorer.html | 46 ++++ subpages/archives subpages/JSON/explorer.js | 212 ++++++++++++++++++ subpages/archives subpages/XML/explorer.html | 46 ++++ subpages/archives subpages/XML/explorer.js | 212 ++++++++++++++++++ archives.html => subpages/archives.html | 18 +- misc.html => subpages/misc.html | 8 +- tools.html => subpages/tools.html | 10 +- 22 files changed, 1033 insertions(+), 27 deletions(-) delete mode 100644 assets/diamond-icon.svg create mode 100644 assets/icons/bin.svg create mode 100644 assets/icons/file.svg create mode 100644 assets/icons/folder.svg create mode 100644 assets/icons/json.svg create mode 100644 assets/icons/ktx.svg create mode 100644 assets/icons/readme.svg create mode 100644 assets/icons/webp.svg create mode 100644 assets/icons/xml.svg delete mode 100644 assets/ruby-icon.svg delete mode 100644 assets/star-icon.png create mode 100644 css/explorer.css create mode 100644 subpages/archives subpages/BIN/explorer.html create mode 100644 subpages/archives subpages/BIN/explorer.js create mode 100644 subpages/archives subpages/JSON/explorer.html create mode 100644 subpages/archives subpages/JSON/explorer.js create mode 100644 subpages/archives subpages/XML/explorer.html create mode 100644 subpages/archives subpages/XML/explorer.js rename archives.html => subpages/archives.html (81%) rename misc.html => subpages/misc.html (90%) rename tools.html => subpages/tools.html (91%) diff --git a/assets/diamond-icon.svg b/assets/diamond-icon.svg deleted file mode 100644 index a0023b9..0000000 --- a/assets/diamond-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/assets/icons/bin.svg b/assets/icons/bin.svg new file mode 100644 index 0000000..2a72a9c --- /dev/null +++ b/assets/icons/bin.svg @@ -0,0 +1,27 @@ + + + + + + + + + + \ No newline at end of file diff --git a/assets/icons/file.svg b/assets/icons/file.svg new file mode 100644 index 0000000..9ae14d3 --- /dev/null +++ b/assets/icons/file.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/assets/icons/folder.svg b/assets/icons/folder.svg new file mode 100644 index 0000000..58c5f26 --- /dev/null +++ b/assets/icons/folder.svg @@ -0,0 +1,12 @@ + + + + folder + + + + + + + + \ No newline at end of file diff --git a/assets/icons/json.svg b/assets/icons/json.svg new file mode 100644 index 0000000..b1a45a3 --- /dev/null +++ b/assets/icons/json.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/assets/icons/ktx.svg b/assets/icons/ktx.svg new file mode 100644 index 0000000..6d82e67 --- /dev/null +++ b/assets/icons/ktx.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/assets/icons/readme.svg b/assets/icons/readme.svg new file mode 100644 index 0000000..020306c --- /dev/null +++ b/assets/icons/readme.svg @@ -0,0 +1,12 @@ + + + + audit-report + + + + + + + + \ No newline at end of file diff --git a/assets/icons/webp.svg b/assets/icons/webp.svg new file mode 100644 index 0000000..bb09821 --- /dev/null +++ b/assets/icons/webp.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/assets/icons/xml.svg b/assets/icons/xml.svg new file mode 100644 index 0000000..d82d381 --- /dev/null +++ b/assets/icons/xml.svg @@ -0,0 +1,12 @@ + + + + xml-document + + + + + + + + \ No newline at end of file diff --git a/assets/ruby-icon.svg b/assets/ruby-icon.svg deleted file mode 100644 index d129570..0000000 --- a/assets/ruby-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/assets/star-icon.png b/assets/star-icon.png deleted file mode 100644 index d073827d3a126bb39e0c9c7783951a655d548e3d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2577 zcmV+s3hwoZP)VqH_NZBbGv znv^OPd{)e(MjRjQGp^r4lpwq49@@j=bqO+7k(qZ#-eT&z!$Fn1-MIY-rcyicnLX)%80FR7&V;@x6~_?w1P6?5E-<3_*t=xS|oj!)OzYFn8C^=syK(xckaG zUY%vJki1P>`=6=&x8ujP>$(gKyh+T8n6E}Nxn@6aicPKh;+D^qZ~Xh`3XMV0=)gC& z5-cEsMgf*mN0OJry{kFctBRi%arHz;O|?MM6$nJ|4Ft-vJ#D4be`y+Ddau6y-k*1DiC@p=?5aYp7Za8P1O|*!7y&GcycOY7 zkNpYnj*QURxtT;o1;gL}K3(Hu)OB?5`r9XoKlA{1{{Fp8Pp3I@D=SU=$O)$-GxaZOd}H(n@9VP1kM(?x&fO2v(AbDZ@r$`) zjN!_aD=4LCYinnIe2nqupXctD7Mz+IoW(`rz}2x2xR9)8$Nv4eLCA#*7pSkVr*&N` zO8;_CT*iHm(Zh#$@bX)%li~quf1TcwuuM;4cA7WG(o}Egpti1-h#kSUZEV{{L>L_% zrK+lmR4T>0KRrz3zybO?HG@bK(K&Yrl=)W*9=&&?wO zfia}Z5^UYNmC2zY@>_dxrqh%eA!0&wV9>q?K|tR3!1I~SEpdBe13&Hmchn<~FnVf` zwnQ0@78F9Vx`wt(Lv(oyMBE}0_+SD=z%~FPn7~IuL#=`?5w6T$W80&T)4Hw=traIv z4pJx-sOs(E+O-*yflrw+Xffz8zzPh60TKj=A7aF?n8~oFuaBvzDIR$AF*>`t2z;NB zkx|}zR44l6VEv>}jF;Fl&GfT~F zO-!A5gEg@jYAKKQe6+uOIljk|=TQuNRK#X7U!ds^A7^GZL#ic(Qi`)@&oXxChkPOX z0S$hh&~x!ZgN0x#&@g1*NHc+DR~l5{Qj4&A;Sxt*{1yYTN(!Nn+;}H@9(jZx{?%X8 zUSqN3I79^$hJrB^!hogFuxJbkWsy$ZMo-5kzWvNIjQ;CkqFT{fT;L1-9Cbkf0v`!O zL_XYGY}7ItwYup91{HeL7|kBJ#%N6y*}L~}Et4f0jncex2ieh4;=YGvgitAr7;<5V zV<4{tI|!)!%ntJTJR7^aX{fHE=FNYm*Sk)_D?;EQrEVe$lv-XG)T)Lot4oLoCJZsI zL)0nII(>=s(U%dWn4Fqq!_J*dW*5k6m^2~Nfk!3`$%rs7A%r1mV_3hfkIR>?5Q)XP ze(Y5?&5RRq3K-Xg(10xGw-Qitvl;6fFH&O4&5xK6@q7}l!|yGn;lwe{pF25M=_&jn5r-+|C=*Qv^Xk%YzRwJUxkJZh~rA)(g-yY~I8|cAg*zXxq?E z?9yon1C%MX)f;wXSx-uCT#2dG!46+6oGkESpgR z;mXe|&FilZuzr0T$@XU4OJ^usF`*O&Ff20(fk;UorEX3hx}R6KrFKFWjHRTECeb;Nanpu2EE1j&W ztYp{k?&7xY9&`27Z+$BmyLj>KvGfat&?FpD)N0L+GNI0vRmmqeNeLht*4VJUOgQ5x z&bfv%w72)wH(tKl-~VV$qRO71pQpC27BMnfm#qEE`|i7UpsTAZ7mLMAEEePH)eqta z5B|d|BO~X&rj*(>Ha4bZN1v{E>`!OfyE^~z$9^8HhelRR9J#hA5JtoWO>QM zQVN<<5xXlcwAqUP3Kb)xBX+W`Zp+1s7g6Yi>gwvh?e6aSyWP7#Ke2AzI>)x{pyYL3 zUteEnYil1odi3a@_4oHbR4f#pIC=6^vZtrJ=iK@8cFIoO?_wC!4tFN#3fM8_{`-^7>D2%sQ#@NOfy=wORNIhc=#u#mku_q=b?D_e5y)qMgl>D#9 nBma}}PjaeqtNOo@Upx743DhW{9A+^X00000NkvXXu0mjfiqrj+ diff --git a/css/explorer.css b/css/explorer.css new file mode 100644 index 0000000..f947932 --- /dev/null +++ b/css/explorer.css @@ -0,0 +1,157 @@ +/* Repository Explorer Specific Styles */ +.repo-explorer { + padding: 50px 5%; + max-width: 1400px; + margin: 0 auto; +} + +.file-tree { + background-color: rgba(75, 93, 103, 0.2); + border: 2px solid var(--accent-color); + border-radius: 12px; + padding: 20px; + margin-bottom: 30px; +} + +.file-item { + display: flex; + align-items: center; + padding: 10px; + transition: background-color 0.3s ease; + cursor: pointer; +} + +.file-item:hover { + background-color: rgba(75, 93, 103, 0.3); +} + +.file-icon { + margin-right: 15px; + width: 24px; + height: 24px; +} + +.file-name { + flex-grow: 1; +} + +.file-size { + color: var(--accent-color); + margin-left: 15px; +} + +.breadcrumb { + display: flex; + align-items: center; + margin-bottom: 20px; + color: var(--text-color); +} + +.breadcrumb-item { + display: flex; + align-items: center; + margin-right: 10px; +} + +.breadcrumb-item:not(:last-child)::after { + content: '›'; + margin-left: 10px; + color: var(--accent-color); +} + +.breadcrumb-item a { + color: var(--primary-color); + text-decoration: none; + transition: color 0.3s ease; +} + +.breadcrumb-item a:hover { + color: #32ff32; +} + +/* Responsive adjustments */ +@media (max-width: 768px) { + .file-item { + flex-direction: column; + align-items: flex-start; + } + + .file-size { + margin-left: 40px; + margin-top: 5px; + } +} + +.readme-section { + background-color: rgba(75, 93, 103, 0.2); + border: 2px solid var(--accent-color); + border-radius: 12px; + padding: 30px; +} + +.readme-content { + font-family: 'Inter', sans-serif; + line-height: 1.6; + color: var(--text-color); +} + +.readme-content h1, +.readme-content h2, +.readme-content h3 { + color: var(--primary-color); + margin-bottom: 15px; + font-family: 'Space Grotesk', sans-serif; +} + +.readme-content h1 { font-size: 2rem; } +.readme-content h2 { font-size: 1.5rem; } +.readme-content h3 { font-size: 1.25rem; } + +.readme-content p { + margin-bottom: 15px; +} + +.readme-content a { + color: var(--primary-color); + text-decoration: none; + transition: color 0.3s ease; +} + +.readme-content a:hover { + color: #32ff32; + text-decoration: underline; +} + +.readme-content code { + background-color: rgba(75, 93, 103, 0.3); + padding: 2px 5px; + border-radius: 4px; + font-family: 'Courier New', monospace; +} + +.readme-content pre { + background-color: rgba(75, 93, 103, 0.3); + padding: 15px; + border-radius: 8px; + overflow-x: auto; + margin-bottom: 15px; +} + +.readme-content ul, +.readme-content ol { + margin-bottom: 15px; + padding-left: 30px; +} + +.readme-content img { + max-width: 100%; + height: auto; + border-radius: 8px; + margin: 15px 0; +} + +@media (max-width: 768px) { + .readme-content h1 { font-size: 1.5rem; } + .readme-content h2 { font-size: 1.25rem; } + .readme-content h3 { font-size: 1rem; } +} \ No newline at end of file diff --git a/index.html b/index.html index f2e6719..65b72ce 100644 --- a/index.html +++ b/index.html @@ -20,15 +20,15 @@