Files
xrpl-dev-portal/styles/_docs.scss
2023-04-20 12:11:45 -05:00

190 lines
3.1 KiB
SCSS

// Light mode
.sdk-img {
align-self: center;
.light {
content:url(../assets/img/backgrounds/sdk-white.png);
}
}
// Video Cards
.get-started-img, .flat-card {
max-width:100%;
max-height:100%;
}
.faded-text {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
font-size: 15.5667px;
line-height: 23px;
// color: #E0E0E1;
}
// Explore SDKs
.page-docs-index {
.dev-tools-links {
grid-gap: 40px;
h6:hover {
color:#9A52FF;
text-decoration: none;
background: none!important;
}
p:hover {
text-decoration: none !important;
background: none !important;
}
a:hover{
color:#9A52FF;
text-decoration: none !important;
}
}
.langs h5:hover {
color:#9A52FF;
text-decoration: none !important;
background: none!important;
}
}
.page-docs-index .langs a:hover{
text-decoration: none !important;
}
.page-docs-index .langs .btn-arrow::after{
content: url(../img/icons/arrow-right-purple.svg);
vertical-align: baseline;
width: 1.5rem;
height: 1.5rem;
}
.page-docs-index .dev-tools-links .btn-arrow::after{
content: url(../img/icons/arrow-right-purple.svg);
width: 1.5rem;
height: 1.5rem;
}
.page-docs-index .langs a{
color:#E0E0E1
}
.light .langs a{
color: #000;
}
.page-docs-index .langs h5{
margin-block-start: 0 !important;
}
.page-docs-index h1,h2,h3,h4,h5,h6,p{
font-family: 'Work Sans'!important;
}
.page-docs-index h1{
font-size: 3.875rem;
}
@media (max-width: 991.98px) {
/* Fix dropdown size with top banner present */
.page-docs-index .langs-cards {
grid-template-columns: 1fr 1fr;
grid-auto-rows: auto;
}
}
.page-docs .circled-logo{
margin-left:0.1rem;
}
.circled-logo {
background-color: 757575;
border-radius: 50%;
padding: .65rem;
width: 50px;
height: 50px;
margin-bottom: 0.75rem;
border: 2px solid #232325;
}
.circled-logo .img {
width: 26px;
height: 26px;
display: inline-block;
}
.dev-tools-img {
max-width:100%;
max-height: 100%;
margin:auto;
}
.page-docs {
.h4::before {
margin-top: 0;
height: 0;
}
.row {
margin-right: 0;
margin-left: 0;
}
section {
margin-top: 128px;
margin-bottom: 128px;
margin-right: 8%;
}
.video-grid {
grid-gap: 35px;
}
.title-space {
margin-bottom: 16px;
}
}
.flat-card-grid {
grid-gap: 15px;
max-width: 100%;
min-height: 384px;
.flat-card {
padding: 32px 50px;
height: 100%;
width: 100%;
box-shadow: none;
}
.flat-card-padding {
margin-bottom: 75px;
}
img {
width: auto;
height: 115px;
margin-left: auto;
margin-right: auto;
}
}
.align-button-on-bottom {
.btn-primary {
position: absolute;
bottom: 0;
}
}
.center-image {
display: flex;
justify-content: center;
}
.quickstart-card {
.quickstart-image {
margin-left: -32px;
margin-right: -32px;
margin-bottom: -32px;
width: calc(100% + 64px);
}
}