2023-10-22 14:40:46 +03:00
|
|
|
.links-bar {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
2023-10-22 20:36:07 +03:00
|
|
|
padding: 16px 16px 20px 16px;
|
2023-10-22 14:40:46 +03:00
|
|
|
gap: 16px;
|
|
|
|
overflow-x: auto;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
transparent,
|
|
|
|
black 16px,
|
|
|
|
black calc(100% - 16px),
|
|
|
|
transparent
|
|
|
|
);
|
|
|
|
text-shadow: 0 1px var(--bg-blur-color);
|
|
|
|
transition: opacity 0.3s ease-out;
|
|
|
|
|
|
|
|
&:not(#columns &) {
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
width: 95vw;
|
|
|
|
max-width: calc(320px * 3.3);
|
|
|
|
transform: translateX(calc(-50% + var(--main-width) / 2));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-22 20:36:07 +03:00
|
|
|
& > header {
|
|
|
|
width: 1.2em;
|
|
|
|
white-space: nowrap;
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 90%;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
left: 0;
|
|
|
|
transform-origin: top left;
|
|
|
|
transform: rotate(-90deg) translateX(-100%);
|
|
|
|
user-select: none;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to left,
|
|
|
|
var(--text-color),
|
|
|
|
var(--link-color)
|
|
|
|
);
|
|
|
|
background-clip: text;
|
|
|
|
text-fill-color: transparent;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
}
|
2023-10-22 14:40:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
min-width: 240px;
|
2023-10-22 20:36:07 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 320px;
|
2023-10-22 14:40:46 +03:00
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 16px;
|
|
|
|
overflow: hidden;
|
2023-10-25 14:18:47 +03:00
|
|
|
background-color: var(--accent-alpha-color);
|
2023-10-22 14:40:46 +03:00
|
|
|
border: 4px solid transparent;
|
|
|
|
box-shadow: 0 4px 8px -2px var(--drop-shadow-color);
|
|
|
|
transition: all 0.15s ease-out;
|
|
|
|
display: flex;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
2023-10-25 14:18:47 +03:00
|
|
|
var(--accent-color, var(--link-text-color)) -50%,
|
2023-10-22 14:40:46 +03:00
|
|
|
transparent
|
|
|
|
);
|
|
|
|
background-clip: border-box;
|
|
|
|
background-origin: border-box;
|
2023-10-22 20:36:07 +03:00
|
|
|
min-height: 160px;
|
2023-10-22 14:40:46 +03:00
|
|
|
height: 320px;
|
2023-10-22 20:36:07 +03:00
|
|
|
max-height: 50vh;
|
2023-10-22 14:40:46 +03:00
|
|
|
|
|
|
|
&:not(:active):is(:hover, :focus-visible) {
|
2023-10-25 14:18:47 +03:00
|
|
|
border-color: var(--accent-color, var(--link-light-color));
|
2023-10-22 14:40:46 +03:00
|
|
|
box-shadow: 0 4px 8px var(--drop-shadow-color),
|
|
|
|
0 8px 16px var(--drop-shadow-color);
|
|
|
|
transform-origin: center bottom;
|
|
|
|
transform: scale(1.02);
|
|
|
|
|
|
|
|
img {
|
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
transition: none;
|
|
|
|
transform: scale(1.015);
|
|
|
|
filter: brightness(0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
2023-10-25 14:18:47 +03:00
|
|
|
var(--accent-alpha-color) 70%,
|
2023-10-22 14:40:46 +03:00
|
|
|
var(--bg-color) 100%
|
|
|
|
);
|
|
|
|
transition: background-position-y 0.15s ease-out;
|
|
|
|
|
|
|
|
&:is(:hover, :focus-visible) {
|
|
|
|
background-position-y: -40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0 0 -16px;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
vertical-align: top;
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(0, 0%, 0%) 0%,
|
|
|
|
hsla(0, 0%, 0%, 0.987) 14%,
|
|
|
|
hsla(0, 0%, 0%, 0.951) 26.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.896) 36.8%,
|
|
|
|
hsla(0, 0%, 0%, 0.825) 45.9%,
|
|
|
|
hsla(0, 0%, 0%, 0.741) 53.7%,
|
|
|
|
hsla(0, 0%, 0%, 0.648) 60.4%,
|
|
|
|
hsla(0, 0%, 0%, 0.55) 66.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.45) 71.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.352) 75.6%,
|
|
|
|
hsla(0, 0%, 0%, 0.259) 79.6%,
|
|
|
|
hsla(0, 0%, 0%, 0.175) 83.4%,
|
|
|
|
hsla(0, 0%, 0%, 0.104) 87.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.049) 91.1%,
|
|
|
|
hsla(0, 0%, 0%, 0.013) 95.3%,
|
|
|
|
hsla(0, 0%, 0%, 0) 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-body {
|
|
|
|
padding: 0 8px 8px;
|
|
|
|
line-height: 1.3;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-meta {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-size: 90%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .domain {
|
|
|
|
color: var(--link-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: inherit;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-wrap: balance;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
margin: 0;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|