mirror of https://gitlab.com/bashrc2/epicyon
Emoji style
parent
ab59a6ae6b
commit
e9b792db43
|
@ -107,6 +107,16 @@ a:focus {
|
|||
border: 2px solid var(--focus-color);
|
||||
}
|
||||
|
||||
.emoji {
|
||||
float: none;
|
||||
width: 50px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
padding-right: 0px;
|
||||
border-radius: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.transparent {
|
||||
color: transparent;
|
||||
background: transparent;
|
||||
|
|
|
@ -784,8 +784,11 @@ def download_image_any_mime_type(session, url: str,
|
|||
mime_type = None
|
||||
content_type = None
|
||||
result = None
|
||||
image_mime_types = \
|
||||
'image/x-icon, image/png, image/webp, image/jpeg, image/gif, ' + \
|
||||
'image/avif, image/heic, image/jxl, image/svg+xml'
|
||||
session_headers = {
|
||||
'Accept': 'image/x-icon, image/png, image/webp, image/jpeg, image/gif'
|
||||
'Accept': image_mime_types
|
||||
}
|
||||
try:
|
||||
result = session.get(url, headers=session_headers,
|
||||
|
|
Loading…
Reference in New Issue