Skip to content

Commit

Permalink
created Community Page
Browse files Browse the repository at this point in the history
  • Loading branch information
amanV8 committed Sep 14, 2024
1 parent ceccac2 commit 04aeccb
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 5 deletions.
255 changes: 255 additions & 0 deletions CSS/community.css
Original file line number Diff line number Diff line change
@@ -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;
}
1 change: 0 additions & 1 deletion CSS/styles2.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

* {
margin: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion Pages/Resume-Wizard.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1><a href="../index.html">UPSKILL</a></h1>
<nav>
<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="#">Community</a></li>
<li><a href="../Pages/community.html">Community</a></li>
<li><a href="#" id="notification-btn">Notifications</a></li>
<li><a href="./profile.html" id="profile">Profile</a></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion Pages/Roadmap.HTML
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<nav>
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="#">Community</a></li>
<li><a href="../Pages/community.html">Community</a></li>
<li><a href="#" id="notification-btn">Notifications</a></li>
<li><a href="/Pages/profile.html" id="profile">Profile</a></li>
</ul>
Expand Down
Loading

0 comments on commit 04aeccb

Please sign in to comment.