update
This commit is contained in:
51
src/style.css
Normal file
51
src/style.css
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
.sci-fi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(30, 1fr);
|
||||
grid-template-rows: repeat(30, 1fr);
|
||||
gap: 2px;
|
||||
width: 900px;
|
||||
height: 900px;
|
||||
margin: 40px auto;
|
||||
perspective: 1200px;
|
||||
}
|
||||
|
||||
.sci-fi-card {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 0 8px #00ffe7, 0 0 2px #1a1a1a inset;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: 'Orbitron', 'Roboto', sans-serif;
|
||||
position: relative;
|
||||
transition: box-shadow 0.3s;
|
||||
overflow: hidden;
|
||||
}
|
||||
.sci-fi-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #00ffe7;
|
||||
box-shadow: 0 0 6px #00ffe7, 0 0 2px #00ffe7 inset;
|
||||
pointer-events: none;
|
||||
}
|
||||
.card-content {
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
}
|
||||
.card-content h2 {
|
||||
font-size: 0.6rem;
|
||||
letter-spacing: 1px;
|
||||
margin-bottom: 2px;
|
||||
text-shadow: 0 0 2px #00ffe7;
|
||||
}
|
||||
.card-content p {
|
||||
font-size: 0.4rem;
|
||||
color: #b3eaff;
|
||||
text-shadow: 0 0 1px #00ffe7;
|
||||
}
|
||||
Reference in New Issue
Block a user