2017-09-01 19:29:50 +08:00
|
|
|
// Common styles for "user-info" component
|
|
|
|
.user-info {
|
|
|
|
display: inline-block;
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.user-image {
|
|
|
|
float: left;
|
|
|
|
padding-right: 4px;
|
2018-12-06 19:18:52 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-image-inner {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-detail {
|
|
|
|
float: left;
|
|
|
|
width: 70%;
|
|
|
|
padding-left: 5px;
|
2018-03-03 01:42:02 +08:00
|
|
|
@media screen and (max-width: 600px) {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-03-03 01:42:02 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.name-line {
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 00:25:14 +08:00
|
|
|
.bold a {
|
2017-09-01 19:29:50 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-03-12 00:25:14 +08:00
|
|
|
.margin a {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-left: 5px;
|
2021-03-12 00:25:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.name a,
|
|
|
|
.username a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high-or-secondary-low);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-top: 3px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
width: 333px;
|
2018-04-26 00:00:35 +08:00
|
|
|
@media screen and (max-width: $small-width) {
|
|
|
|
width: auto;
|
|
|
|
display: flex;
|
|
|
|
}
|
2017-12-12 04:40:04 +08:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.medium {
|
|
|
|
min-height: 60px;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.username,
|
|
|
|
.name {
|
2017-09-01 19:29:50 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-03-12 00:25:14 +08:00
|
|
|
.margin a {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-info {
|
|
|
|
min-height: 80px;
|
2018-03-03 01:42:02 +08:00
|
|
|
min-width: 250px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.granted-on {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-link {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|