예제 소스
오목으로 이해하는 자기대국과 모방 학습 · 파일 59개
MoreGames.module.css
.backdrop {
position: fixed;
inset: 0;
background: rgba(12, 8, 4, 0.72);
display: flex;
align-items: flex-end;
justify-content: center;
padding: 16px;
z-index: 80;
}
.sheet {
width: min(480px, 100%);
max-height: min(78dvh, 720px);
overflow: auto;
background: #221e19;
border: 1px solid #3a332c;
border-radius: 16px 16px 12px 12px;
padding: 18px;
display: flex;
flex-direction: column;
gap: 12px;
text-align: left;
}
.sheet h2 {
margin: 0;
color: #d4a574;
font-size: 1.35rem;
}
.sheet p {
margin: 0;
color: #a89880;
font-size: 0.9rem;
line-height: 1.45;
}
.list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.card {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
border-radius: 10px;
border: 1px solid #3a332c;
background: #1a1714;
text-decoration: none;
color: #f5f0e8;
}
.card:hover {
border-color: #d4a574;
}
.name {
font-weight: 700;
font-size: 15px;
color: #d4a574;
}
.url {
font-size: 12px;
color: #a89880;
word-break: break-all;
font-variant-numeric: tabular-nums;
}
.close {
background: #3a332c;
color: #f5f0e8;
border: 1px solid #5a5048;
border-radius: 8px;
padding: 12px;
font-weight: 600;
cursor: pointer;
}