Summary Files Commits Branches @commit @diff @stats
path: root / src / typography.less
diff options
context:
space:
mode:
Commit30dd6ac6e84621b30a64d5fa47b4830b0b26c28c (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-01 19:04:29 +0800
Committer
 GitHub <noreply@github.com>
2017-03-01 19:04:29 +0800
Files901d62d09c7a8bc5b19b43407f70160df742c15f /src/typography.less
Spectre-Dark-Gruvbox-0.2.4.tar
Spectre-Dark-Gruvbox-0.2.4.tar.gz
Spectre-Dark-Gruvbox-0.2.4.zip
Parent22eef433e38cc22dec48f5f648e424084ef15a31 (diff)
Parent7aae225118ef1a313751340378896b202fdbc5fd (diff)
Merge pull request #149 from picturepan2/feature/meter-exp v0.2.4
Feature/meter exp
1 files changed, 5 insertions, 31 deletions
-rw-r--r--src/typography.less36
diff --git a/src/typography.less b/src/typography.less
index 5f97389..af247f0 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -33,6 +33,11 @@ p {
line-height: 2.4rem;
margin: 0 0 1em;
}
+a,
+ins,
+u {
+ text-decoration-skip: ink edges;
+}
blockquote {
border-left: .2rem solid #ddd;
margin-left: 0;
@@ -96,34 +101,3 @@ abbr[title] {
cursor: help;
text-decoration: none;
}
-
-// Code
-code {
- background: @core-bg-color;
- color: lighten(@body-font-color, 20%);
- .label-base();
-}
-pre {
- background: lighten(@core-border-color, 4%);
- line-height: 2rem;
- margin-bottom: 1em;
- margin-top: 1em;
- overflow: auto;
- padding: 2rem 2.5rem;
- position: relative;
-
- & > code {
- background: transparent;
- line-height: 2rem;
- padding: 0;
-
- &::before {
- content: attr(data-lang);
- color: @control-color;
- font-size: 1.2rem;
- position: absolute;
- right: 1rem;
- top: .2rem;
- }
- }
-}