Title: Make responsive background images for events chapters section (portrait) and globally · Issue #90 · python-sprints/python-sprints.github.io · GitHub
Open Graph Title: Make responsive background images for events chapters section (portrait) and globally · Issue #90 · python-sprints/python-sprints.github.io
X Title: Make responsive background images for events chapters section (portrait) and globally · Issue #90 · python-sprints/python-sprints.github.io
Description: The background for the events - chapters (abstract background with some nodes linked by lines) is currently only designed for landscape view and gets stretched too much in portrait mode making the image look low quality. Find a way to de...
Open Graph Description: The background for the events - chapters (abstract background with some nodes linked by lines) is currently only designed for landscape view and gets stretched too much in portrait mode making the ...
X Description: The background for the events - chapters (abstract background with some nodes linked by lines) is currently only designed for landscape view and gets stretched too much in portrait mode making the ...
Opengraph URL: https://github.com/python-sprints/python-sprints.github.io/issues/90
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make responsive background images for events chapters section (portrait) and globally","articleBody":"The background for the events - chapters (abstract background with some nodes linked by lines) is currently only designed for landscape view and gets stretched too much in portrait mode making the image look low quality.\r\nFind a way to detect orientation and screen size and adjust image source for the background image. We can have several media queries (what there already is in css) but a more elegant way would be better.\r\n\r\nThere is a javascript code for that already but it kept downloading the files twice - once on page load and then when the javascript code was using that image as the source for the background.\r\nThis script detects that an image with a specific css class is being loaded and instead sticks that image as a background image on a div with a specific css class.\r\nSee if this script can be improved - look for it in static/js/snippets.js","author":{"url":"https://github.com/Tomasz-Kluczkowski","@type":"Person","name":"Tomasz-Kluczkowski"},"datePublished":"2018-03-21T19:04:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/90/python-sprints.github.io/issues/90"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a9f19d93-3fb0-9db5-8fc7-1ebc44a856fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C706:6437B:6377921:832DDF5:696DBCDC |
| html-safe-nonce | 00492ad3a302030f375aae4e96abc3069c0f4f5b8f34b56f0d890053a6ee9348 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzA2OjY0MzdCOjYzNzc5MjE6ODMyRERGNTo2OTZEQkNEQyIsInZpc2l0b3JfaWQiOiI2NDQ5Njg3NzIzODgzNzE2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e16aa73a8529e5c2ac46e23b33828ac122dc1ca964cb34245fad22661d0ca9b4 |
| hovercard-subject-tag | issue:307379519 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-sprints/python-sprints.github.io/90/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52810a229c8d7eceaa970bacbea75eeb371c5301cdc81ee871978f10251b4833/python-sprints/python-sprints.github.io/issues/90 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52810a229c8d7eceaa970bacbea75eeb371c5301cdc81ee871978f10251b4833/python-sprints/python-sprints.github.io/issues/90 |
| og:image:alt | The background for the events - chapters (abstract background with some nodes linked by lines) is currently only designed for landscape view and gets stretched too much in portrait mode making the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tomasz-Kluczkowski |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-sprints/python-sprints.github.io git https://github.com/python-sprints/python-sprints.github.io.git |
| octolytics-dimension-user_id | 32343625 |
| octolytics-dimension-user_login | python-sprints |
| octolytics-dimension-repository_id | 115259820 |
| octolytics-dimension-repository_nwo | python-sprints/python-sprints.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 115259820 |
| octolytics-dimension-repository_network_root_nwo | python-sprints/python-sprints.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width