stacker.news/styles/item.module.css

80 lines
1.3 KiB
CSS
Raw Normal View History

2021-04-28 19:30:14 +00:00
.comments {
2021-11-12 22:39:52 +00:00
margin-top: .5rem;
2021-04-28 19:30:14 +00:00
}
@media only screen and (max-width: 600px) {
.comments {
2021-11-12 22:39:52 +00:00
margin-top: .5rem;
2021-04-28 19:30:14 +00:00
margin-left: -15px;
margin-right: -15px;
}
2022-02-05 21:40:54 +00:00
}
.youtubeContainer {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
overflow: hidden;
}
.youtubeContainer iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
2022-02-12 14:06:41 +00:00
}
.twitterContainer {
margin-top: .25rem;
position: relative;
}
.twitterContained {
height: 200px;
overflow: hidden;
}
.twitterShowFull {
position: absolute;
bottom: 0;
left: 0;
border-radius: 0;
}
.tweetsSkeleton {
display: flex;
flex-flow: row wrap;
max-width: 550px;
width: 100%;
padding-right: 12px;
}
.tweetSkeleton {
width: 100%;
}
.tweetSkeleton {
border: 0.05rem solid var(--theme-borderColor);
border-radius: 12px;
height: 200px;
padding: 1.5rem;
}
.tweetSkeleton .img {
height: 48px;
width: 48px;
border-radius: 50%;
}
.tweetSkeleton .content1, .tweetSkeleton .content2 {
height: 50%;
margin-top: 1rem;
}
.tweetSkeleton .line {
height: 25%;
margin: 0.5rem 0;
width: 100%;
border-radius: .4rem;
}
.tweetSkeleton .line:last-child {
width: 75%;
}