Update styles.css

This commit is contained in:
amogusussy 2022-12-03 17:37:44 +00:00 committed by GitHub
parent 5f51afc948
commit 54ee77c8a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 5 deletions

View File

@ -255,8 +255,8 @@ a:hover,
}
.image-result-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
display: flex;
flex-wrap: wrap;
grid-gap: 1.5rem;
justify-items: center;
margin-left: 9%;
@ -265,11 +265,20 @@ a:hover,
margin-bottom: 50px;
}
.image-result-container img {
border: 2px solid var(--button-bg);
margin: 10px;
a[title] {
flex-grow: 1;
height: 12rem;
}
.image-result-container img {
margin: 0px;
height: 100%;
width: 100%;
object-fit: cover;
vertical-align: bottom;
}
.git-container {
right: 0;
}