feat: host tv + movies

This commit is contained in:
Cory Dransfeldt 2024-05-14 16:51:01 -07:00
parent 9b1528dda1
commit f0041e0525
No known key found for this signature in database
23 changed files with 1282 additions and 166 deletions

View file

@ -284,13 +284,13 @@ a svg:focus {
stroke: var(--accent-color-hover);
}
a.link-arrow svg {
a.link-icon svg {
stroke: var(--accent-color);
}
a.link-arrow:hover svg,
a.link-arrow:active svg,
a.link-arrow:focus svg {
a.link-icon:hover svg,
a.link-icon:active svg,
a.link-icon:focus svg {
transform: rotate(0deg);
stroke: var(--accent-color-hover);
}

View file

@ -23,6 +23,7 @@
@import url('./pages/links.css') layer(page);
@import url('./pages/now.css') layer(page);
@import url('./pages/post.css') layer(page);
@import url('./pages/watching.css') layer(page);
@import url('./pages/webrings.css') layer(page);
/* component styles */

View file

@ -0,0 +1,106 @@
.watching {
&.page-header {
margin-bottom: var(--sizing-base);
}
&.hero {
position: relative;
overflow: hidden;
span {
color: white;
font-weight: var(--font-weight-bold);
position: absolute;
left: var(--sizing-sm);
bottom: var(--sizing-md);
z-index: 2;
}
& img {
width: 100%;
height: auto;
border: 1px solid var(--accent-color);
}
&.shadow::after {
position: absolute;
z-index: 1;
content: '';
bottom: 10px;
left: 1px;
box-shadow: inset 0 -70px 75px -40px #000;
width: calc(100% - 2px);
height: calc(100% - 11px);
}
}
&.grid {
display: grid;
gap: var(--sizing-sm);
grid-template-columns: repeat(2,minmax(0,1fr));
& a,
& div {
display: flex;
}
& div {
position: relative;
}
& .meta-text {
position: absolute;
z-index: 2;
padding: 0 var(--sizing-sm);
bottom: var(--sizing-sm);
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
& .header,
& .subheader {
color: var(--color-lightest);
font-size: var(--font-size-xs);
line-height: 1.5;
text-shadow: rgba(0, 0, 0, 0.7) 0px 0px 10px;
}
& .header {
font-weight: var(--font-weight-bold);
}
}
& img {
width: 100%;
height: auto;
border: 1px solid var(--accent-color);
}
}
&.item {
position: relative;
width: 100%;
height: 100%;
position: relative;
display: flex;
overflow: hidden;
&.shadow::after {
position: absolute;
z-index: 1;
content: '';
top: 0;
left: 1px;
box-shadow: inset 0 -70px 75px -40px #000;
width: calc(100% - 2px);
height: calc(100% - 1px);
}
}
}
@media screen and (min-width: 768px) {
.watching.grid {
grid-template-columns: repeat(3,minmax(0,1fr))
}
}