mirror of https://github.com/grpc/grpc.io.git
Add external-link icon to sidebar using CSS (#863)
This commit is contained in:
parent
c52dcffffe
commit
9bbf5c6395
|
|
@ -9,6 +9,7 @@ what the workaround is for
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
// External link icon
|
||||
a > .fa-external-link-alt::before,
|
||||
a > span > .fa-external-link-alt::before {
|
||||
font-size: 50%;
|
||||
|
|
@ -17,6 +18,15 @@ a > span > .fa-external-link-alt::before {
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
.td-sidebar-nav a[target="_blank"]:after {
|
||||
@extend .fas;
|
||||
font-size: 50%;
|
||||
margin-left: 3px;
|
||||
opacity: 0.8;
|
||||
vertical-align: text-top;
|
||||
content: fa-content($fa-var-external-link-alt);
|
||||
}
|
||||
|
||||
/*
|
||||
Docsy's 'cover/block' option for setting background images does
|
||||
not currently support svg's. This sets the background on hero
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 36745d9b01133a81e5c970ecb6fccc01cb5a9cd6
|
||||
Subproject commit 19186eef26b2678237496de0a16ef85d9ac2cb2c
|
||||
Loading…
Reference in New Issue