|
12 | 12 | <!-- Google fonts-->
|
13 | 13 | <link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
|
14 | 14 | <link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
|
15 |
| - <!--Locomotice scroll css--> |
16 |
| - <link rel="stylesheet" href="scroll.css"> |
17 | 15 | <!-- Bootstrap link-->
|
18 | 16 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
19 | 17 | <!-- Core theme CSS (includes Bootstrap)-->
|
20 | 18 | <link href="css/styles.css" rel="stylesheet" />
|
| 19 | + |
| 20 | + <style> |
| 21 | + html.has-scroll-smooth { |
| 22 | + overflow: hidden; |
| 23 | +} |
| 24 | + |
| 25 | +html.has-scroll-dragging { |
| 26 | + -webkit-user-select: none; |
| 27 | + -moz-user-select: none; |
| 28 | + -ms-user-select: none; |
| 29 | + user-select: none; |
| 30 | +} |
| 31 | + |
| 32 | +.has-scroll-smooth body { |
| 33 | + overflow: hidden; |
| 34 | +} |
| 35 | + |
| 36 | +.has-scroll-smooth [data-scroll-container] { |
| 37 | + min-height: 100vh; |
| 38 | +} |
| 39 | + |
| 40 | +[data-scroll-direction="horizontal"] [data-scroll-container] { |
| 41 | + height: 100vh; |
| 42 | + display: inline-block; |
| 43 | + white-space: nowrap; |
| 44 | +} |
| 45 | + |
| 46 | +[data-scroll-direction="horizontal"] [data-scroll-section] { |
| 47 | + display: inline-block; |
| 48 | + vertical-align: top; |
| 49 | + white-space: nowrap; |
| 50 | + height: 100%; |
| 51 | +} |
| 52 | + |
| 53 | +.c-scrollbar { |
| 54 | + position: absolute; |
| 55 | + right: 0; |
| 56 | + top: 0; |
| 57 | + width: 11px; |
| 58 | + height: 100%; |
| 59 | + transform-origin: center right; |
| 60 | + transition: transform 0.3s, opacity 0.3s; |
| 61 | + opacity: 0; |
| 62 | +} |
| 63 | + |
| 64 | +.c-scrollbar:hover { |
| 65 | + transform: scaleX(1.45); |
| 66 | +} |
| 67 | + |
| 68 | +.c-scrollbar:hover, .has-scroll-scrolling .c-scrollbar, .has-scroll-dragging .c-scrollbar { |
| 69 | + opacity: 1; |
| 70 | +} |
| 71 | + |
| 72 | +[data-scroll-direction="horizontal"] .c-scrollbar { |
| 73 | + width: 100%; |
| 74 | + height: 10px; |
| 75 | + top: auto; |
| 76 | + bottom: 0; |
| 77 | + transform: scaleY(1); |
| 78 | +} |
| 79 | + |
| 80 | +[data-scroll-direction="horizontal"] .c-scrollbar:hover { |
| 81 | + transform: scaleY(1.3); |
| 82 | +} |
| 83 | + |
| 84 | +.c-scrollbar_thumb { |
| 85 | + position: absolute; |
| 86 | + top: 0; |
| 87 | + right: 0; |
| 88 | + background-color: black; |
| 89 | + opacity: 0.5; |
| 90 | + width: 7px; |
| 91 | + border-radius: 10px; |
| 92 | + margin: 2px; |
| 93 | + cursor: -webkit-grab; |
| 94 | + cursor: grab; |
| 95 | +} |
| 96 | + |
| 97 | +.has-scroll-dragging .c-scrollbar_thumb { |
| 98 | + cursor: -webkit-grabbing; |
| 99 | + cursor: grabbing; |
| 100 | +} |
| 101 | + |
| 102 | +[data-scroll-direction="horizontal"] .c-scrollbar_thumb { |
| 103 | + right: auto; |
| 104 | + bottom: 0; |
| 105 | +} |
| 106 | + </style> |
21 | 107 | </head>
|
22 | 108 | <body id="page-top">
|
23 | 109 | <!-- Navigation-->
|
|
0 commit comments