Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-05-31 00:36:15

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,009
Website

Re: Leeds Baby Bank (charity)

Bloke wrote #323440:

I then just found someone that suggested an appropriate media query was:

even slightly better

@media print,  (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {}

Not sure if the -webkit prefix rule is required any more.

Yes it is needed for Safari.

And I don’t profess to understand why they use background-size on the retina image and regular width and height on the standard one. But apparently, it works.

the width / height is used for both resolutions – it sizes the box that contains the image. the background-size is used on the retina image else the image would be twice the size of the box. that is how screens work.

Offline

#12 2020-05-31 08:52:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,456
Website

Re: Leeds Baby Bank (charity)

phiw13 wrote #323441:

even slightly better

Thank you for the edit. Applied. And thanks for the insight on the background image thing. It makes total sense when you explain it that way.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#13 2020-05-31 08:54:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,456
Website

Re: Leeds Baby Bank (charity)

They’ve Tweeted and posted on Instagram and Facebook about the new site, and given me a mention. Very kind of them.

Last edited by Bloke (2020-05-31 08:56:31)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#14 2020-05-31 17:14:14

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,624
Website

Re: Leeds Baby Bank (charity)

Bloke wrote #323445:

They’ve Tweeted and posted on Instagram and Facebook about the new site, and given me a mention. Very kind of them.

Don’t be modest. They said very nice things: Huge thank you to Stef Dawson for creating this for us – we love it!


…. texted postive

Offline

#15 2020-05-31 17:49:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,987
Website

Re: Leeds Baby Bank (charity)

Bloke wrote #323445:

They’ve Tweeted and posted on Instagram and Facebook about the new site, and given me a mention. Very kind of them.

liked on twitter :) By the way, did you install the latest update for them?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Online

#16 2020-05-31 20:14:10

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,456
Website

Re: Leeds Baby Bank (charity)

Thanks, guys.

I was running 4.8.1-dev on the site for a while. Will update it to the official release at some point soon.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

Board footer

Powered by FluxBB