Added new window icon and spacing update

This commit is contained in:
Jake Bonham
2019-05-12 15:10:39 -07:00
committed by mDuo13
parent c32ec945d2
commit f0e2d12032
2 changed files with 11 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ th {
/* Reduce external link icon size */ /* Reduce external link icon size */
.fa.fa-external-link:before { .fa.fa-external-link:before {
font-size: 80%; font-size: 80%;
content: none;
} }
/* Top navigation ----------------------------------------------------------- */ /* Top navigation ----------------------------------------------------------- */
@@ -232,7 +233,7 @@ body {
line-height: 1.2; line-height: 1.2;
} }
.content h1:first-child:before { .content h1:first-child:before {
margin-top: -90px; margin-top: -80px;
} }
.content h2 { .content h2 {
margin-top: 0px; margin-top: 0px;
@@ -315,8 +316,11 @@ body {
text-decoration: underline; text-decoration: underline;
} }
/* Vertical numbers --------------------------------------------------------- */ .landing {
padding: 0 48px;
}
/* Vertical numbers --------------------------------------------------------- */
.flag-vertical { .flag-vertical {
position: absolute; position: absolute;
top: 2em; top: 2em;
@@ -333,7 +337,6 @@ body {
letter-spacing: 2px; letter-spacing: 2px;
} }
/* Footer ------------------------------------------------------------------- */ /* Footer ------------------------------------------------------------------- */
.xrpl-footer { .xrpl-footer {
@@ -1118,7 +1121,10 @@ a.current {
.related-projects a .fa-external-link { .related-projects a .fa-external-link {
transition: all .2s ease-in-out; transition: all .2s ease-in-out;
display: inline-block; display: inline-block;
padding-left: 7px; padding: 9px 6px 9px 15px;
background-image: url(../img/icon-new-window.svg);
background-size: 24px;
background-repeat: no-repeat;
} }
.external-link:hover .fa-external-link, .external-link:hover .fa-external-link,
.related-projects a:hover .fa-external-link { .related-projects a:hover .fa-external-link {

View File

@@ -0,0 +1 @@
<svg id="art" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><defs><style>.cls-1{fill:#231f20;}</style></defs><title>icon-new-window</title><polygon class="cls-1" points="28 10 28 12 34.59 12 23.29 23.29 24.71 24.71 36 13.41 36 20 38 20 38 10 28 10"/><polygon class="cls-1" points="32 34 14 34 14 18 24 18 24 16 12 16 12 16 12 36 12 36 34 36 34 22 32 22 32 34"/></svg>

After

Width:  |  Height:  |  Size: 376 B