concortex/style.css
Korbo Duo 320fca53cb init
2025-09-18 21:55:13 +09:00

118 lines
1.9 KiB
CSS
Executable File

@font-face {
font-family: 'SauceCodePro NF';
src: url('fonts/SauceCodeProNerdFont-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.nerd-icon {
font-size: 32px;
color: #333;
}
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
background: #323232;
user-select: none;
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('images/bg.png') center center / contain no-repeat;
background-size: auto;
z-index: 0;
pointer-events: none;
}
.logo-header {
font-family: 'SauceCodePro NF', serif;
font-size: 48px;
color: white;
position: relative;
z-index: 1;
}
.logo-header img {
max-width: 200px;
width: 40%;
height: auto;
display: block;
}
.center-image {
position: relative;
z-index: 1;
margin-top: 20px;
resize: none;
}
.center-image img {
max-width: 250px;
width: 50%;
height: auto;
display: block;
margin: 0 auto;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 120px);
grid-template-rows: repeat(3, 120px);
gap: 40px;
margin-top: 20px;
z-index: 1;
}
.grid-item {
font-family: 'SauceCodePro NF', serif;
background: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 12px;
font-size: 38px;
color: #333;
transition: transform 0.2s, background 0.2s;
}
.grid-item:hover {
transform: scale(0.9);
background: #f0f0f0;
}
.grid-item a.grid-link {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
text-decoration: none;
color: inherit;
font-size: 38px;
transform: translateX(-2px);
}
.grid-item:hover a.grid-link {
color: #000;
}
.grid-item:empty {
background: transparent;
pointer-events: none;
}