STYLE Introducing styles
This commit is contained in:
parent
4a6d176279
commit
e55fc71486
27
resources/css/components/news-card.css
Normal file
27
resources/css/components/news-card.css
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.latest-news-swiper {
|
||||
padding: 20px 40px;
|
||||
}
|
||||
|
||||
.news-card {
|
||||
@apply border-primary border;
|
||||
}
|
||||
|
||||
.news-image img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.news-content {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.news-content h3 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.news-excerpt {
|
||||
font-size: 0.9em;
|
||||
color: #666;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user