stacker.news/components/item.module.css

113 lines
1.6 KiB
CSS
Raw Normal View History

2021-04-13 19:57:32 -05:00
.title {
font-weight: 500;
2021-04-14 18:56:29 -05:00
white-space: normal;
max-width: 100%;
2021-04-13 19:57:32 -05:00
}
2021-04-28 14:30:14 -05:00
.upvote {
2021-11-12 16:39:52 -06:00
margin-top: 3px;
2021-04-28 14:30:14 -05:00
}
2021-04-13 19:57:32 -05:00
.link {
font-size: 80%;
2021-04-14 18:56:29 -05:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 0 128px;
2021-04-13 19:57:32 -05:00
}
2022-01-07 10:32:31 -06:00
.pin {
2022-01-10 12:53:26 -06:00
fill: #a5a5a5;
2022-01-07 10:32:31 -06:00
margin-right: .2rem;
}
2022-02-17 11:23:43 -06:00
.case {
fill: #a5a5a5;
margin-right: .2rem;
margin-top: .2rem;
padding: 0 2px;
}
2021-09-15 18:42:44 -05:00
.linkSmall {
width: 128px;
display: inline-block;
vertical-align: text-top;
}
2021-09-11 11:45:20 -05:00
a.link:visited {
color: var(--theme-linkVisited) !important;
2021-09-11 11:45:20 -05:00
}
2021-04-13 19:57:32 -05:00
.other {
font-size: 80%;
color: var(--theme-grey);
margin-bottom: .15rem;
2021-04-14 18:56:29 -05:00
}
.item {
display: flex;
justify-content: flex-start;
min-width: 0;
2021-12-05 11:37:55 -06:00
}
.item .cover {
top: 4px;
2021-04-14 18:56:29 -05:00
}
.hunk {
overflow: hidden;
2021-04-28 11:30:02 -05:00
width: 100%;
2021-11-12 16:39:52 -06:00
margin-bottom: .3rem;
line-height: 1.06rem;
2021-04-14 18:56:29 -05:00
}
.main {
display: flex;
align-items: baseline;
}
.children {
2021-12-05 11:37:55 -06:00
margin-left: 28px;
2021-04-22 17:14:32 -05:00
}
.rank {
font-weight: 600;
2021-11-12 16:39:52 -06:00
margin-top: 4px;
2021-04-22 17:14:32 -05:00
display: flex;
color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
font-size: 90%;
}
.skeleton .other {
2021-11-12 16:39:52 -06:00
height: 14px;
2021-04-22 17:14:32 -05:00
align-items: center;
}
.skeleton .title {
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
width: 500px;
border-radius: .4rem;
2021-11-12 16:39:52 -06:00
height: 17px;
margin: 0;
2021-04-22 17:14:32 -05:00
}
.skeleton .link {
height: 14px;
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
width: 800px;
2021-04-28 17:52:03 -05:00
border-radius: .3rem;
2021-11-12 16:39:52 -06:00
margin: 2px 0px;
2021-04-22 17:14:32 -05:00
}
.skeleton .otherItem {
display: inline-flex;
width: 42px;
height: 70%;
2021-04-28 17:52:03 -05:00
border-radius: .27rem;
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
margin-right: .5rem;
}
.skeleton .otherItemLonger {
width: 60px;
2021-04-13 19:57:32 -05:00
}