stacker.news/components/item.module.css

148 lines
2.1 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
}
a.title:visited {
color: var(--theme-grey) !important;
}
2021-04-28 19:30:14 +00:00
.upvote {
2021-11-12 22:39:52 +00:00
margin-top: 3px;
2021-04-28 19:30:14 +00:00
}
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
}
.newComment {
color: var(--theme-grey) !important;
background: var(--theme-clickToContextColor) !important;
}
2022-01-07 16:32:31 +00:00
.pin {
2022-01-10 18:53:26 +00:00
fill: #a5a5a5;
2022-01-07 16:32:31 +00:00
margin-right: .2rem;
}
2022-09-21 19:57:36 +00:00
.dontLike {
fill: #a5a5a5;
margin-right: .2rem;
padding: 2px;
margin-left: 1px;
}
2022-02-17 17:23:43 +00:00
.case {
fill: #a5a5a5;
margin-right: .2rem;
margin-top: .2rem;
padding: 0 2px;
}
2021-09-15 23:42:44 +00:00
.linkSmall {
width: 128px;
display: inline-block;
vertical-align: text-top;
}
2021-09-11 16:45:20 +00:00
a.link:visited {
color: var(--theme-linkVisited) !important;
2021-09-11 16:45:20 +00:00
}
2021-04-14 00:57:32 +00:00
.other {
font-size: 80%;
color: var(--theme-grey);
2021-04-14 23:56:29 +00:00
}
.item {
display: flex;
justify-content: flex-start;
min-width: 0;
2022-08-18 19:19:01 +00:00
padding-bottom: .45rem;
2022-07-21 22:55:05 +00:00
}
.item .companyImage {
border-radius: 100%;
align-self: center;
margin-right: 0.5rem;
margin-left: 0.3rem;
2021-12-05 17:37:55 +00:00
}
2022-06-02 23:25:21 +00:00
.itemDead {
pointer-events: none;
opacity: .5;
}
2021-12-05 17:37:55 +00:00
.item .cover {
top: 4px;
2021-04-14 23:56:29 +00:00
}
.hunk {
2022-09-21 19:57:36 +00:00
min-width: 0;
2021-04-28 16:30:02 +00:00
width: 100%;
line-height: 1.06rem;
2021-04-14 23:56:29 +00:00
}
2022-07-21 22:55:05 +00:00
/* .itemJob .hunk {
align-self: center;
}
.itemJob .rank {
align-self: center;
} */
2021-04-14 23:56:29 +00:00
.main {
display: flex;
align-items: baseline;
}
.children {
2021-12-05 17:37:55 +00:00
margin-left: 28px;
2021-04-22 22:14:32 +00:00
}
.rank {
font-weight: 600;
2021-11-12 22:39:52 +00:00
margin-top: 4px;
2021-04-22 22:14:32 +00:00
display: flex;
color: var(--theme-grey);
2021-04-22 22:14:32 +00:00
font-size: 90%;
}
.skeleton .other {
2021-11-12 22:39:52 +00:00
height: 14px;
2021-04-22 22:14:32 +00:00
align-items: center;
}
.skeleton .title {
background-color: var(--theme-grey);
2021-04-22 22:14:32 +00:00
width: 500px;
border-radius: .4rem;
2021-11-12 22:39:52 +00:00
height: 17px;
margin: 0;
2021-04-22 22:14:32 +00:00
}
.skeleton .link {
height: 14px;
background-color: var(--theme-grey);
2021-04-22 22:14:32 +00:00
width: 800px;
2021-04-28 22:52:03 +00:00
border-radius: .3rem;
2021-11-12 22:39:52 +00:00
margin: 2px 0px;
2021-04-22 22:14:32 +00:00
}
.skeleton .otherItem {
display: inline-flex;
width: 42px;
height: 70%;
2021-04-28 22:52:03 +00:00
border-radius: .27rem;
background-color: var(--theme-grey);
2021-04-22 22:14:32 +00:00
margin-right: .5rem;
}
.skeleton .otherItemLonger {
width: 60px;
2021-04-14 00:57:32 +00:00
}