diff --git a/index.css b/index.css index ac18238..ef548d2 100644 --- a/index.css +++ b/index.css @@ -87,16 +87,11 @@ body { } - - - - - .fsfw-desc { - margin-top: 40px; + margin-top: 60px; } -#fsfw-content { +#fsfw-content, #sat-rs-content { display: flex; flex-direction: column; justify-content: flex-start; @@ -106,19 +101,21 @@ body { transform: translateY(90px); } -#fsfw-links { +#fsfw-links, #sat-rs-links { display: flex; align-items: center; } .develop a, -.master a { +.master a, +.links a { text-decoration: none; color: #000; } .develop li, -.master li { +.master li, +.links li { list-style: none; border: 2px solid #000; margin: 20px; @@ -151,3 +148,19 @@ body { padding-left: 170px; transform: translateY(90px); } + + +#sat-rs-content.hidden { + display: none; +} +#sat-rs-content.visible { + display: none; +} +#fsfw-content.visable { + display:flex; +} + +#fsfw-content.hidden { + display:none + +} \ No newline at end of file diff --git a/index.html b/index.html index 6ca545b..87fe9e8 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@
-
+

FSFW blab la bl abla bla bl fff ff ff ff ffffff ffff ff ff fffff ffffs args dfd fg hdfh gdf tjgf kgi kkkkk kkkk kk kkfd sfd sfdsf dsfssr tzj hl zigfd fdsf fff ffff fff ff ff ff ff f ff fff f ff f ff ff ffff ff f

@@ -42,19 +42,22 @@
+
+ + -
+ +
diff --git a/index.js b/index.js index cd2ff9f..38cc5aa 100644 --- a/index.js +++ b/index.js @@ -4,12 +4,11 @@ const sat_content = document.getElementById("sat-rs-content"); const fsfw_content = document.getElementById("fsfw-content"); fsfw_click.addEventListener("click", () => { - fsfw_content.style.display = "block"; // Show the fsfw content - sat_content.style.display = "none"; // Hide the sat content + fsfw_content.style.display = "flex"; + sat_content.style.display = "none"; }); sat_click.addEventListener("click", () => { - fsfw_content.style.display = "none"; // Hide the fsfw content - sat_content.style.display = "block"; // Show the sat content - + fsfw_content.style.display = "none"; + sat_content.style.display = "flex"; });