Summary Files Commits Branches @commit @diff @stats
path: root / src / typography.less
diff options
context:
space:
mode:
Commit7fe8f7453d70eb21f304413f95b1942fe206fc75 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 19:37:12 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 19:37:12 +0800
Filesa308a5b89ca08cfd1afc4d57d395c8da3c65b6f6 /src/typography.less
Spectre-Dark-Gruvbox-7fe8f7453d70eb21f304413f95b1942fe206fc75.tar
Spectre-Dark-Gruvbox-7fe8f7453d70eb21f304413f95b1942fe206fc75.tar.gz
Spectre-Dark-Gruvbox-7fe8f7453d70eb21f304413f95b1942fe206fc75.zip
Parent740549ee7aa49778067c5a63b68d2414f77c062d (diff)
update tooltips code and examples
1 files changed, 18 insertions, 0 deletions
-rw-r--r--src/typography.less18
diff --git a/src/typography.less b/src/typography.less
index 94a596f..4a9476f 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -50,6 +50,24 @@ blockquote {
color: lighten(@body-font-color, 50%);
}
}
+code,
+pre {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ border-left: .2rem solid #ddd;
+ line-height: 1.8rem;
+ background-color: @core-border-color;
+}
+code {
+ padding: 1rem 2rem;
+}
+pre code {
+ background-color: transparent;
+ border-left: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+}
ul,
ol {
margin: 0 0 1rem;