Set pixelate fix only for mobile view

develop
Nathan Steel 3 years ago
parent cab032ef34
commit 66b1e38174

@ -987,6 +987,11 @@ tbody tr:hover td {
img { img {
image-rendering: pixelated; image-rendering: pixelated;
} }
@media (min-width: 420px) {
img {
image-rendering: auto;
}
}
strong { strong {
font-weight: bold; font-weight: bold;

File diff suppressed because one or more lines are too long

@ -6,8 +6,8 @@
<meta name="description" content="FeedTheCommunity is a local Grimsby/N.E. Lincolnshire food bank with the aim to fight food poverty."> <meta name="description" content="FeedTheCommunity is a local Grimsby/N.E. Lincolnshire food bank with the aim to fight food poverty.">
<meta name="author" content="Nathan (Aney) Steel"> <meta name="author" content="Nathan (Aney) Steel">
<link rel="stylesheet" type="text/css" href="/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="/assets/css/main.css">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
<link rel="manifest" href="/icons/site.webmanifest"> <link rel="manifest" href="/assets/favicon/site.webmanifest">
<title>Foodbank | Feed The Community</title> <title>Foodbank | Feed The Community</title>
</head> </head>

@ -4,6 +4,9 @@ $headerHeight: 84px;
img{ img{
// Lighthouse fix for images w/o 1x,2x, etc // Lighthouse fix for images w/o 1x,2x, etc
image-rendering:pixelated; image-rendering:pixelated;
@media (min-width: 420px){
image-rendering:auto;
}
} }
strong{ strong{

Loading…
Cancel
Save