mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-25 07:17:32 +01:00
* Docs: Introduce new Docusaurus-based website This commit is the result of running npx docusaurus-init, and nothing more. Further changes will happen on top of this, to make it easier to review changes and update to newer versions of Docusaurus in the future. * WIP: Add Bitcoin-S website Change the default Docusaurus template to a custom website. Goes off of existing documentation, and moves it into the new docs and website directories. Deletes some unused files, such as BUILD_README.md * Initial mdoc support * Add Scaladoc to website * Add SVG assets * Change colors, flesh out pages, correct Scaladoc links * Rename doc project to scripts, move security doc to website * Add copy buttons to website code snippets * Add doc and tasks for publishing website * Refactor how paths get copied after generating Scaladocs * Add Get Started button * Replace bitcoin-s logo with white text * Add Montserrat font for headers * flesh out user showcase and landing page * Change Scaladoc URL to bitcoins package
39 lines
546 B
CSS
39 lines
546 B
CSS
/* "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: $primaryColor;
|
|
background-color: transparent;
|
|
height: 30px;
|
|
transition: all 0.25s ease-out;
|
|
}
|
|
|
|
pre .btnIcon:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btnIcon__body {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.btnIcon svg {
|
|
fill: currentColor;
|
|
margin-right: 0.4em;
|
|
}
|
|
|
|
.btnIcon__label {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.btnClipboard {
|
|
right: 10px;
|
|
}
|