-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
457 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.