add main.css
This commit is contained in:
60
resources/main.css
Normal file
60
resources/main.css
Normal file
@@ -0,0 +1,60 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.items-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 16px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.item {
|
||||
background-color: #f9f9f9;
|
||||
padding: 3px;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.overlay {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 1%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 40%;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.overlay h3 {
|
||||
margin: 0;
|
||||
color: black;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.overlay p {
|
||||
margin-top: 5px;
|
||||
color: gray;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
|
||||
.search-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.results-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.result-item {
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user