-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from 392-f24/create-posts
posting, styling
- Loading branch information
Showing
4 changed files
with
132 additions
and
84 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
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,90 +1,81 @@ | ||
.cafe-page-container { | ||
padding: 2rem; | ||
font-family: 'Hind Vadodara', sans-serif; | ||
} | ||
|
||
.cafe-header { | ||
margin-bottom: 2rem; | ||
border-bottom: 1px solid #ddd; | ||
padding-bottom: 1rem; | ||
text-align: center; | ||
} | ||
|
||
.cafe-header h1 { | ||
font-size: 2.5rem; | ||
color: #8A3323; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.cafe-header p { | ||
font-size: 1.2rem; | ||
} | ||
|
||
.posts-section { | ||
.review-section { | ||
margin-top: 2rem; | ||
padding: 1rem; | ||
background-color: #f9f9f9; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
} | ||
|
||
.posts-section h2 { | ||
.review-section h2 { | ||
font-size: 1.8rem; | ||
margin-bottom: 1rem; | ||
color: #8A3323; | ||
} | ||
.posts-list { | ||
list-style-type: none; | ||
padding: 0; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.post-item { | ||
padding: 1rem; | ||
.review-textarea { | ||
width: 100%; | ||
height: 100px; | ||
margin-bottom: 1rem; | ||
padding: 0.5rem; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
background-color: #fafafa; | ||
font-size: 1.1rem; | ||
font-family: 'Hind Vadodara', sans-serif; | ||
} | ||
|
||
.post-header { | ||
.category-dropdown { | ||
display: block; | ||
width: 100%; | ||
margin-bottom: 1rem; | ||
padding: 0.5rem; | ||
font-size: 1rem; | ||
color: #555; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
} | ||
|
||
.post-header strong { | ||
color: #8A3323; | ||
.submit-review-btn { | ||
background-color: #8A3323; | ||
color: white; | ||
padding: 0.6rem 1.2rem; | ||
font-size: 1rem; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
font-family: 'Hind Vadodara', sans-serif; | ||
} | ||
|
||
.post-content p { | ||
font-size: 1.2rem; | ||
color: #333; | ||
.submit-review-btn:hover { | ||
background-color: #6f291d; | ||
} | ||
|
||
.replies-section { | ||
.reply-section { | ||
margin-top: 1rem; | ||
padding-left: 20px; | ||
background-color: #f9f9f9; | ||
border-left: 3px solid #8A3323; | ||
padding-top: 0.5rem; | ||
border-top: 1px solid #ddd; | ||
} | ||
|
||
.replies-section h3 { | ||
font-size: 1.5rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.reply-item { | ||
margin-bottom: 0.8rem; | ||
font-size: 1.1rem; | ||
color: #333; | ||
.reply-textarea { | ||
width: 100%; | ||
height: 80px; | ||
margin-top: 0.5rem; | ||
padding: 0.5rem; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
font-size: 1rem; | ||
} | ||
|
||
.error-message { | ||
text-align: center; | ||
padding: 2rem; | ||
background-color: #ffebee; | ||
border: 1px solid #f44336; | ||
.reply-btn { | ||
margin-top: 0.5rem; | ||
background-color: #8A3323; | ||
color: white; | ||
padding: 0.4rem 0.8rem; | ||
font-size: 0.9rem; | ||
border: none; | ||
border-radius: 8px; | ||
color: #d32f2f; | ||
cursor: pointer; | ||
font-family: 'Hind Vadodara', sans-serif; | ||
} | ||
|
||
.error-message h1, | ||
.error-message h3 { | ||
color: #d32f2f; | ||
.reply-btn:hover { | ||
background-color: #6f291d; | ||
} |
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