2021-01-24 23:24:49 +01:00
|
|
|
main {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.articles {
|
|
|
|
width: 100%;
|
2021-01-26 01:49:49 +01:00
|
|
|
height: 100%;
|
2021-01-24 23:24:49 +01:00
|
|
|
display: flex;
|
2021-01-26 01:49:49 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
overflow: auto;
|
2021-01-27 14:24:05 +01:00
|
|
|
padding: 0;
|
2021-01-24 23:24:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
|
|
|
display: block;
|
2021-01-26 01:49:49 +01:00
|
|
|
width: 100%;
|
|
|
|
max-height: 80%;
|
2021-01-27 14:29:02 +01:00
|
|
|
box-shadow: 0 1px 3px 1px #ccc;
|
2021-01-24 23:24:49 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: black !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article:hover {
|
2021-01-28 01:50:38 +01:00
|
|
|
box-shadow: 0 1px 4px 3px #989898;
|
2021-01-27 14:29:02 +01:00
|
|
|
opacity: 1;
|
2021-01-28 01:50:38 +01:00
|
|
|
border-radius: .5em;
|
2021-01-26 01:49:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 767px) {
|
|
|
|
.article {
|
2021-01-27 14:24:05 +01:00
|
|
|
max-height: 55%;
|
2021-01-26 01:49:49 +01:00
|
|
|
}
|
|
|
|
}
|
2021-01-24 23:24:49 +01:00
|
|
|
|
2021-01-26 01:49:49 +01:00
|
|
|
@media screen and (min-width: 640px) and (max-width: 767px) {
|
2021-01-24 23:24:49 +01:00
|
|
|
.article {
|
2021-01-26 01:49:49 +01:00
|
|
|
padding: 0 calc(1em + 7vw);
|
2021-01-24 23:24:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 01:49:49 +01:00
|
|
|
@media screen and (min-width: 768px) and (max-width: 979px) {
|
2021-01-24 23:24:49 +01:00
|
|
|
.article {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 01:49:49 +01:00
|
|
|
@media screen and (min-width: 980px) and (max-width: 1279px) {
|
2021-01-24 23:24:49 +01:00
|
|
|
.article {
|
2021-01-28 00:01:53 +01:00
|
|
|
width: 33.33%;
|
2021-01-24 23:24:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 01:49:49 +01:00
|
|
|
@media screen and (min-width: 1280px) and (max-width: 1599px) {
|
2021-01-24 23:24:49 +01:00
|
|
|
.article {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 01:49:49 +01:00
|
|
|
@media screen and (min-width: 1600px) {
|
2021-01-24 23:24:49 +01:00
|
|
|
.article {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .container {
|
|
|
|
height: 100%;
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image {
|
|
|
|
height: 35%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .title {
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: .4em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-25 19:13:08 +01:00
|
|
|
|
|
|
|
a:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2021-01-24 23:24:49 +01:00
|
|
|
.description {
|
|
|
|
color: rgba(0, 0, 0, 0.7);
|
2021-01-27 14:24:05 +01:00
|
|
|
font-size: .8em;
|
2021-01-24 23:24:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.published-date {
|
|
|
|
font-size: .8em;
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
margin: .5em 0 2em 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 40px 0 0;
|
|
|
|
}
|
|
|
|
|