Title: Shouldn't exported CSS use hierarchical styles? · Issue #44 · frescobaldi/python-ly · GitHub
Open Graph Title: Shouldn't exported CSS use hierarchical styles? · Issue #44 · frescobaldi/python-ly
X Title: Shouldn't exported CSS use hierarchical styles? · Issue #44 · frescobaldi/python-ly
Description: I'm not really sure how the proper CSS term is. But when working on #42 and frescobaldi/frescobaldi#697 I realized that the generated CSS might not be completely appropriate. We produce a #document style (after the PR this might also be ...
Open Graph Description: I'm not really sure how the proper CSS term is. But when working on #42 and frescobaldi/frescobaldi#697 I realized that the generated CSS might not be completely appropriate. We produce a #document...
X Description: I'm not really sure how the proper CSS term is. But when working on #42 and frescobaldi/frescobaldi#697 I realized that the generated CSS might not be completely appropriate. We produce a #docu...
Opengraph URL: https://github.com/frescobaldi/python-ly/issues/44
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shouldn't exported CSS use hierarchical styles?","articleBody":"I'm not really sure how the proper CSS term is. But when working on #42 and https://github.com/wbsoft/frescobaldi/pull/697 I realized that the generated CSS might not be completely appropriate.\n\nWe produce a `#document` style (after the PR this might also be `.lilypond` or something else) and then \"flat\" styles like e.g. `.comment`. However, this might interfere with a page's CSS if the designer decided to have `.comment` styles for something else on the page. The styles with prefixes in their names (e.g. `span.lilypond-beam`) are safer but still are \"flat\".\n\nI think the styles should be generated like\n\n``` css\n#document {\n background: #f3f3f3;\n color: #212121;\n}\n\n#document .comment {\n color: #808080;\n font-style: italic;\n}\n```\n\nor respectively if the user decides to use something else instead of `#document`.\n\nI may give that a try myself but wanted to have it discussed first.\n","author":{"url":"https://github.com/uliska","@type":"Person","name":"uliska"},"datePublished":"2015-06-29T08:43:37Z","url":"https://github.com/frescobaldi/python-ly/issues/44"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3afea7e7-0ec2-67da-73ba-da360523b130 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98DE:3BD7AB:AD8A6B:DC4806:6B09C0DE |
| html-safe-nonce | debb4edbf7478acddb4bdad511dddd0cf2c471ae44d518bfee115a855c268f01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OERFOjNCRDdBQjpBRDhBNkI6REM0ODA2OjZCMDlDMERFIiwidmlzaXRvcl9pZCI6IjY5MjI0NDc2NDc0NTkwOTg4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce8ca2e833adca615a08a189f3145c2039a149c294b6a0c5afaeca8cf3086d20 |
| hovercard-subject-tag | issue:91739084 |
| 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/frescobaldi/python-ly/44/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3905352b8aaaa5ca9340d3a62c2982afc445fa11b186de955c1ec0176134ec4/frescobaldi/python-ly/issues/44 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3905352b8aaaa5ca9340d3a62c2982afc445fa11b186de955c1ec0176134ec4/frescobaldi/python-ly/issues/44 |
| og:image:alt | I'm not really sure how the proper CSS term is. But when working on #42 and frescobaldi/frescobaldi#697 I realized that the generated CSS might not be completely appropriate. We produce a #document... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uliska |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29e6866c4c5b6697a062df08d37fa80bbfb75810ca4280c0d277f04956012d39 |
| turbo-cache-control | no-preview |
| go-import | github.com/frescobaldi/python-ly git https://github.com/frescobaldi/python-ly.git |
| octolytics-dimension-user_id | 19853952 |
| octolytics-dimension-user_login | frescobaldi |
| octolytics-dimension-repository_id | 29728425 |
| octolytics-dimension-repository_nwo | frescobaldi/python-ly |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29728425 |
| octolytics-dimension-repository_network_root_nwo | frescobaldi/python-ly |
| 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 | e72aac8801621433bb0313888fbbe243f5998abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width