stacker.news/components/item.module.css

86 lines
1.2 KiB
CSS
Raw Normal View History

2021-04-14 00:57:32 +00:00
.title {
font-weight: 500;
2021-04-14 23:56:29 +00:00
white-space: normal;
max-width: 100%;
2021-04-14 00:57:32 +00:00
}
2021-04-28 19:30:14 +00:00
.upvote {
margin-top: 9px;
}
2021-04-14 00:57:32 +00:00
.link {
font-size: 80%;
2021-04-14 23:56:29 +00:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 0 128px;
2021-04-14 00:57:32 +00:00
}
.other {
font-size: 70%;
color: grey;
2021-04-14 23:56:29 +00:00
}
.item {
display: flex;
justify-content: flex-start;
min-width: 0;
}
.hunk {
overflow: hidden;
2021-04-28 16:30:02 +00:00
width: 100%;
2021-04-14 23:56:29 +00:00
}
.main {
display: flex;
align-items: baseline;
}
.children {
margin-top: 1rem;
margin-left: 24px;
2021-04-22 22:14:32 +00:00
}
.rank {
font-weight: 600;
2021-04-28 19:30:14 +00:00
margin-top: 8px;
2021-04-22 22:14:32 +00:00
display: flex;
color: grey;
font-size: 90%;
min-width: 18px;
2021-04-22 22:14:32 +00:00
}
.skeleton .other {
height: 17px;
align-items: center;
}
.skeleton .title {
background-color: grey;
width: 500px;
border-radius: .4rem;
height: 19px;
margin: 3px 0px;
}
.skeleton .link {
height: 14px;
background-color: grey;
width: 800px;
2021-04-28 22:52:03 +00:00
border-radius: .3rem;
2021-04-22 22:14:32 +00:00
margin: 3px 0px;
}
.skeleton .otherItem {
display: inline-flex;
width: 42px;
height: 70%;
2021-04-28 22:52:03 +00:00
border-radius: .27rem;
2021-04-22 22:14:32 +00:00
background-color: grey;
margin-right: .5rem;
}
.skeleton .otherItemLonger {
width: 60px;
2021-04-14 00:57:32 +00:00
}