mirror of
https://github.com/hnhx/librex.git
synced 2025-01-11 04:02:37 -03:00
Merge pull request #106 from amogusussy/Better_Image_Formatting
Better image formatting
This commit is contained in:
commit
98c8a36213
3 changed files with 16 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="description" content="A privacy respecting meta search engine."/>
|
<meta name="description" content="A privacy respecting meta search engine."/>
|
||||||
<meta name="referrer" content="no-referrer"/>
|
<meta name="referrer" content="no-referrer"/>
|
||||||
<link rel="stylesheet" type="text/css" href="static/css/styles_min.css"/>
|
<link rel="stylesheet" type="text/css" href="static/css/styles.css"/>
|
||||||
<link title="LibreX search" type="application/opensearchdescription+xml" href="/opensearch.xml?method=POST" rel="search"/>
|
<link title="LibreX search" type="application/opensearchdescription+xml" href="/opensearch.xml?method=POST" rel="search"/>
|
||||||
<link rel="stylesheet" type="text/css" href="<?php
|
<link rel="stylesheet" type="text/css" href="<?php
|
||||||
echo "static/css/";
|
echo "static/css/";
|
||||||
|
|
|
@ -255,8 +255,8 @@ a:hover,
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-result-container {
|
.image-result-container {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
|
flex-wrap: wrap;
|
||||||
grid-gap: 1.5rem;
|
grid-gap: 1.5rem;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
margin-left: 9%;
|
margin-left: 9%;
|
||||||
|
@ -265,11 +265,20 @@ a:hover,
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-result-container img {
|
a[title] {
|
||||||
border: 2px solid var(--button-bg);
|
flex-grow: 1;
|
||||||
margin: 10px;
|
height: 12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-result-container img {
|
||||||
|
margin: 0px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.git-container {
|
.git-container {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue