Skip to content

Instantly share code, notes, and snippets.

@durden
Created June 27, 2016 08:05
Show Gist options
  • Save durden/4b08fe6d4cfe7f39f4f7438196344db4 to your computer and use it in GitHub Desktop.
Save durden/4b08fe6d4cfe7f39f4f7438196344db4 to your computer and use it in GitHub Desktop.
CSS edits for markdown rendering
diff --git a/pskb_website/static/css/base.css b/pskb_website/static/css/base.css
index 519b677..30dfec1 100644
--- a/pskb_website/static/css/base.css
+++ b/pskb_website/static/css/base.css
@@ -588,7 +588,6 @@ a:hover.emphasize-dark {
}
#article pre, #article blockquote, #article form {
- margin-left: 21px;
word-wrap: break-word;
overflow-wrap: break-word;
}
diff --git a/pskb_website/static/css/vendor/github-markdown.css b/pskb_website/static/css/vendor/github-markdown.css
index 37749c4..174fbcf 100644
--- a/pskb_website/static/css/vendor/github-markdown.css
+++ b/pskb_website/static/css/vendor/github-markdown.css
@@ -9,7 +9,6 @@
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
- font-size: 16px;
line-height: 1.6;
word-wrap: break-word;
padding: 20px;
@@ -99,11 +98,6 @@
font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
-.markdown-body a {
- color: #4078c0;
- text-decoration: none;
-}
-
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment