55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
66 < link href ="style.css " rel ="stylesheet ">
77 < link rel ="icon " type ="image/x-icon " href ="/img/favicon.ico? ">
8- < title > Minecraft 3DS Community • Home</ title >
8+ < link rel ="stylesheet " href ="plugins/flickity/flickity.css " media ="screen ">
9+ < script src ="plugins/flickity/flickity.pkgd.js "> </ script >
10+ < title > Home • Minecraft 3DS Community</ title >
911 < style >
1012 .header {
1113 overflow : visible;
2022 </ style >
2123</ head >
2224< body >
23- < script >
24- function generateVines ( ) {
25- const vinesContainer = document . getElementById ( 'vines' ) ;
26- vinesContainer . innerHTML = "" ;
27-
28- const vineWidth = 32 ;
29- const gap = 64 ;
30- const spacing = vineWidth + gap ;
31- const maxHeight = 5 ;
32- const minLeft = 360 ;
33-
34- const header = document . querySelector ( '.header' ) ;
35- const headerWidth = header . offsetWidth ;
36- vinesContainer . style . width = headerWidth + 'px' ;
37-
38- const availableWidth = headerWidth - minLeft ;
39- const totalColumns = Math . floor ( availableWidth / spacing ) ;
40-
41- for ( let i = 0 ; i < totalColumns ; i ++ ) {
42- if ( i % 4 === 0 ) continue ;
43- const vineHeight = Math . floor ( Math . random ( ) * maxHeight ) + 1 ;
44- const left = minLeft + i * spacing ;
45-
46- for ( let j = 0 ; j < vineHeight ; j ++ ) {
47- const vine = document . createElement ( 'img' ) ;
48- vine . src = 'img/bg/vine.png' ;
49- vine . style . width = vineWidth + 'px' ;
50- vine . style . position = 'absolute' ;
51- vine . style . left = `${ left } px` ;
52- vine . style . top = `${ j * vineWidth } px` ;
53- vine . style . display = 'block' ;
54- vinesContainer . appendChild ( vine ) ;
55- }
56- }
57- }
58-
59- window . addEventListener ( 'DOMContentLoaded' , generateVines ) ;
60-
61- let resizeTimeout ;
62- window . addEventListener ( 'resize' , ( ) => {
63- clearTimeout ( resizeTimeout ) ;
64- resizeTimeout = setTimeout ( ( ) => {
65- location . reload ( ) ;
66- } , 250 ) ;
67- } ) ;
68- </ script >
69-
70-
7125 < div style ="position: absolute; top: 0; left: 0; width: 100vw; height: 3.5em; display: flex; align-items: center; " class ="header ">
7226 < a href ="index.html " style ="text-indent: 1rem; ">
73- < span style ="color: white; font-size: 20pt; filter: drop-shadow(0 3px 3px black); margin-left: 20px; ">
27+ < span style ="color: white; font-size: 20pt; filter: drop-shadow(0 3px 3px black); margin-left: 45px; " class =" logo ">
7428 < img src ="img/New_Nintendo_3DS_Edition.webp " style ="width: 180px; vertical-align: middle; position: relative; bottom: 3px; image-rendering: auto; ">
7529 < span style ="position: absolute; display: inline-block; color: yellow; transform-origin: left; transform: translateX(-100px) translateY(25px) scale(0.65) rotate(-15deg); animation: scaleText 2s ease-in-out infinite; ">
7630 Community
8034
8135 < div id ="vines " class ="vines ">
8236 </ div >
37+
38+ < div class ="vines " id ="leftVines ">
39+ < img src ="img/bg/vine.png " style ="width: 32px; position: absolute; left: 32px; top: 0; ">
40+ < img src ="img/bg/vine.png " style ="width: 32px; position: absolute; left: 32px; top: 32px; ">
41+ </ div >
42+ <!--wyndchyme was here. These left vines will only appear on smaller video widths.-->
8343 </ div >
8444
8545
9151 < img src ="img/gui/expfull.png " class ="expImage " data-full ="img/gui/expfull.png " alt ="Expand ">
9252 </ span >
9353 < img src ="img/gui/exp.png " style ="position: absolute; ">
94- < span class ="dropDownItems " onclick ="window.location.href='index .html'; ">
54+ < span class ="dropDownItems " onclick ="window.location.href='404 .html'; ">
9555 < img src ="img/gui/unistore.png " style ="position: relative; bottom: 1px; "> Unistore
9656 < img src ="img/gui/expfull.png " class ="expImage " data-full ="img/gui/expfull.png ">
9757 </ span >
11676 < img src ="img/gui/expfull.png " class ="expImage " data-full ="img/gui/expfull.png ">
11777 </ span >
11878 < img src ="img/gui/exp.png " style ="position: absolute; ">
119- < img src ="img/gui/config.png " style ="position: absolute; right: 10px; bottom: 20px; width: 30px; ">
79+ < div class ="dropDownLinks ">
80+ < img src ="img/links/github.png " style ="position: absolute; right: 12px; bottom: 196px; width: 24px; " onclick ="window.location.href='https://github.com/Minecraft-3DS-Community'; ">
81+ < img src ="img/links/speedrun.png " style ="position: absolute; right: 10px; bottom: 160px; width: 28px; " onclick ="window.location.href='https://www.speedrun.com/mc3ds'; ">
82+ < img src ="img/links/twitter.png " style ="position: absolute; right: 12px; bottom: 130px; width: 23px; " onclick ="window.location.href='https://x.com/minecraft3ds_'; ">
83+ < img src ="img/links/reddit.png " style ="position: absolute; right: 13px; bottom: 93px; width: 23px; " onclick ="window.location.href='https://www.reddit.com/r/Minecraft3DS/'; ">
84+ < img src ="img/links/discord.png " style ="position: absolute; right: 10px; bottom: 55px; width: 30px; " onclick ="window.location.href='https://discord.com/invite/PcfekvmjSw'; ">
85+ < img src ="img/links/dev.png " style ="position: absolute; right: 12px; bottom: 26px; width: 25px; " onclick ="window.location.href='404.html'; ">
86+ </ div >
12087 </ div >
12188 </ div >
12289 < div class ="dropDownButton " id ="dropDownToggle ">
12390 < img src ="img/gui/arrow.png " style ="width: 32px; " id ="dropDownArrow ">
12491 </ div >
12592 </ div >
126-
12793
128- < script >
129- document . getElementById ( "dropDownToggle" ) . addEventListener ( "click" , function ( ) {
130- const container = document . querySelector ( ".dropDownContainer" ) ;
131- const arrow = document . getElementById ( "dropDownArrow" ) ;
94+ < script src =" scripts/main/dropdown.js " > </ script >
95+ < script src =" scripts/main/nodetails.js " > </ script >
96+ < script src =" scripts/main/vines.js " > </ script >
97+ < script src =" scripts/main/sidebarfit.js " > </ script >
13298
133- container . classList . toggle ( "closed" ) ;
134- arrow . classList . toggle ( "flipped" ) ;
135- } ) ;
136- </ script >
137-
138-
139- </ body >
140- </ html >
99+ </ body >
100+ </ html >
0 commit comments