forked from loafle/openapi-generator-original
FAQ has been split into multiple smaller documents to better categorize and allow users to find what they're looking for (in docs folder or in new website). Release summary information (versioning strategy and cadence) has been migrated from the Wiki and clarified a bit. Also adds copy button for all code snippets in website.
42 lines
688 B
CSS
42 lines
688 B
CSS
/* source: https://gist.github.com/yangshun/55db997ed0f8f4e6527571fc3bee4675 */
|
|
/* "Copy" code block button */
|
|
pre {
|
|
position: relative;
|
|
}
|
|
|
|
pre .btnIcon {
|
|
position: absolute;
|
|
top: 4px;
|
|
z-index: 2;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
padding: 0;
|
|
color: #1e4562;
|
|
color: rgba(30, 69, 98, 0.5);
|
|
background-color: transparent;
|
|
height: 30px;
|
|
transition: all .25s ease-out;
|
|
}
|
|
|
|
pre .btnIcon:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btnIcon__body {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.btnIcon svg {
|
|
fill: currentColor;
|
|
margin-right: .4em;
|
|
}
|
|
|
|
.btnIcon__label {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.btnClipboard {
|
|
right: 10px;
|
|
}
|