You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1005 B
CSS
47 lines
1005 B
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inconsolata', monospace;
|
|
color:lightblue;
|
|
font-weight: 400;
|
|
background-color: black;
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
.wrapper {
|
|
display: grid;
|
|
|
|
}
|
|
|
|
.flex-container {
|
|
margin-top: 20px;
|
|
margin-left: 4vw;
|
|
margin-right: 4vw;
|
|
flex-wrap: wrap;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr); /* 4 columns */
|
|
grid-template-rows: repeat(4, 1fr); /* 4 rows */
|
|
gap: 2px; /* Gap between grid items */
|
|
}
|
|
|
|
/* Style for each div within the grid */
|
|
.flex-container > div {
|
|
width: calc(25% - 10px); /* 25% width for each div with 10px gap */
|
|
height: 100px; /* Set height as needed */
|
|
background-color: rgba(51, 51, 51, 0.84); /* Background color */
|
|
margin-bottom: 10px; /* Add some space at the bottom */
|
|
text-align: center; /* Center text */
|
|
line-height: 100px; /* Vertically center text */
|
|
padding: 2px;
|
|
border-radius: 5px;
|
|
min-width: 22vw;
|
|
min-height: 24vh;
|
|
text-shadow: 0px 0px 10px #ff7300;
|
|
}
|
|
|