Skip to content

Comments

Tweak to the CSS media query for retina screens#1114

Merged
GBKS merged 1 commit intomasterfrom
feature/retina-media-query-tweak
Sep 3, 2024
Merged

Tweak to the CSS media query for retina screens#1114
GBKS merged 1 commit intomasterfrom
feature/retina-media-query-tweak

Conversation

@GBKS
Copy link
Contributor

@GBKS GBKS commented Sep 2, 2024

Abhijay007 pointed out that the header banner image is looking blurry on his mobile device in this comment.

Reason is that our retina media query is looking for a pixel ratio of 2 for showing higher resolution images. Various Android phones are a little below 2 (like my Samsung Galaxy A5, which is ~1.875). For those phones, the lower res image looks blurry and the higher-res one would be more appropriate. This PR lowers the pixel ratio requirement from 2 to 1.5. This should work out better on average for diverse ratios.

Also added in the dppx unit, which is a newer standard.

Abhijay007 pointed out that the header banner image is looking blurry on his mobile device in [this comment](#1112 (comment)).

Reason is that our retina media query is looking for a pixel ratio of 2 for showing higher resolution images. Various Android phones are a little below 2 (like my Samsung Galaxy A5, which is ~1.875). For those phones, the lower res image looks blurry and the higher-res one would be more appropriate. This PR lowers the pixel ratio requirement from 2 to 1.5. This should work out better on average for diverse ratios.

Also added in the dppx unit, which is a newer standard.
@GBKS GBKS added the Dev Development-focused tasks. label Sep 2, 2024
@GBKS GBKS self-assigned this Sep 2, 2024
@netlify
Copy link

netlify bot commented Sep 2, 2024

Deploy Preview for bitcoin-design-site ready!

Name Link
🔨 Latest commit 196de47
🔍 Latest deploy log https://app.netlify.com/sites/bitcoin-design-site/deploys/66d5c9c8e40c260008999b10
😎 Deploy Preview https://deploy-preview-1114--bitcoin-design-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@danielnordh danielnordh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GBKS GBKS merged commit 6b9d60b into master Sep 3, 2024
@GBKS GBKS deleted the feature/retina-media-query-tweak branch September 3, 2024 08:35
rabbitholiness pushed a commit to rabbitholiness/Guide that referenced this pull request Nov 11, 2024
Abhijay007 pointed out that the header banner image is looking blurry on his mobile device in [this comment](BitcoinDesign#1112 (comment)).

Reason is that our retina media query is looking for a pixel ratio of 2 for showing higher resolution images. Various Android phones are a little below 2 (like my Samsung Galaxy A5, which is ~1.875). For those phones, the lower res image looks blurry and the higher-res one would be more appropriate. This PR lowers the pixel ratio requirement from 2 to 1.5. This should work out better on average for diverse ratios.

Also added in the dppx unit, which is a newer standard.
GBKS added a commit that referenced this pull request Dec 5, 2024
* Updates from master

* Initial commit

- Added cosigner onboarding page
- Added images

* Text updates

- Removed icons on the landing page, as they are not really helpful.
- Updated the chapters on the landing page to reflect the final structure.
- Updated editor's notes
- Minor text changes.

* Removes unused images

* Back link for reader convenience

* Delete _includes/bitcoin-tv 2.svg

* Delete _includes/nostr 2.svg

* Removed duplicated files

* Incorporated final round of feedback

- Added a short process overview and diagram to the wallet creation page.
- Updated the conclusion for clarity
- Minor text changes

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Incorporating Daniel's feedback

* Text tweak

* Updated process overview image

* Multiple smaller tweaks

- Text change
- Removed editor's notes from onboarding page

* Added header and preview images

* fixing preview image

* Removed editor's notes

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Preview and header image fixes

* fixing image paths

* image file size optimizations

* Initial content

* Updated links

* Image updates

- Added mobile images for backup material distribution diagram

* Minor formatting update

* Content refactoring

- Updated most of the content, based on the current feedback.
- Added mobile images

* Addressing Daniel's feedback

- Revised content structure
- Eliminated lots of typos
- Minor image tweaks
- Worked on clarity of expression

* Updated headline structure

* Update guide/inheritance-wallet/backup.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Update guide/inheritance-wallet/backup.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Cleanup & clarifications

- Removed unused images
- Text updates for clarification

* Adds the 2024 American bitcoin survey to the research page (#1105)

Small addition to the research page.

* Added home page banner theme for HereComesBitcoin (#1112)

* ^Cded home page banner theme for HereComesBitcoin

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Fix) : Resized Banner Images

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Refactor): Compressed Banner Images

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

---------

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* CSS media query for retina screens tweak (#1114)

Abhijay007 pointed out that the header banner image is looking blurry on his mobile device in [this comment](#1112 (comment)).

Reason is that our retina media query is looking for a pixel ratio of 2 for showing higher resolution images. Various Android phones are a little below 2 (like my Samsung Galaxy A5, which is ~1.875). For those phones, the lower res image looks blurry and the higher-res one would be more appropriate. This PR lowers the pixel ratio requirement from 2 to 1.5. This should work out better on average for diverse ratios.

Also added in the dppx unit, which is a newer standard.

* Bump rexml from 3.2.8 to 3.3.6 (#1111)

Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.8...v3.3.6)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docker and image compression info tweaks (#1115)

Two minor maintenance copy tweaks:

- Newer version of Docker use "docker compose up" instead of "docker-compose up". This updates the info about local development in the README
- The local build does no longer automatically compress images, so I removed that part and added a note about using a compression tool like ImageOpti.

* Update community account Nostr relays (#1119)

Several of the listed relays are no longer active. I tested all, compared to what Primal and Damus recommend as defaults, and adjusted the list

* Bump rexml from 3.3.6 to 3.3.9 (#1123)

Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.3.6...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump webrick from 1.8.1 to 1.8.2 (#1124)

Bumps [webrick](https://github.com/ruby/webrick) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/ruby/webrick/releases)
- [Commits](ruby/webrick@v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: webrick
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Initial content commit

Added file and images

* Updated links & navigation order

* Minor text changes

* Revision

- Updated copy
- Fixed a logical flaw that around passing around PSBTs.
- Added new & updated existing images.

* Minor text tweaks

* Text tweak

* Final updates

- Fixed typos
- Added separators between sections
- Added preview and header images
- Deleted unused images

* Update guide/inheritance-wallet/making-changes.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Update guide/inheritance-wallet/making-changes.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Removed conflicting files

* Headline structure update

---------

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>
Co-authored-by: Christoph Ono <chri@sto.ph>
Co-authored-by: Abhijay Jain <abhijay007j@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GBKS added a commit that referenced this pull request Dec 13, 2024
* Updates from master

* Initial commit

- Added cosigner onboarding page
- Added images

* Text updates

- Removed icons on the landing page, as they are not really helpful.
- Updated the chapters on the landing page to reflect the final structure.
- Updated editor's notes
- Minor text changes.

* Removes unused images

* Back link for reader convenience

* Delete _includes/bitcoin-tv 2.svg

* Delete _includes/nostr 2.svg

* Removed duplicated files

* Incorporated final round of feedback

- Added a short process overview and diagram to the wallet creation page.
- Updated the conclusion for clarity
- Minor text changes

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>

* Incorporating Daniel's feedback

* Text tweak

* Updated process overview image

* Multiple smaller tweaks

- Text change
- Removed editor's notes from onboarding page

* Added header and preview images

* fixing preview image

* Removed editor's notes

* Update guide/inheritance-wallet/onboarding-cosigners.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Preview and header image fixes

* fixing image paths

* image file size optimizations

* Initial content

* Updated links

* Image updates

- Added mobile images for backup material distribution diagram

* Minor formatting update

* Content refactoring

- Updated most of the content, based on the current feedback.
- Added mobile images

* Addressing Daniel's feedback

- Revised content structure
- Eliminated lots of typos
- Minor image tweaks
- Worked on clarity of expression

* Updated headline structure

* Update guide/inheritance-wallet/backup.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Update guide/inheritance-wallet/backup.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Cleanup & clarifications

- Removed unused images
- Text updates for clarification

* Adds the 2024 American bitcoin survey to the research page (#1105)

Small addition to the research page.

* Added home page banner theme for HereComesBitcoin (#1112)

* ^Cded home page banner theme for HereComesBitcoin

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Fix) : Resized Banner Images

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Refactor): Compressed Banner Images

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

---------

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* CSS media query for retina screens tweak (#1114)

Abhijay007 pointed out that the header banner image is looking blurry on his mobile device in [this comment](#1112 (comment)).

Reason is that our retina media query is looking for a pixel ratio of 2 for showing higher resolution images. Various Android phones are a little below 2 (like my Samsung Galaxy A5, which is ~1.875). For those phones, the lower res image looks blurry and the higher-res one would be more appropriate. This PR lowers the pixel ratio requirement from 2 to 1.5. This should work out better on average for diverse ratios.

Also added in the dppx unit, which is a newer standard.

* Bump rexml from 3.2.8 to 3.3.6 (#1111)

Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.8...v3.3.6)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docker and image compression info tweaks (#1115)

Two minor maintenance copy tweaks:

- Newer version of Docker use "docker compose up" instead of "docker-compose up". This updates the info about local development in the README
- The local build does no longer automatically compress images, so I removed that part and added a note about using a compression tool like ImageOpti.

* Update community account Nostr relays (#1119)

Several of the listed relays are no longer active. I tested all, compared to what Primal and Damus recommend as defaults, and adjusted the list

* Bump rexml from 3.3.6 to 3.3.9 (#1123)

Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.3.6...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump webrick from 1.8.1 to 1.8.2 (#1124)

Bumps [webrick](https://github.com/ruby/webrick) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/ruby/webrick/releases)
- [Commits](ruby/webrick@v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: webrick
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Initial content commit

Added file and images

* Updated links & navigation order

* Minor text changes

* Revision

- Updated copy
- Fixed a logical flaw that around passing around PSBTs.
- Added new & updated existing images.

* Minor text tweaks

* Text tweak

* Final updates

- Fixed typos
- Added separators between sections
- Added preview and header images
- Deleted unused images

* Update guide/inheritance-wallet/making-changes.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Update guide/inheritance-wallet/making-changes.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Removed conflicting files

* Added page and image folders

* Minor changes

* Text revision & links

* Text tweaks and image cleanup

* added images

* file tweaks

* file tweaks

* file tweaks

* Optimized image sizes

* Added preview & header images

* Added header & preview image for wallet backup page

* optimized images

* Header image update

* Update guide/inheritance-wallet/succession.md

Co-authored-by: Christoph Ono <chri@sto.ph>

* Addressing Christoph's feedabck

* Update guide/inheritance-wallet/succession.md

Co-authored-by: paperpsych <149538435+paperpsych@users.noreply.github.com>

* Addressing Erik's feedback

* Addressing Paperpsych's feedback

---------

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Daniel Nordh <3393669+danielnordh@users.noreply.github.com>
Co-authored-by: Christoph Ono <chri@sto.ph>
Co-authored-by: Abhijay Jain <abhijay007j@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: paperpsych <149538435+paperpsych@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dev Development-focused tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants