mirror of
https://github.com/daledavies/jump.git
synced 2026-02-25 15:50:45 +01:00
Improve unsplash attribution link style
This commit is contained in:
@@ -79,7 +79,7 @@ function load_cache_unsplash_data() {
|
||||
$description = $photo->description;
|
||||
}
|
||||
$unsplashdata = new stdClass();
|
||||
$unsplashdata->attribution = '<a target="_blank" rel="noopener" href="'.$photo->links['html'].'">'.$description.'</a> by <a target="_blank" rel="noopener" href="'.$photo->user['links']['html'].'">'.$photo->user['name'].'</a>';
|
||||
$unsplashdata->attribution = '<a target="_blank" rel="noopener" href="'.$photo->links['html'].'">'.$description.' by '.$photo->user['name'].'</a>';
|
||||
$unsplashdata->imagedatauri = 'data: '.(new finfo(FILEINFO_MIME_TYPE))->buffer($response).';base64,'.base64_encode($response);
|
||||
return $unsplashdata;
|
||||
});
|
||||
|
||||
@@ -78,7 +78,6 @@ body {
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted #ffffff70;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{# noindex}}<meta name="robots" content="noindex">{{/ noindex}}
|
||||
<link rel="stylesheet" href="/assets/css/styles.9077780cf1d7c1a7fc4e.min.css">
|
||||
<link rel="stylesheet" href="/assets/css/styles.0c1a47459cd078d3c71d.min.css">
|
||||
<link rel="stylesheet" href="/background-css.php">
|
||||
<link rel="stylesheet" href="/assets/css/weather-icons.min.css">
|
||||
<link rel="icon" type="image/png" href="/favicon.png">
|
||||
|
||||
Reference in New Issue
Block a user