diff --git a/css/global.css b/css/global.css new file mode 100644 index 0000000..6f92dcf --- /dev/null +++ b/css/global.css @@ -0,0 +1,33 @@ +ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; +} + +li { + float: left; +} + +li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +li a:hover { + background-color: #111; +} + +a { + text-decoration: none; +} +a:link, a:visited { + color: green; +} +a:hover { + color: red; +} diff --git a/css/posts.css b/css/posts.css index cddab2a..6ce4860 100644 --- a/css/posts.css +++ b/css/posts.css @@ -56,16 +56,6 @@ button { font-family: 'system-ui'; } -a { - text-decoration: none; -} -a:link, a:visited { - color: green; -} -a:hover { - color: red; -} - .post,.self { width: 50%; margin-left: 25%; diff --git a/views/changePW.html b/views/changePW.html index 6c67110..2a7b2f0 100644 --- a/views/changePW.html +++ b/views/changePW.html @@ -6,10 +6,16 @@ Change Password +
+

Current User: USER

diff --git a/views/index.html b/views/index.html index a754cfb..1932a95 100644 --- a/views/index.html +++ b/views/index.html @@ -1,5 +1,6 @@ + @@ -10,6 +11,11 @@
+ IPost is a revolutionary chatting website
featuring an innovative design
diff --git a/views/otheruser.html b/views/otheruser.html index 2a4a62d..db0f7cc 100644 --- a/views/otheruser.html +++ b/views/otheruser.html @@ -6,8 +6,14 @@ USERS Page + +

USER

Bio:

diff --git a/views/posts.html b/views/posts.html index 1682891..865b7df 100644 --- a/views/posts.html +++ b/views/posts.html @@ -4,11 +4,17 @@ Posts + +
Username:
diff --git a/views/user.html b/views/user.html index bc55943..573e30e 100644 --- a/views/user.html +++ b/views/user.html @@ -6,17 +6,21 @@ Logged In + +

Welcome Back!

User: USER


Bio:
- -

@@ -31,7 +35,7 @@ if(user["error"])bio=user["error"]; if(!bio)bio="wow such empty" document.getElementById("user").innerText = `User: ${username}`; - document.getElementById("bio").placeholder = bio; + document.getElementById("bio").placeholder = atob(bio); }