diff --git a/profile.html b/profile.html index 3302041..13f7052 100644 --- a/profile.html +++ b/profile.html @@ -54,7 +54,7 @@

Friends List

Change Password

*********63

- +
@@ -93,6 +93,23 @@

Notifications

+ + + diff --git a/testp.css b/testp.css index d2cbe4e..1d4a59b 100644 --- a/testp.css +++ b/testp.css @@ -204,8 +204,81 @@ body { } -.button-container { +/* General styles for modal */ +.modal { + display: none; /* Hidden by default */ + position: fixed; /* Stay in place */ + z-index: 1; /* Sit on top */ + left: 0; + top: 0; + width: 100%; /* Full width */ + height: 100%; /* Full height */ + overflow: hidden; /* Enable scroll if needed */ + background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */ +} + +/* Modal Content */ +.modal-content { + background: rgb(244 237 227); + margin: 5% auto; + padding: 20px; + border: 1px solid #888; + width: 80%; + max-width: 500px; + border-radius: 8px; +} + +.close-btn { + color: #aaa; + font-size: 28px; + font-weight: bold; + position: absolute; + top: 10px; + right: 20px; + cursor: pointer; +} + +.close-btn:hover, +.close-btn:focus { + color: black; + text-decoration: none; + cursor: pointer; +} + +.modal-content form { + display: flex; + flex-direction: column; +} + +.modal-content form label { + margin: 10px 0 5px; + font-weight: bold; +} + +.modal-content form input { + padding: 10px; + margin-bottom: 15px; + border: 1px solid #ddd; + border-radius: 4px; +} + +.modal-content form button { + padding: 10px 20px; + background: rgb(51 51 51); + color: white; + border: none; + border-radius: 4px; + cursor: pointer; + border-radius: 5px; + transition: background 0.3s, transform 0.3s; +} +.modal-content form button:hover { + background-color: #000000; + transform: scale(1.05); +} + +.button-container { display: flex; justify-content: right; gap: 15px;