Files
GameList/wwwroot/css/layout.css

155 lines
2.9 KiB
CSS

.page {
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
min-height: 100vh;
background-color: transparent;
position: relative;
overflow-x: hidden;
overflow-y: auto;
isolation: isolate;
}
.page::before {
content: "";
position: fixed;
inset: 0;
background-image: url("../background.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
z-index: -1;
pointer-events: none;
}
.lang-field {
margin-top: 8px;
}
.lang-switch {
position: relative;
display: inline-block;
}
.lang-button {
border: 1px solid #d5c7b5;
background: #fffaf3;
border-radius: 10px;
padding: 6px 10px;
cursor: pointer;
font-size: 16px;
font-weight: 400;
font-style: normal;
}
.lang-menu {
position: absolute;
left: 0;
top: calc(100% + 6px);
background: #fffaf3;
border: 1px solid #e3d4bd;
border-radius: 10px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
padding: 6px;
display: flex;
flex-direction: column;
gap: 4px;
z-index: 50;
}
.lang-menu button {
border: 1px solid #d5c7b5;
background: #ffffff;
border-radius: 8px;
padding: 6px 10px;
text-align: left;
cursor: pointer;
font-family: "Noto Color Emoji", "Twemoji Country Flags", emoji, sans-serif;
}
.status-bar {
display: flex;
width: 100%;
justify-content: space-between;
gap: 30px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #e3d4bd;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
padding: 10px 14px;
}
.status-left,
.status-center,
.status-right {
display: flex;
align-items: center;
gap: 10px;
}
.status-center {
flex-wrap: wrap;
justify-content: center;
}
.logo-mark {
height: 65px;
margin: -10px;
width: auto;
}
.counts {
color: #5f513b;
font-size: 13px;
}
.phase-bar {
display: none;
}
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
width: 100%;
max-width: 1280px;
}
.suggest-grid {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: 16px;
align-items: start;
}
.suggest-grid .card-grid {
grid-template-columns: 1fr;
}
.phase-header {
background: rgba(255, 255, 255, 0.9);
border: 1px solid #e3d4bd;
border-radius: 12px;
padding: 12px 16px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
margin-bottom: 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.phase-text {
display: flex;
flex-direction: column;
gap: 4px;
}
.phase-header h2 {
margin: 0;
}
.phase-header .hint {
margin: 0;
}
@media (max-width: 1200px) {
.grid {
min-width: auto;
width: 100%;
}
.suggest-grid {
grid-template-columns: 1fr;
}
}