feat(plugins/steam): add plugin (#1400) [skip ci]

This commit is contained in:
Simon Lecoq
2023-03-13 19:37:00 -04:00
committed by GitHub
parent 78709320de
commit b85fa234dd
14 changed files with 2825 additions and 1 deletions

View File

@@ -1049,6 +1049,88 @@
border-radius: 7px;
}
/* Steam */
.steam .games {
margin-left: 28px;
}
.steam .media {
display: flex;
margin-bottom: 4px;
width: 450px;
}
.steam .media img {
margin: 0 10px;
border-radius: 7px;
}
.steam .media > img {
height: 32px;
width: 32px;
}
.steam .media .about {
flex-grow: 1;
}
.steam .media .name {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
line-height: 14px;
color: #58a6ff;
}
.steam .media .infos {
font-size: 12px;
color: #666666;
display: flex;
align-items: center;
justify-content: space-between;
}
.steam .media .infos > div {
display: inline-flex;
align-items: center;
margin-right: 16px;
}
.steam .media .infos svg {
fill: currentColor;
height: 12px;
width: 12px;
margin: 0;
margin-right: 4px;
}
.steam .media .achievement img {
height: 22px;
width: 22px;
margin-right: 6px;
}
.steam .media .achievement .name {
display: flex;
justify-content: space-between;
}
.steam .media .achievement .name > div:first-child {
max-width: 280px;
}
.steam .media .achievement .description {
overflow: hidden;
text-overflow: ellipsis;
display: block;
width: 344px;
max-height: 38px;
font-size: 12px;
white-space: normal;
/* May not work in all browsers */
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.steam .media .achievement .unlocked {
font-size: 12px;
color: #666666;
font-style: italic;
flex-shrink: 0;
}
.steam .media .achievement .ellipsis {
margin-left: 18px;
}
/* Licenses */
.licenses {
display: flex;