github-markdown-css
Advanced tools
Comparing version 2.7.0 to 2.8.0
{ | ||
"name": "github-markdown-css", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "The minimal amount of CSS to replicate the GitHub Markdown style", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -21,5 +21,6 @@ # github-markdown-css | ||
Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding. | ||
Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding, and `15px` padding for mobile. | ||
```html | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="github-markdown.css"> | ||
@@ -34,2 +35,8 @@ <style> | ||
} | ||
@media (max-width: 767px) { | ||
.markdown-body { | ||
padding: 15px; | ||
} | ||
} | ||
</style> | ||
@@ -36,0 +43,0 @@ <article class="markdown-body"> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16801
61
584