From 87e056de644de66ca6180afe0b4581f070eb2c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Tue, 6 Oct 2015 13:05:32 +0200 Subject: [PATCH] Change markdown -> markup in less mixins --- theme/stylesheets/base/{markdown.less => markup.less} | 2 +- theme/stylesheets/base/mixins.less | 2 +- theme/stylesheets/ebook/base.less | 2 +- theme/stylesheets/website.less | 2 +- theme/stylesheets/website/{markdown.less => markup.less} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename theme/stylesheets/base/{markdown.less => markup.less} (95%) rename theme/stylesheets/website/{markdown.less => markup.less} (78%) diff --git a/theme/stylesheets/base/markdown.less b/theme/stylesheets/base/markup.less similarity index 95% rename from theme/stylesheets/base/markdown.less rename to theme/stylesheets/base/markup.less index 8e4a2d8d5..39ebbe293 100644 --- a/theme/stylesheets/base/markdown.less +++ b/theme/stylesheets/base/markup.less @@ -1,4 +1,4 @@ -.markdown-content(@md-color: #000, @md-line-height: 1.7, @md-link-color: #4183c4, @md-code-background: #f7f7f7, @md-code-fontsize: 0.85, @md-blockquote-color: #858585, @md-blockquote-border: #e5e5e5) { +.markup-content(@md-color: #000, @md-line-height: 1.7, @md-link-color: #4183c4, @md-code-background: #f7f7f7, @md-code-fontsize: 0.85, @md-blockquote-color: #858585, @md-blockquote-border: #e5e5e5) { // Rate of growth for headings @scale: 0.25; diff --git a/theme/stylesheets/base/mixins.less b/theme/stylesheets/base/mixins.less index 14539cf16..7175ce1a2 100644 --- a/theme/stylesheets/base/mixins.less +++ b/theme/stylesheets/base/mixins.less @@ -1,4 +1,4 @@ -@import "./markdown.less"; +@import "./markup.less"; .link-inherit { color: inherit; diff --git a/theme/stylesheets/ebook/base.less b/theme/stylesheets/ebook/base.less index 842c13cc6..65a053cad 100644 --- a/theme/stylesheets/ebook/base.less +++ b/theme/stylesheets/ebook/base.less @@ -13,7 +13,7 @@ body { .page { // Section and first titles .section { - .markdown-content(@text-color, 1.6, @md-link-color: @link-color); + .markup-content(@text-color, 1.6, @md-link-color: @link-color); } // Hide the title (only used to build PDF table of content) diff --git a/theme/stylesheets/website.less b/theme/stylesheets/website.less index 9ef8dee35..d808a0bab 100755 --- a/theme/stylesheets/website.less +++ b/theme/stylesheets/website.less @@ -12,7 +12,7 @@ @import "website/summary.less"; @import "website/body.less"; @import "website/buttons.less"; -@import "website/markdown.less"; +@import "website/markup.less"; @import "website/navigation.less"; @import "website/glossary.less"; diff --git a/theme/stylesheets/website/markdown.less b/theme/stylesheets/website/markup.less similarity index 78% rename from theme/stylesheets/website/markdown.less rename to theme/stylesheets/website/markup.less index eef2a1d9d..26e2fdfe3 100755 --- a/theme/stylesheets/website/markdown.less +++ b/theme/stylesheets/website/markup.less @@ -3,7 +3,7 @@ } .book .book-body .page-wrapper .page-inner section.normal { - .markdown-content(@content-color, @content-line-height); + .markup-content(@content-color, @content-line-height); .glossary-term { cursor: help;