Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/less/content/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

a {
color: @mediumGray;
.linkUnderlines(@white, @mediumGray)
.linkUnderlines(@mediumGray)
}
}
3 changes: 1 addition & 2 deletions assets/less/content/functions.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
padding: .6em;
line-height: 1.5em;
margin-left: -2.5em;
background: none;
text-decoration: none;
border: none;
text-shadow: none;
}
}

Expand Down
12 changes: 4 additions & 8 deletions assets/less/content/general.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ h3 {
}

a {
.linkUnderlines(@white, @black);
.linkUnderlines(@black);
}

a.no-underline {
text-shadow: none;
background-image: none;
text-decoration: none;
}

ul {
Expand All @@ -62,12 +61,10 @@ ul {
a.view-source {
float: right;
color: @mediumGray;
background: none;
text-decoration: none;
border: none;
text-shadow: none;
transition: color 0.3s ease-in-out;
margin-top: 1px;
text-decoration: none;

&:hover {
color: @darkGray;
Expand Down Expand Up @@ -137,9 +134,8 @@ td, th {
padding: .3em .6em .6em;
line-height: 1em;
margin-left: -2.7em;
background: none;
text-decoration: none;
border: none;
text-shadow: none;
font-size: 16px;
vertical-align: middle;
}
Expand Down
8 changes: 3 additions & 5 deletions assets/less/content/summary.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
font-weight: 700;

a {
background: none;
border: none;
text-shadow: none;
text-decoration: none;
border: none;
}
}

Expand All @@ -15,9 +14,8 @@
font-weight: 700;

a {
background: none;
text-decoration: none;
border: none;
text-shadow: none;
}
}

Expand Down
33 changes: 4 additions & 29 deletions assets/less/mixins.less
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
@selectionColor: #b4d5fe;

.textShadowToCropUnderline(@color) {
text-shadow: .03em 0 @color, -.03em 0 @color, 0 .03em @color, 0 -.03em @color, .06em 0 @color, -.06em 0 @color, .09em 0 @color, -.09em 0 @color, .12em 0 @color, -.12em 0 @color, .15em 0 @color, -.15em 0 @color;
}

.linkUnderlines(@backgroundColor, @color) {
.linkUnderlines(@color) {
color: @color;
text-decoration: none;
.textShadowToCropUnderline(@backgroundColor);
background-image: linear-gradient(@backgroundColor, @backgroundColor), linear-gradient(@backgroundColor, @backgroundColor), linear-gradient(@color, @color);
background-size: .05em 1px, .05em 1px, 1px 1px;
background-repeat: no-repeat, no-repeat, repeat-x;
background-position: 0% 90%, 100% 90%, 0% 90%;

&:selection {
.textShadowToCropUnderline(@selectionColor);
background: @selectionColor;
}
&:-moz-selection {
.textShadowToCropUnderline(@selectionColor);
background: @selectionColor;
}
&:before,
&:after,
*,
*:before,
*:after {
text-shadow: none;
}
text-decoration: underline;
-webkit-text-decoration-skip: ink;
text-decoration-skip: ink;

&:visited {
color: @color;
Expand Down
3 changes: 1 addition & 2 deletions assets/less/night/content/code.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pre {
}

a {
text-shadow: none;
background-image: none;
text-decoration: none;
}
}
3 changes: 0 additions & 3 deletions assets/less/night/content/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@

a {
color: @mediumGray;
text-shadow: none;
background-image: none;
text-decoration: underline;
}
}
11 changes: 4 additions & 7 deletions assets/less/night/content/general.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,22 @@ h6 {
a {
color: @nightTextHeaders;
text-decoration: none;
.linkUnderlines(@nightBackground, @nightTextHeaders);
.linkUnderlines(@nightTextHeaders);
}

a.no-underline {
text-shadow: none;
background-image: none;
text-decoration: none;
}

a.view-source {
background: none;
text-shadow: none;
text-decoration: none;

&:hover {
color: @white;
}
}

.summary h2 a {
background: none;
text-shadow: none;
text-decoration: none;
}

3 changes: 1 addition & 2 deletions assets/less/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
font-size: 1.2em;

a {
text-shadow: none;
background-image: none;
text-decoration: none;
transition: color .3s ease-in-out;

&:visited,
Expand Down
1 change: 1 addition & 0 deletions formatters/html/dist/app-480ffdc169.css

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions formatters/html/dist/app-9bd040e5e5.js

This file was deleted.

1 change: 0 additions & 1 deletion formatters/html/dist/app-9bd040e5e5.js.map

This file was deleted.

8 changes: 8 additions & 0 deletions formatters/html/dist/app-ad33bc0e7d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions formatters/html/dist/app-ad33bc0e7d.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion formatters/html/dist/app-f4b41da578.css

This file was deleted.