File size: 1,055 Bytes
833b632 ac2ecb5 fe6e6a2 ac2ecb5 833b632 fe6e6a2 ac2ecb5 833b632 ac2ecb5 fe6e6a2 ac2ecb5 fe6e6a2 ac2ecb5 fe6e6a2 ac2ecb5 fe6e6a2 ac2ecb5 833b632 | 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 |
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Basic styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow: hidden;
}
#diagonal-scroll-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
#content-wrapper {
position: absolute;
will-change: transform;
}
.panel {
position: absolute;
width: 100vw;
height: 100vh;
overflow: hidden;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.5);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.7);
}
/* Ensure navbar and footer stay visible */
diagonal-navbar, diagonal-footer {
position: fixed;
z-index: 1000;
}
|