summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/base
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets/base')
-rw-r--r--theme/stylesheets/base/markdown.less4
-rw-r--r--theme/stylesheets/base/mixins.less20
2 files changed, 22 insertions, 2 deletions
diff --git a/theme/stylesheets/base/markdown.less b/theme/stylesheets/base/markdown.less
index b2866b7..1e235a8 100644
--- a/theme/stylesheets/base/markdown.less
+++ b/theme/stylesheets/base/markdown.less
@@ -1,4 +1,4 @@
-.markdown-content(@md-color, @md-line-height) {
+.markdown-content(@md-color: #000, @md-line-height: 1.6, @md-link-color: #4183c4) {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.4;
@@ -70,7 +70,7 @@
}
a {
- color: #4183c4;
+ color: @md-link-color;
text-decoration: none;
}
diff --git a/theme/stylesheets/base/mixins.less b/theme/stylesheets/base/mixins.less
new file mode 100644
index 0000000..e932151
--- /dev/null
+++ b/theme/stylesheets/base/mixins.less
@@ -0,0 +1,20 @@
+@import "./markdown.less";
+
+.link-inherit {
+ color: inherit;
+
+ &:hover, &:focus {
+ color: inherit;
+ }
+}
+
+.transition-transform(@transition) {
+ -webkit-transition: -webkit-transform @transition;
+ -moz-transition: -moz-transform @transition;
+ -o-transition: -o-transform @transition;
+ transition: transform @transition;
+}
+
+.hidden {
+ display: none;
+}