mirror of
https://github.com/Alexander-D-Karpov/about.git
synced 2026-03-16 22:06:08 +03:00
262 lines
4.4 KiB
CSS
262 lines
4.4 KiB
CSS
.steam-section{
|
|
margin-top:16px;
|
|
}
|
|
|
|
.steam-section .plugin-header{
|
|
border:none !important;
|
|
box-shadow:none !important;
|
|
}
|
|
|
|
.current-game{
|
|
background:var(--paper);
|
|
border-radius:14px;
|
|
padding:16px;
|
|
margin:12px 0;
|
|
box-shadow:inset 0 0 0 1px var(--edge-0), var(--shadow);
|
|
}
|
|
|
|
.current-game-header{
|
|
display:flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
margin-bottom:12px;
|
|
}
|
|
|
|
.current-game-status{
|
|
font-weight:700;
|
|
font-size:13px;
|
|
color:var(--good);
|
|
}
|
|
|
|
.current-game-cover{
|
|
width:100%;
|
|
border-radius:10px;
|
|
overflow:hidden;
|
|
margin-bottom:12px;
|
|
box-shadow:0 4px 12px rgba(0,0,0,.25);
|
|
}
|
|
|
|
.game-cover-image{
|
|
width:100%;
|
|
height:auto;
|
|
display:block;
|
|
object-fit:cover;
|
|
}
|
|
|
|
.current-game-info{
|
|
display:flex;
|
|
flex-direction:column;
|
|
gap:10px;
|
|
}
|
|
|
|
.current-game-name{
|
|
font-weight:800;
|
|
font-size:18px;
|
|
color:var(--ink);
|
|
line-height:1.2;
|
|
}
|
|
|
|
.current-game-actions{
|
|
display:flex;
|
|
gap:8px;
|
|
}
|
|
|
|
.player-status{
|
|
background:var(--paper);
|
|
border-radius:12px;
|
|
padding:14px;
|
|
margin:12px 0;
|
|
box-shadow:inset 0 0 0 1px var(--edge-0);
|
|
}
|
|
|
|
.status-info{
|
|
display:flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
}
|
|
|
|
.games-list{
|
|
display:flex;
|
|
flex-direction:column;
|
|
gap:12px;
|
|
}
|
|
|
|
.game-item{
|
|
display:flex;
|
|
gap:14px;
|
|
padding:14px;
|
|
border-radius:12px;
|
|
background:var(--paper);
|
|
box-shadow:inset 0 0 0 1px var(--edge-0), var(--shadow);
|
|
transition:all .15s ease;
|
|
cursor:pointer;
|
|
position:relative;
|
|
}
|
|
|
|
.game-item:hover{
|
|
transform:translateY(-2px);
|
|
box-shadow:inset 0 0 0 1px var(--edge-1), 0 8px 24px rgba(0,0,0,.3);
|
|
}
|
|
|
|
.game-icon{
|
|
width:60px;
|
|
height:60px;
|
|
border-radius:10px;
|
|
object-fit:cover;
|
|
flex-shrink:0;
|
|
box-shadow:0 2px 8px rgba(0,0,0,.15);
|
|
}
|
|
|
|
.game-info{
|
|
flex:1;
|
|
display:flex;
|
|
flex-direction:column;
|
|
justify-content:center;
|
|
gap:6px;
|
|
min-width:0;
|
|
}
|
|
|
|
.game-name{
|
|
font-weight:800;
|
|
font-size:16px;
|
|
word-break:break-word;
|
|
color:var(--ink);
|
|
line-height:1.2;
|
|
}
|
|
|
|
.game-stats{
|
|
display:flex;
|
|
gap:12px;
|
|
flex-wrap:wrap;
|
|
color:var(--muted);
|
|
font:12px/1 var(--mono);
|
|
align-items:center;
|
|
}
|
|
|
|
.game-stats span{
|
|
background:rgba(255,255,255,.04);
|
|
padding:3px 7px;
|
|
border-radius:5px;
|
|
font-weight:600;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.game-actions{
|
|
display:flex;
|
|
flex-direction:column;
|
|
gap:8px;
|
|
align-self:center;
|
|
opacity:0;
|
|
transition:opacity .15s ease;
|
|
}
|
|
|
|
.game-item:hover .game-actions{
|
|
opacity:1;
|
|
}
|
|
|
|
.view-steam-btn{
|
|
padding:6px 10px;
|
|
background:var(--accent);
|
|
color:white;
|
|
border:none;
|
|
border-radius:6px;
|
|
font-size:11px;
|
|
font-weight:600;
|
|
cursor:pointer;
|
|
transition:all .15s ease;
|
|
text-decoration:none;
|
|
display:inline-flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
gap:4px;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.view-steam-btn:hover{
|
|
background:color-mix(in oklch, var(--accent) 90%, black);
|
|
transform:translateY(-1px);
|
|
}
|
|
|
|
.steam-profile-link{
|
|
margin-top:16px;
|
|
text-align:center;
|
|
}
|
|
|
|
.view-profile-btn{
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:6px;
|
|
padding:10px 16px;
|
|
background:linear-gradient(135deg, #171a21, #1b2838);
|
|
color:#66c0f4;
|
|
border:1px solid #2a475e;
|
|
border-radius:8px;
|
|
text-decoration:none;
|
|
font-size:13px;
|
|
font-weight:600;
|
|
transition:all .15s ease;
|
|
box-shadow:0 2px 8px rgba(0,0,0,.15);
|
|
}
|
|
|
|
.view-profile-btn:hover{
|
|
background:linear-gradient(135deg, #1b2838, #2a475e);
|
|
border-color:#66c0f4;
|
|
transform:translateY(-1px);
|
|
box-shadow:0 4px 12px rgba(0,0,0,.25);
|
|
}
|
|
|
|
.no-games{
|
|
text-align:center;
|
|
padding:40px 20px;
|
|
color:var(--muted);
|
|
}
|
|
|
|
@media (max-width:780px){
|
|
.current-game-name{
|
|
font-size:16px;
|
|
}
|
|
|
|
.game-item{
|
|
padding:12px;
|
|
gap:12px;
|
|
}
|
|
|
|
.game-icon{
|
|
width:50px;
|
|
height:50px;
|
|
}
|
|
|
|
.game-actions{
|
|
opacity:1;
|
|
position:static;
|
|
align-self:flex-start;
|
|
}
|
|
|
|
.game-name{
|
|
font-size:15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:520px){
|
|
.game-item{
|
|
flex-direction:column;
|
|
text-align:center;
|
|
gap:10px;
|
|
}
|
|
|
|
.game-icon{
|
|
align-self:center;
|
|
width:48px;
|
|
height:48px;
|
|
}
|
|
|
|
.game-actions{
|
|
align-self:center;
|
|
flex-direction:row;
|
|
}
|
|
|
|
.game-stats{
|
|
justify-content:center;
|
|
gap:8px;
|
|
}
|
|
} |