mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
65 lines
1.0 KiB
SCSS
65 lines
1.0 KiB
SCSS
.btn, .content a.button {
|
|
padding: 16px 24px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
line-height: 1.25;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.btn-outline-secondary,
|
|
.content a.button,
|
|
.navbar-dark .navbar-nav .nav-link.btn-outline-secondary {
|
|
color: $white;
|
|
border-color: $white;
|
|
border-width: 2px;
|
|
border-style: solid;
|
|
|
|
&:hover, &:active {
|
|
color: $primary;
|
|
border-color: $primary;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.navbar-dark .navbar-nav .nav-link:hover {
|
|
color: $white;
|
|
}
|
|
|
|
/* Button styling ----------------------------------------------------------- */
|
|
|
|
p + .readmore {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.card-header a i {
|
|
margin: 0 0.2em 0 0.8em;
|
|
}
|
|
|
|
.btn-primary code,
|
|
.btn-secondary code {
|
|
color: inherit;
|
|
}
|
|
|
|
/* (Jump to) "Top" button */
|
|
|
|
.jump-to-top {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 15px;
|
|
right: 30px;
|
|
font-weight: 700;
|
|
z-index: 1000;
|
|
color: white;
|
|
|
|
&::after {
|
|
content: " ↑"
|
|
}
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
bottom: 40px;
|
|
right: 40px;
|
|
}
|
|
}
|