Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/icewind1991/files_markdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorshrimpza <git@shrimpworks.za.net>2014-08-26 20:10:04 +0400
committershrimpza <git@shrimpworks.za.net>2014-08-26 20:10:04 +0400
commit30e9a247332d3bcb41d26b2cc77bec1d5e5b3aed (patch)
treef5be8807ee8178af5ae9c3db5037ff340f0a8903 /css
parent24841fe9ea689a8c8560db63528bc5659b34f5cf (diff)
Fixes issue #6
Applies right and centre alignment via CSS selectors where Marked has specifically defined cell alignment attributes.
Diffstat (limited to 'css')
-rw-r--r--css/preview.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/css/preview.css b/css/preview.css
index 298626a..4d3d2f2 100644
--- a/css/preview.css
+++ b/css/preview.css
@@ -266,6 +266,14 @@
padding: 6px 13px;
}
+#md_preview table tr td[align="right"] {
+ text-align: right;
+}
+
+#md_preview table tr td[align="center"] {
+ text-align: center;
+}
+
#md_preview table tr th :first-child, #md_preview table tr td :first-child {
margin-top: 0;
}