mirror of
https://github.com/SophiaAtkinson/steamwidgets-web.git
synced 2026-01-17 16:03:28 -08:00
Fix color & show error message
This commit is contained in:
@@ -29,8 +29,9 @@ class SteamApp
|
|||||||
|
|
||||||
$response = curl_exec($handle);
|
$response = curl_exec($handle);
|
||||||
|
|
||||||
if(curl_error($handle) !== '') {
|
$curl_error = curl_error($handle);
|
||||||
throw new \Exception('cURL error occured');
|
if($curl_error !== '') {
|
||||||
|
throw new \Exception('cURL error occured: ' . $curl_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
curl_close($handle);
|
curl_close($handle);
|
||||||
|
|||||||
@@ -243,4 +243,49 @@ tbody strong {
|
|||||||
.footer-content a:hover {
|
.footer-content a:hover {
|
||||||
color: rgb(150, 150, 150);
|
color: rgb(150, 150, 150);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-app-footer-button a {
|
||||||
|
color: #D2E885 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-app-footer-button a:hover {
|
||||||
|
color: rgb(250, 250, 250) !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-group-info-footer-action a {
|
||||||
|
color: #D2E885 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-group-info-footer-action a:hover {
|
||||||
|
color: rgb(250, 250, 250) !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-server-action a {
|
||||||
|
color: #D2E885 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-server-action a:hover {
|
||||||
|
color: rgb(250, 250, 250) !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-user-infos-right-view a {
|
||||||
|
color: #D2E885 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-user-infos-right-view a:hover {
|
||||||
|
color: rgb(250, 250, 250) !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-workshop-info-footer-action a {
|
||||||
|
color: #D2E885 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steam-workshop-info-footer-action a:hover {
|
||||||
|
color: rgb(250, 250, 250) !important;
|
||||||
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user