From 05146ca521d73dcba40b8a582adec6b712eecaf0 Mon Sep 17 00:00:00 2001
From: Joshua Killen <45966243+joshua-killen@users.noreply.github.com>
Date: Sun, 12 Apr 2020 14:26:20 +0100
Subject: [PATCH] html5 validation for osi
---
main.css | 6 +-
networking/osi_model/osi_model.html | 142 ++++++------------
.../osi_model/osi_model_assets/osi_model.css | 59 +-------
.../osi_model/osi_model_assets/osi_model.js | 21 ---
sitewide_assets/bibliography.txt | 1 +
sitewide_assets/index.html | 0
sitewide_assets/navbar/navbar.css | 4 +-
7 files changed, 56 insertions(+), 177 deletions(-)
create mode 100644 sitewide_assets/bibliography.txt
delete mode 100644 sitewide_assets/index.html
diff --git a/main.css b/main.css
index 231e9a6..6699bd1 100644
--- a/main.css
+++ b/main.css
@@ -38,8 +38,8 @@ p {
color: white;
text-decoration: none;
text-align: center;
+}
-
-
-
+.uniLogo {
+ float: right;
}
\ No newline at end of file
diff --git a/networking/osi_model/osi_model.html b/networking/osi_model/osi_model.html
index 477cd4a..8834099 100644
--- a/networking/osi_model/osi_model.html
+++ b/networking/osi_model/osi_model.html
@@ -1,112 +1,68 @@
-
-
-
+
+
+
-
+
+
-
-
-
+
+
+
Networking-OSI Model: Z14IT-Internet Fundamentals
-
-
-
-
-
-
-
-
+
+
+
+
OSI Model
-
-
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/networking/osi_model/osi_model_assets/osi_model.css b/networking/osi_model/osi_model_assets/osi_model.css
index 7530f8c..851c75c 100644
--- a/networking/osi_model/osi_model_assets/osi_model.css
+++ b/networking/osi_model/osi_model_assets/osi_model.css
@@ -1,58 +1 @@
-.osiDrop {
- text-align: center;
- overflow: hidden;
-}
-
- .arrowOdd {
- background-color: blue;
- text-align: inherit;
-}
-
-.arrowEven {
- background-color: black;
- text-align: inherit;
-}
-
-.osiDrop .oddBtn {
- cursor: pointer;
- font-size: 16px;
- border: none;
- outline: none;
- color: #f2f2f2;
- background-color: blue;
- font-family: inherit;
- margin: 0;
-}
-
-.osiDrop .evenBtn {
- cursor: pointer;
- font-size: 16px;
- border: none;
- outline: none;
- color: #f2f2f2;
- background-color: black;
- font-family: inherit;
- margin: 0;
-}
-
-.osiODrop-content {
- display: none;
- position: absolute;
- background-color: blue;
- color: #ddd;
- min-width: 160px;
- z-index: 1;
-}
-
-.osiEDrop-content {
- display: none;
- position: absolute;
- background-color: blue;
- color: #ddd;
- min-width: 160px;
- z-index: 1;
-}
-
-.osiOshow {
- display: block;
-}
\ No newline at end of file
+=
\ No newline at end of file
diff --git a/networking/osi_model/osi_model_assets/osi_model.js b/networking/osi_model/osi_model_assets/osi_model.js
index fbe064f..e69de29 100644
--- a/networking/osi_model/osi_model_assets/osi_model.js
+++ b/networking/osi_model/osi_model_assets/osi_model.js
@@ -1,21 +0,0 @@
-function sevenDrop() {
- document.getElementById("sevenDrop").classList.toggle("osiOshow");
-}
-
-function webDrop() {
- document.getElementById("webDrop").classList.toggle("show");
-}
-
-window.onclick = function(e) {
- if (!e.target.matches('.sevenBtn')) {
- var myDropdown = document.getElementById("sevenDrop");
- if (myDropdown.classList.contains('osiOshow')) {
- myDropdown.classList.remove ('osiOshow');
- }
- }else if (!e.target.matches('.webDropBtn')) {
- var myDropdown = document.getElementById("webDrop");
- if (myDropdown.classList.contains('show')) {
- myDropdown.classList.remove('show');
- }
- }
-}
\ No newline at end of file
diff --git a/sitewide_assets/bibliography.txt b/sitewide_assets/bibliography.txt
new file mode 100644
index 0000000..89c2b88
--- /dev/null
+++ b/sitewide_assets/bibliography.txt
@@ -0,0 +1 @@
+sdfgsdfgsdg
\ No newline at end of file
diff --git a/sitewide_assets/index.html b/sitewide_assets/index.html
deleted file mode 100644
index e69de29..0000000
diff --git a/sitewide_assets/navbar/navbar.css b/sitewide_assets/navbar/navbar.css
index 725bf6f..e73cc10 100644
--- a/sitewide_assets/navbar/navbar.css
+++ b/sitewide_assets/navbar/navbar.css
@@ -45,7 +45,7 @@
margin: 0;
}
-.navBar .a:hover .dropDown .networkDropBtn {
+.networkDropBtn:hover {
background-color: #ddd;
color: black;
}
@@ -85,7 +85,7 @@
margin: 0;
}
-.navBar .a:hover .dropDown .webDropBtn {
+.navBar .webDropBtn:hover {
background-color: #ddd;
color: black;
}