From 0c61d5db370425725e0a977c65439a71ff8b3d61 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 11 Sep 2023 22:42:35 +0200 Subject: [PATCH] run autoformat --- README.md | 3 +- index.css | 38 ++++------ index.html | 200 ++++++++++++++++++++++++++++++++++------------------- index.js | 17 +++-- 4 files changed, 151 insertions(+), 107 deletions(-) diff --git a/README.md b/README.md index 0dce065..5c60bea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -IRS Satellite Software Website -======== +# IRS Satellite Software Website diff --git a/index.css b/index.css index 3a4f227..a453a1d 100644 --- a/index.css +++ b/index.css @@ -18,7 +18,7 @@ body { align-items: center; margin: 0; padding: 0; - margin-right:20px; + margin-right: 20px; } .navbar p { font-weight: bold; @@ -28,14 +28,12 @@ body { .navbar img { height: 60px; display: inline-block; - } .contact { text-decoration: none; color: white; } - .side-bar { width: 280px; height: 100%; @@ -54,7 +52,7 @@ body { color: #000; padding: 17px 30px; text-decoration: none; - text-size:16 + text-size: 16; } #fsfw-click { @@ -100,19 +98,17 @@ div#sat-rs-content { transform: translateY(50px); } -#fsfw-content img -{ - width:50%; - object-fit:contain; +#fsfw-content img { + width: 50%; + object-fit: contain; - height:auto; + height: auto; } -#sat-rs-content img -{ - width:30%; - object-fit:contain; - height:auto; +#sat-rs-content img { + width: 30%; + object-fit: contain; + height: auto; } #fsfw-links, @@ -151,13 +147,12 @@ div#sat-rs-content { } .links h1 { - margin:0; - margin-top:20px; - display:flex; + margin: 0; + margin-top: 20px; + display: flex; justify-content: center; } - .repo-container { border: 2px solid #000; margin: 20px; @@ -222,17 +217,14 @@ div#sat-rs-content { left: 0; bottom: 0; display: flex; - justify-content:center + justify-content: center; } .footer li { font-size: 14px; margin: 0; display: flex; - flex-direction text-align: center; - - } .footer ul li:not(:last-child) { @@ -244,5 +236,3 @@ div#sat-rs-content { color: #f5f5f5; transition: color 0.3s ease-in-out; } - - diff --git a/index.html b/index.html index 46283c0..6608df5 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + IRS Software Projects @@ -8,89 +8,145 @@
- -
- - -
- +
+ + diff --git a/index.js b/index.js index d4c9525..f61ec07 100644 --- a/index.js +++ b/index.js @@ -7,20 +7,19 @@ fsfw_click.addEventListener("click", () => { fsfw_content.style.display = "flex"; sat_content.style.display = "none"; - fsfw_click.style.backgroundColor = "#555" - fsfw_click.style.color = "white" - - sat_click.style.backgroundColor = "#f1f1f1" - sat_click.style.color = "#000" + fsfw_click.style.backgroundColor = "#555"; + fsfw_click.style.color = "white"; + sat_click.style.backgroundColor = "#f1f1f1"; + sat_click.style.color = "#000"; }); sat_click.addEventListener("click", () => { fsfw_content.style.display = "none"; sat_content.style.display = "flex"; - fsfw_click.style.backgroundColor = "#f1f1f1" - fsfw_click.style.color = "#000" - sat_click.style.backgroundColor = "#555" - sat_click.style.color = "white" + fsfw_click.style.backgroundColor = "#f1f1f1"; + fsfw_click.style.color = "#000"; + sat_click.style.backgroundColor = "#555"; + sat_click.style.color = "white"; });