{"id":21666095,"url":"https://github.com/adapttive/remark-responsible-tables","last_synced_at":"2026-04-11T13:33:06.921Z","repository":{"id":44703569,"uuid":"352030458","full_name":"adapttive/remark-responsible-tables","owner":"adapttive","description":"Remark Responsible Tables","archived":false,"fork":false,"pushed_at":"2026-03-08T08:41:14.000Z","size":32,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-08T12:52:42.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adapttive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-03-27T09:20:15.000Z","updated_at":"2022-01-30T04:05:30.000Z","dependencies_parsed_at":"2025-01-23T21:20:32.684Z","dependency_job_id":"b09d40df-a1f6-416e-88f3-03a96d1202c6","html_url":"https://github.com/adapttive/remark-responsible-tables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adapttive/remark-responsible-tables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adapttive%2Fremark-responsible-tables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adapttive%2Fremark-responsible-tables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adapttive%2Fremark-responsible-tables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adapttive%2Fremark-responsible-tables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adapttive","download_url":"https://codeload.github.com/adapttive/remark-responsible-tables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adapttive%2Fremark-responsible-tables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T11:19:32.535Z","updated_at":"2026-04-11T13:33:06.902Z","avatar_url":"https://github.com/adapttive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @adapttive/remark-responsible-tables\n\n**Options**\n\n```js\n{\n  classnames: {\n          table: \"rwd-table\",\n          row: \"rwd-table-row\",\n          column: \"rwd-table-column\",\n          wrapper: \"rwd-table-wrapper\"\n  },\n  addWrapper: true\n}\n```\n\n```scss\n$breakpoint-alpha: 480px; // adjust to your needs\n\n.rwd-table {\n  margin: 1em 0;\n  min-width: 300px; // adjust to your needs\n  \n  tr {\n    border-top: 1px solid #ddd;\n    border-bottom: 1px solid #ddd;\n  }\n  \n  th {\n    display: none; // for accessibility, use a visually hidden method here instead! Thanks, reddit!   \n  }\n  \n  td {\n    display: block; \n    \n    \u0026:first-child {\n      padding-top: .5em;\n    }\n    \u0026:last-child {\n      padding-bottom: .5em;\n    }\n\n    \u0026:before {\n      content: attr(data-th)\": \"; // who knew you could do this? The internet, that's who.\n      font-weight: bold;\n\n      // optional stuff to make it look nicer\n      width: 6.5em; // magic number :( adjust according to your own content\n      display: inline-block;\n      // end options\n      \n      @media (min-width: $breakpoint-alpha) {\n        display: none;\n      }\n    }\n  }\n  \n  th, td {\n    text-align: left;\n    \n    @media (min-width: $breakpoint-alpha) {\n      display: table-cell;\n      padding: .25em .5em;\n      \n      \u0026:first-child {\n        padding-left: 0;\n      }\n      \n      \u0026:last-child {\n        padding-right: 0;\n      }\n    }\n\n  }\n  \n  \n}\n\n\n// presentational styling\n\n@import 'https://fonts.googleapis.com/css?family=Montserrat:300,400,700';\n\nbody {\n  padding: 0 2em;\n  font-family: Montserrat, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  text-rendering: optimizeLegibility;\n  color: #444;\n  background: #eee;\n}\n\nh1 {\n  font-weight: normal;\n  letter-spacing: -1px;\n  color: #34495E;\n}\n\n.rwd-table {\n  background: #34495E;\n  color: #fff;\n  border-radius: .4em;\n  overflow: hidden;\n  tr {\n    border-color: lighten(#34495E, 10%);\n  }\n  th, td {\n    margin: .5em 1em;\n    @media (min-width: $breakpoint-alpha) { \n      padding: 1em !important; \n    }\n  }\n  th, td:before {\n    color: #dd5;\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadapttive%2Fremark-responsible-tables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadapttive%2Fremark-responsible-tables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadapttive%2Fremark-responsible-tables/lists"}