2023-01-18 19:42:36 +03:00
|
|
|
/* Mentions list
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2023-02-20 20:27:21 +03:00
|
|
|
.gh-mentions-main-section {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
grid-gap: 32px;
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
2023-02-20 20:27:21 +03:00
|
|
|
.gh-mentions-list {
|
|
|
|
grid-column: span 2;
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
2023-02-23 18:38:01 +03:00
|
|
|
.gh-mentions-list.is-empty {
|
|
|
|
grid-column: span 3;
|
|
|
|
}
|
|
|
|
|
2023-01-18 19:42:36 +03:00
|
|
|
.gh-mention-card {
|
2023-02-20 20:27:21 +03:00
|
|
|
display: block;
|
2023-01-18 19:42:36 +03:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2023-02-20 20:27:21 +03:00
|
|
|
margin-bottom: 24px;
|
|
|
|
padding: 20px;
|
|
|
|
border: 1px solid #e6e9eb;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--midgrey);
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
2023-02-23 18:38:01 +03:00
|
|
|
.gh-mention-card:hover {
|
|
|
|
transition: box-shadow 0.1s ease-in;
|
|
|
|
box-shadow: 0 1px 4px -1px rgb(0 0 0 / 10%);
|
|
|
|
}
|
|
|
|
|
2023-02-20 20:27:21 +03:00
|
|
|
.gh-mention-header {
|
|
|
|
width: 100%;
|
2023-01-18 19:42:36 +03:00
|
|
|
display: flex;
|
2023-02-20 20:27:21 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1.35rem;
|
2023-02-28 16:37:27 +03:00
|
|
|
line-height: 1.2;
|
|
|
|
margin-bottom: 14px;
|
2023-02-20 20:27:21 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin-right: 6px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-publisher {
|
|
|
|
color: var(--middarkgrey);
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-link-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 6px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-link-icon svg path {
|
|
|
|
fill: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-your-link {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2023-01-18 19:42:36 +03:00
|
|
|
overflow: hidden;
|
2023-02-20 20:27:21 +03:00
|
|
|
}
|
|
|
|
|
2023-02-28 16:37:27 +03:00
|
|
|
.gh-mention-your-link.has-multiple-links {
|
|
|
|
border-bottom: 1px dashed var(--lightgrey);
|
|
|
|
margin-bottom: -2px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-multiple-links {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 13.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-multiple-links li:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-header .popover {
|
|
|
|
border: none;
|
|
|
|
/* border: 1px solid var(--whitegrey-l1); */
|
|
|
|
color: var(--darkgrey);
|
|
|
|
/* box-shadow: var(--shadow-1); */
|
|
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 8px 20px -3px rgba(0,0,0,.2);
|
|
|
|
padding: 12px 14px;
|
|
|
|
}
|
|
|
|
|
2023-02-20 20:27:21 +03:00
|
|
|
.gh-mention-timestamp {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-left: 32px;
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-content {
|
|
|
|
display: flex;
|
2023-02-20 20:27:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-source {
|
|
|
|
display: flex;
|
2023-01-18 19:42:36 +03:00
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 100%;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-title {
|
2023-02-20 20:27:21 +03:00
|
|
|
font-size: 1.8rem;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.3;
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-description {
|
|
|
|
display: -webkit-box;
|
2023-02-20 20:27:21 +03:00
|
|
|
font-size: 1.35rem;
|
2023-01-18 19:42:36 +03:00
|
|
|
line-height: 1.5em;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 400;
|
|
|
|
max-height: 44px;
|
|
|
|
overflow-y: hidden;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-metadata {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-02-20 20:27:21 +03:00
|
|
|
margin-top: auto;
|
|
|
|
padding-top: 22px;
|
2023-01-18 19:42:36 +03:00
|
|
|
width: 100%;
|
2023-02-20 20:27:21 +03:00
|
|
|
font-size: 1.35rem;
|
2023-01-18 19:42:36 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-publisher {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-author {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 240px;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: block;
|
|
|
|
line-height: 1.65em;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-thumbnail {
|
|
|
|
position: relative;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 28%;
|
2023-02-20 20:27:21 +03:00
|
|
|
min-height: 120px;
|
|
|
|
margin-left: 32px;
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mention-thumbnail img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2023-02-20 20:27:21 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
text-indent: -999999px;
|
2023-01-24 00:42:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-list-cta {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
padding: 4vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-list-cta .love-letter {
|
|
|
|
fill: var(--lightgrey);
|
|
|
|
width: 68px;
|
|
|
|
height: 68px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-list-cta h4 {
|
|
|
|
color: var(--black);
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-list-cta p {
|
|
|
|
max-width: 390px;
|
|
|
|
color: var(--midgrey);
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.45em;
|
|
|
|
margin: 0 0 20px;
|
|
|
|
padding: 0;
|
2023-02-20 20:27:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-explainer {
|
2023-02-23 18:38:01 +03:00
|
|
|
background: var(--main-color-content-greybg);
|
2023-02-20 20:27:21 +03:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-explainer h2 {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-explainer p {
|
|
|
|
color: var(--middarkgrey);
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1100px) {
|
|
|
|
.gh-mentions-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mentions-list {
|
|
|
|
grid-column: span 3;
|
|
|
|
}
|
2023-01-18 19:42:36 +03:00
|
|
|
}
|