From 04aeccb1503566e78e5d7184ea7455cd348c701c Mon Sep 17 00:00:00 2001 From: Aman Varma Date: Sat, 14 Sep 2024 10:53:38 +0530 Subject: [PATCH] created Community Page --- CSS/community.css | 255 +++++++++++++++++++++++++++++++++++++++ CSS/styles2.css | 1 - Pages/Resume-Wizard.html | 2 +- Pages/Roadmap.HTML | 2 +- Pages/community.html | 198 ++++++++++++++++++++++++++++++ Pages/profile.html | 2 +- index.html | 2 +- 7 files changed, 457 insertions(+), 5 deletions(-) create mode 100644 CSS/community.css create mode 100644 Pages/community.html diff --git a/CSS/community.css b/CSS/community.css new file mode 100644 index 0000000..ba281e3 --- /dev/null +++ b/CSS/community.css @@ -0,0 +1,255 @@ +body { + font-family: Arial, sans-serif; + background-color: #ffe5b4; + background-repeat: no-repeat; + background-size: cover; + background-position: center; + background-attachment: fixed; + overflow-x: hidden; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + min-height: 100vh; +} + +header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px 20px; + height: 28px; + background-color: #f8f8f8; + border-bottom: 1px solid #ddd; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} +.logo h1 a { + color: #e63946; + font-size: 24px; + text-decoration: none; +} + +.search-bar { + width: 40%; + margin: 0 20px; +} + +.search-bar input { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #ccc; + border-radius: 5px; +} + +nav ul { + list-style: none; + display: flex; + gap: 15px; +} + +nav ul li a { + text-decoration: none; + font-size: 18px; + color: #333; + padding: 8px 15px; + border-radius: 5px; + transition: background-color 0.3s ease; +} + +#profile { + border: 1px solid #e63946; + color: #e63946; +} + +nav ul li a:hover, +#profile:hover { + background-color: #e63946; + color: white; +} + +main { + display: flex; + margin: 20px; + flex: 1; + margin: 0; +} + +.sidebar { + width: 250px; + background-color: #ffdab9; + padding: 20px; + border-right: 1px solid #ddd; + position: sticky; + top: 0; + height: 100vh; + overflow-y: auto; +} + +.sidebar h2 { + margin-top: 0; + color: #e63946; +} + +.sidebar ul li a { + color: #333; + text-decoration: none; + padding: 10px; + border-radius: 5px; + background-color: #fff8e1; + display: block; + transition: background-color 0.3s ease; + margin-bottom: 8px; +} + +.sidebar ul li a:hover { + background-color: #ffe5b4; +} + +.content { + flex: 1; + padding: 20px; + background-color: #ffe5b4; +} + +.community-forum, +.virtual-events, +.live-chat { + margin-bottom: 30px; + background-color: #fff8e1; + padding: 15px; + border-radius: 8px; +} + +.community-forum h2, +.virtual-events h2, +.live-chat h2 { + border-bottom: 2px solid #333; + padding-bottom: 5px; + margin-bottom: 15px; +} + +.search-bar { + margin-bottom: 8px; +} + +.search-bar input[type="search"] { + width: 100%; + padding: 10px; + border: 1px solid #ddd; +} + +.forum, +.virtual-events .event { + border: 1px solid #ddd; + padding: 10px; + background-color: #fff; + margin-bottom: 10px; +} + +.thread, +.event { + margin-bottom: 15px; +} + +.thread h4, +.event h3 { + margin: 0; +} + +.author { + font-weight: bold; +} + +.reputation { + color: #777; + margin-left: 10px; +} + +#chat-container { + height: 300px; + overflow-y: auto; + border: 1px solid #ddd; + padding: 10px; + background-color: #fff; + margin-bottom: 10px; +} + +#chat-input { + width: calc(100% - 110px); + padding: 10px; + border: 1px solid #ddd; +} + +#send-message { + padding: 10px; + border: 1px solid #ddd; + background-color: #cc401c; + color: #fff; + cursor: pointer; +} + +#send-message:hover { + background-color: #de4d4d; +} + +footer { + background-color: #acabab; + padding: 20px; + color: #000000; + text-align: center; + padding: 8px; + height: 70px; +} + +footer nav ul { + margin-top: 15px; + display: flex; + justify-content: center; + list-style-type: none; +} + +footer nav ul li { + margin-left: 15px; +} + +footer nav ul li a { + color: #000000; + text-decoration: none; +} + +@media (max-width: 768px) { + header { + flex-direction: column; + } + + .search-bar { + margin: 10px 0; + } + + nav ul { + flex-direction: column; + align-items: center; + } +} + +#notification-popup { + display: none; + position: absolute; + top: 100px; + right: 40px; + width: 280px; + background-color: #f9f9f9; + box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); + padding: 15px; + border-radius: 8px; + z-index: 1; +} + +#notification-popup h3 { + margin-top: 0; +} + +#notification-popup p { + margin: 10px 0; +} \ No newline at end of file diff --git a/CSS/styles2.css b/CSS/styles2.css index b4e9de2..6f868a4 100644 --- a/CSS/styles2.css +++ b/CSS/styles2.css @@ -1,4 +1,3 @@ - * { margin: 0; padding: 0; diff --git a/Pages/Resume-Wizard.html b/Pages/Resume-Wizard.html index af6a15a..e25f1cc 100644 --- a/Pages/Resume-Wizard.html +++ b/Pages/Resume-Wizard.html @@ -17,7 +17,7 @@

UPSKILL