Summary Files Commits Branches @commit @diff @stats
path: root / src / typography.less
diff options
context:
space:
mode:
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;
- }
- }
-}