File size: 1,706 Bytes
9f4c671 c3fa188 9f4c671 c3fa188 9f4c671 c3fa188 9f4c671 c3fa188 9f4c671 ae15eed 9f4c671 ae15eed 9f4c671 ae15eed 9f4c671 ae15eed 9f4c671 c3fa188 9f4c671 c3fa188 9f4c671 c3fa188 9f4c671 c3fa188 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
/* Documentation Site Styles */
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: rgba(30, 41, 59, 0.5);
border-radius: 5px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #06b6d4, #8b5cf6);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #0891b2, #7c3aed);
}
/* Code block styling */
.hljs {
background: transparent !important;
padding: 1.5rem !important;
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
font-size: 0.875rem;
line-height: 1.6;
}
/* File tree */
.file-tree-item {
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
}
.file-tree-item:hover {
background-color: rgba(56, 189, 248, 0.1);
}
.file-tree-item.active {
background-color: rgba(56, 189, 248, 0.2);
border-left: 3px solid #06b6d4;
}
.file-tree-icon {
margin-right: 0.75rem;
color: #94a3b8;
width: 1.25rem;
height: 1.25rem;
}
.file-tree-item.active .file-tree-icon {
color: #06b6d4;
}
/* Copy button feedback */
.copy-success {
background-color: #10b981 !important;
transition: background-color 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hljs {
padding: 1rem !important;
font-size: 0.75rem;
}
}
/* Selection style */
::selection {
background-color: rgba(6, 182, 212, 0.3);
}
/* Focus outline */
*:focus {
outline: 2px solid #06b6d4;
outline-offset: 2px;
} |