mirror of https://github.com/istio/istio.io.git
52 lines
948 B
SCSS
52 lines
948 B
SCSS
---
|
|
sitemap_exclude: y
|
|
---
|
|
|
|
{% assign home = "" %}
|
|
{% if site.github.environment == "dotcom" %}
|
|
{% assign home = site.baseurl %}
|
|
{% endif %}
|
|
|
|
@import "common";
|
|
.docs {
|
|
*[id]:before {
|
|
display: block;
|
|
content: " ";
|
|
margin-top: -1em;
|
|
height: 1em;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.copy-button {
|
|
cursor: pointer;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
padding: 0px 6px 0px 6px;
|
|
color: #795548;
|
|
background-color: transparent;
|
|
position: absolute;
|
|
right: 62px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.copy-button:hover {
|
|
outline: 0;
|
|
background-color: $popBrandColor;
|
|
}
|
|
|
|
.copy-button:before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 3px;
|
|
background-size: contain;
|
|
background-image: url({{home}}/img/clipboard.svg);
|
|
background-repeat: no-repeat;
|
|
position: relative;
|
|
top: 3px
|
|
}
|