-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/ode 67 content container for blog #32
Closed
nguyenvl179
wants to merge
13
commits into
integration
from
feature/ODE-67-content-container-for-blog
Closed
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
458b875
Content container for blog
nguyenvl179 f1ba070
Edit content container
nguyenvl179 00551b8
Edit content container
nguyenvl179 8e0994c
Fix name of element
nguyenvl179 d53e185
Commit
nguyenvl159 f3417f4
Commit
nguyenvl159 287408d
Create README.md
nguyenvl179 2ec0850
Commit
nguyenvl159 69fa3ee
Merge branch 'feature/ODE-67-content-container-for-blog' of https://g…
nguyenvl159 6b8d171
Change some feature
nguyenvl159 c093b9c
Fix color using lower-case, change reponsive mobile.
nguyenvl159 a7a4796
Change name of class
nguyenvl159 f09d5a2
Change main tag
nguyenvl159 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
# blog-fe | ||
# blog-fe |
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,221 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-family: 'Roboto', sans-serif; | ||
font-size: 14px; | ||
font-weight: 400; | ||
} | ||
|
||
a { | ||
color: #111111; | ||
text-decoration: none; | ||
} | ||
|
||
.container { | ||
max-width: 960px; | ||
margin: 0px auto; | ||
} | ||
|
||
.postContain { | ||
position: relative; | ||
padding: 35px 0px 21px 40px; | ||
background: #fefefe; | ||
} | ||
|
||
.postContain::after { | ||
content: ""; | ||
width: 1px; | ||
height: 100%; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
background: #6A6A6A; | ||
} | ||
|
||
.post { | ||
margin-top: 30px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.03); | ||
padding: 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
.postImg img { | ||
width: 100%; | ||
object-fit: cover; | ||
border-radius: 7px; | ||
} | ||
|
||
.postImg { | ||
width: 271px; | ||
border-radius: 25px; | ||
} | ||
|
||
.postMain { | ||
padding-left: 32px; | ||
box-sizing: border-box; | ||
flex-basis: 50%; | ||
flex-grow: 1; | ||
} | ||
|
||
.postCategory { | ||
margin-top: 0px; | ||
padding: 5px 10px; | ||
background: #262626; | ||
display: inline-block; | ||
color: #FBFBFB; | ||
font-size: 11px; | ||
margin-top: 10px; | ||
} | ||
|
||
.postTitle { | ||
display: block; | ||
margin-top: 13px; | ||
font-size: 26px; | ||
font-weight: 700; | ||
} | ||
|
||
.postDescription { | ||
margin-top: 6px; | ||
font-size: 17px; | ||
color: #333333; | ||
font-weight: 100; | ||
} | ||
|
||
.postInfoShare { | ||
display: flex; | ||
padding: 5px 0px; | ||
margin-top: 10px; | ||
} | ||
|
||
.postInfo { | ||
padding-right: 10px; | ||
font-weight: 100; | ||
} | ||
|
||
.postInfo a { | ||
font-weight: 700; | ||
} | ||
|
||
.postShare { | ||
padding-left: 10px; | ||
border-left: 1px solid #000000; | ||
text-decoration: underline; | ||
font-weight: 100; | ||
} | ||
|
||
.pagination { | ||
margin-top: 30px; | ||
} | ||
|
||
.paginate { | ||
display: flex; | ||
list-style: none; | ||
} | ||
|
||
.paginate a { | ||
display: block; | ||
margin: 0px 5px; | ||
font-size: 20px; | ||
} | ||
|
||
.paginateContain { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.arrowPaginate { | ||
margin: 0px 10px; | ||
cursor: pointer; | ||
padding: 5px 8px; | ||
} | ||
|
||
.txtTitle { | ||
color: #262626; | ||
position: absolute; | ||
left: -155px; | ||
top: 10px; | ||
font-size: 21px; | ||
} | ||
|
||
.txtTitle span { | ||
letter-spacing: 0.15rem; | ||
} | ||
|
||
.arrowStories { | ||
display: inline-block; | ||
width: 25px; | ||
height: 10px; | ||
} | ||
|
||
.arrowStories img { | ||
width: 100%; | ||
display: block; | ||
transform: rotate(-90deg); | ||
} | ||
|
||
@media only screen and (max-width: 767px) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok ok, I fixed. |
||
.postContain { | ||
padding: 0px 32px; | ||
border: none; | ||
} | ||
|
||
.post { | ||
padding: 24px 0px; | ||
padding-bottom: 0px; | ||
position: relative; | ||
} | ||
|
||
.post::before { | ||
content: ""; | ||
width: 100%; | ||
height: 1px; | ||
background: #6A6A6A; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
} | ||
|
||
.postMain { | ||
width: 100%; | ||
} | ||
|
||
.postImg { | ||
width: 100%; | ||
position: relative; | ||
padding-bottom: 100%; | ||
} | ||
|
||
.postImg img { | ||
height: 100%; | ||
width: 100%; | ||
left: 0; | ||
top: 0; | ||
position: absolute; | ||
} | ||
|
||
.postMain { | ||
padding: 16px 0px 24px 0px; | ||
} | ||
|
||
.txtTitle { | ||
left: 50%; | ||
top: -30px; | ||
transform: translateX(-50%); | ||
} | ||
|
||
.arrowStories { | ||
display: none; | ||
} | ||
|
||
.postContain::after { | ||
display: none; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our coding convention, hex code for color using lower-case characters and numbers. Fix this to #6a6a6a.
Find and edit similar errors in your files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok ok. I fixed.