Created
December 2, 2019 13:52
-
-
Save manico/3f7c9421797b384e53a1e835b88833a2 to your computer and use it in GitHub Desktop.
Intera Article CSS
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
.articleItem { | |
padding: 12px; | |
margin-bottom: 12px; | |
background-color: #fff; | |
display: flow-root; | |
position: relative; | |
cursor: pointer; | |
text-decoration: none; | |
color: black; | |
.author { | |
position: absolute; | |
left: 150px; | |
background-color: #ccc; | |
border-radius: 4px; | |
padding: 2px 6px; | |
font-size: 14px; | |
} | |
.thumb { | |
width: 130px; | |
height: 130px; | |
float: left; | |
display: block; | |
margin-right: 12px; | |
} | |
.title { | |
font-size: 18px; | |
padding-top: 28px; | |
line-height: 24px; | |
height: 72px; | |
text-overflow: ellipsis; | |
overflow: hidden; | |
} | |
.date { | |
position: absolute; | |
left: 150px; | |
bottom: 12px; | |
background-color: #f0f0f0; | |
border-radius: 4px; | |
padding: 2px 6px; | |
font-size: 14px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment