-
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.
- Loading branch information
1 parent
ae9bbcd
commit b385c17
Showing
4 changed files
with
156 additions
and
148 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
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,95 +1,119 @@ | ||
.news__list { | ||
display: flex; | ||
justify-content: space-evenly; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.news__card { | ||
width: 300px; | ||
height: 400px; | ||
min-height: 300px; | ||
margin: 20px; | ||
|
||
} | ||
.news__card:hover{ | ||
transition: all 1s; | ||
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; | ||
} | ||
.news__body { | ||
padding: 10px; | ||
} | ||
.news__body h4 { | ||
/* height: 40px; */ | ||
font-weight: 600; | ||
font-size: 15px; | ||
line-height: 130%; | ||
color: #02307d !important; | ||
} | ||
|
||
.news__body p { | ||
height: 60px; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 140%; | ||
color: rgba(2, 48, 125, 0.75); | ||
-webkit-box-orient: vertical; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 3; | ||
display: flex; | ||
justify-content: space-evenly; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.news__card { | ||
width: 300px; | ||
height: 400px; | ||
min-height: 300px; | ||
margin: 20px; | ||
margin: 5px; | ||
border: 1px solid rgba(0, 0, 255, 0.447); | ||
} | ||
.news__card:hover { | ||
transition: 0.5s; | ||
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; | ||
} | ||
|
||
.news__body { | ||
padding: 15px; | ||
} | ||
.news__body h4 { | ||
font-weight: 600; | ||
font-size: 15px; | ||
line-height: 130%; | ||
color: #02307d !important; | ||
width: 100%; | ||
height: 60px; | ||
/* white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: normal; | ||
} | ||
|
||
.news__body br + p { | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 130%; | ||
color: #41649d; | ||
text-overflow: ellipsis; */ | ||
|
||
white-space: pre-line; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 2; | ||
-webkit-box-orient: vertical; | ||
} | ||
|
||
.news__body p { | ||
font-weight: 400; | ||
margin: 0 !important; | ||
font-size: 14px; | ||
line-height: 140%; | ||
color: rgba(2, 48, 125, 0.75); | ||
} | ||
|
||
.news__body br + p { | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 130%; | ||
color: #41649d; | ||
display: block; | ||
margin-top: 10px; | ||
} | ||
|
||
.hj { | ||
width: 40px; | ||
margin: 20px auto !important; | ||
display: flex; | ||
justify-content: center; | ||
border-radius: 50%; | ||
border: 3px solid rgba(2, 48, 125, 0.75); | ||
} | ||
|
||
.news__item__card { | ||
width: 70%; | ||
height: auto; | ||
} | ||
.news__item__card img { | ||
padding: 10px; | ||
width: 50%; | ||
height: auto; | ||
} | ||
|
||
.news_photo { | ||
width: 300px; | ||
height: 200px; | ||
} | ||
|
||
.news__nav { | ||
width: calc(100% - 70%); | ||
display: flex; | ||
justify-content: right; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.news__nav__card { | ||
width: 300px; | ||
margin: 10px auto; | ||
border: 1px solid rgba(2, 48, 125, 0.75); | ||
padding: 10px; | ||
text-decoration: none; | ||
height: auto; | ||
} | ||
.elonDesc { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: flex-start; | ||
} | ||
.card__html__content img, | ||
.card__html__content iframe, | ||
.card__html__content video { | ||
max-width: 100%; | ||
} | ||
@media (max-width: 768px) { | ||
.elonDesc { | ||
display: block; | ||
margin-top: 10px; | ||
} | ||
|
||
.hj { | ||
width: 40px; | ||
margin: 20px auto !important; | ||
display: flex; | ||
justify-content: center; | ||
border-radius: 50%; | ||
border: 3px solid rgba(2, 48, 125, 0.75); | ||
} | ||
|
||
.news__item__card{ | ||
|
||
.news__item__card { | ||
width: 100%; | ||
height: auto; | ||
} | ||
.news__item__card img{ | ||
padding: 10px; | ||
width: 50%; | ||
height: auto; | ||
} | ||
|
||
|
||
.news_photo{ | ||
width: 300px; | ||
height: 200px; | ||
} | ||
|
||
.news__nav { | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.news__nav__card { | ||
width: 300px; | ||
margin: 10px auto; | ||
border: 1px solid rgba(2, 48, 125, 0.75); | ||
padding: 10px; | ||
border-radius: 10px; | ||
text-decoration: none; | ||
} | ||
} |
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