mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-12 02:49:08 +03:00
40 lines
722 B
SCSS
40 lines
722 B
SCSS
.article-item {
|
|
border-radius: var(--border-radius-md);
|
|
text-decoration: none;
|
|
& a {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
column-gap: 10px;
|
|
color: var(--font-color);
|
|
padding: 8px 0;
|
|
& h3 {
|
|
font-size: var(--font-size-md);
|
|
font-weight: normal;
|
|
margin: 0;
|
|
}
|
|
& p {
|
|
font-size: var(--font-size-xs);
|
|
font-family: monospace;
|
|
color: var(--font-color-gray);
|
|
text-transform: uppercase;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 560px) {
|
|
.article-item {
|
|
margin-bottom: 10px;
|
|
& a {
|
|
flex-direction: column-reverse;
|
|
align-items: flex-start;
|
|
& p {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|