| 
1 | 1 | @import url("theme.css");  | 
2 | 2 | 
 
  | 
 | 3 | +/* Horizontal Navigation Bar */  | 
 | 4 | +.horizontal-nav {  | 
 | 5 | +    background-color: #ffffff;  | 
 | 6 | +    border-bottom: 1px solid #e5e5e5;  | 
 | 7 | +    padding: 0;  | 
 | 8 | +    position: fixed;  | 
 | 9 | +    top: 0;  | 
 | 10 | +    left: 0;  | 
 | 11 | +    right: 0;  | 
 | 12 | +    z-index: 1050;  | 
 | 13 | +    height: 50px;  | 
 | 14 | +    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  | 
 | 15 | +}  | 
 | 16 | + | 
 | 17 | +[data-theme="dark"] .horizontal-nav {  | 
 | 18 | +    background-color: #1a1a1a;  | 
 | 19 | +    border-bottom: 1px solid #333;  | 
 | 20 | +}  | 
 | 21 | + | 
 | 22 | +.horizontal-nav .nav-container {  | 
 | 23 | +    max-width: 1200px;  | 
 | 24 | +    margin: 0 auto;  | 
 | 25 | +    display: flex;  | 
 | 26 | +    align-items: center;  | 
 | 27 | +    justify-content: space-between;  | 
 | 28 | +    padding: 0 20px;  | 
 | 29 | +    height: 100%;  | 
 | 30 | +}  | 
 | 31 | + | 
 | 32 | +.horizontal-nav .nav-brand {  | 
 | 33 | +    font-size: 18px;  | 
 | 34 | +    font-weight: 600;  | 
 | 35 | +    color: #333;  | 
 | 36 | +    text-decoration: none;  | 
 | 37 | +}  | 
 | 38 | + | 
 | 39 | +[data-theme="dark"] .horizontal-nav .nav-brand {  | 
 | 40 | +    color: #fff;  | 
 | 41 | +}  | 
 | 42 | + | 
 | 43 | +.horizontal-nav .nav-links {  | 
 | 44 | +    display: flex;  | 
 | 45 | +    align-items: center;  | 
 | 46 | +    gap: 30px;  | 
 | 47 | +    list-style: none;  | 
 | 48 | +    margin: 0;  | 
 | 49 | +    padding: 0;  | 
 | 50 | +}  | 
 | 51 | + | 
 | 52 | +.horizontal-nav .nav-links a {  | 
 | 53 | +    color: #666;  | 
 | 54 | +    text-decoration: none;  | 
 | 55 | +    font-size: 14px;  | 
 | 56 | +    font-weight: 500;  | 
 | 57 | +    padding: 8px 12px;  | 
 | 58 | +    border-radius: 6px;  | 
 | 59 | +    transition: all 0.2s ease;  | 
 | 60 | +}  | 
 | 61 | + | 
 | 62 | +.horizontal-nav .nav-links a:hover,  | 
 | 63 | +.horizontal-nav .nav-links a.active {  | 
 | 64 | +    color: #333;  | 
 | 65 | +    background-color: #f5f5f5;  | 
 | 66 | +}  | 
 | 67 | + | 
 | 68 | +.horizontal-nav .nav-links a.active {  | 
 | 69 | +    font-weight: 600;  | 
 | 70 | +}  | 
 | 71 | + | 
 | 72 | +[data-theme="dark"] .horizontal-nav .nav-links a {  | 
 | 73 | +    color: #ccc;  | 
 | 74 | +}  | 
 | 75 | + | 
 | 76 | +[data-theme="dark"] .horizontal-nav .nav-links a:hover,  | 
 | 77 | +[data-theme="dark"] .horizontal-nav .nav-links a.active {  | 
 | 78 | +    color: #fff;  | 
 | 79 | +    background-color: #333;  | 
 | 80 | +}  | 
 | 81 | + | 
 | 82 | +.horizontal-nav .nav-links .github-link {  | 
 | 83 | +    display: flex;  | 
 | 84 | +    align-items: center;  | 
 | 85 | +    gap: 6px;  | 
 | 86 | +}  | 
 | 87 | + | 
 | 88 | +.horizontal-nav .nav-links .github-icon {  | 
 | 89 | +    width: 16px;  | 
 | 90 | +    height: 16px;  | 
 | 91 | +    fill: currentColor;  | 
 | 92 | +}  | 
 | 93 | + | 
 | 94 | +/* Adjust main content to account for fixed nav */  | 
 | 95 | +.wy-nav-side {  | 
 | 96 | +    top: 50px;  | 
 | 97 | +    height: calc(100vh - 50px);  | 
 | 98 | +}  | 
 | 99 | + | 
 | 100 | +.wy-nav-content-wrap {  | 
 | 101 | +    margin-top: 50px;  | 
 | 102 | +}  | 
 | 103 | + | 
3 | 104 | .wy-nav-content {  | 
4 | 105 |     max-width: 90%;  | 
5 | 106 | }  | 
 | 
0 commit comments