mirror of https://git.lolcat.ca/lolcat/4get.git
Compare commits
4 Commits
8a934529ea
...
573a11a708
Author | SHA1 | Date |
---|---|---|
lolcat | 573a11a708 | |
lolcat | 0f39d9c187 | |
lolcat | ba7ed59dc5 | |
lolcat | d9fcab402b |
|
@ -1020,7 +1020,15 @@ class google{
|
|||
self::is_class
|
||||
),
|
||||
"div"
|
||||
)[1];
|
||||
);
|
||||
|
||||
if(!isset($description[1])){
|
||||
|
||||
throw new Exception("Google returned an unsupported page format (will fix)");
|
||||
}else{
|
||||
|
||||
$description = $description[1];
|
||||
}
|
||||
|
||||
// get date (rare)
|
||||
$date =
|
||||
|
|
|
@ -544,10 +544,7 @@ h3,h4,h5,h6{
|
|||
width:160px;
|
||||
height:90px;
|
||||
background:var(--282828);
|
||||
text-align:center;
|
||||
line-height:87px;
|
||||
border:1px solid var(--504945);
|
||||
overflow:hidden;
|
||||
margin-left:7px;
|
||||
}
|
||||
|
||||
|
@ -569,10 +566,10 @@ h3,h4,h5,h6{
|
|||
}
|
||||
|
||||
.thumb-wrap .thumb{
|
||||
max-width:100%;
|
||||
max-height:100%;
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
display:block;
|
||||
object-fit:contain;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
.thumb-wrap.portrait{
|
||||
|
|
Loading…
Reference in New Issue