This commit is contained in:
tonytins 2023-03-01 00:16:11 +00:00
parent 1def20febe
commit 01ef604533
7 changed files with 25 additions and 6 deletions

View file

@ -34,6 +34,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = ""; var path_to_root = "";
@ -185,5 +186,6 @@
<!-- Custom JS scripts --> <!-- Custom JS scripts -->
</div>
</body> </body>
</html> </html>

View file

@ -33,6 +33,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = ""; var path_to_root = "";
@ -219,5 +220,6 @@
<!-- Custom JS scripts --> <!-- Custom JS scripts -->
</div>
</body> </body>
</html> </html>

View file

@ -2,12 +2,6 @@
@import 'variables.css'; @import 'variables.css';
::-webkit-scrollbar {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar);
}
html { html {
scrollbar-color: var(--scrollbar) var(--bg); scrollbar-color: var(--scrollbar) var(--bg);
} }
@ -18,6 +12,19 @@ a > .hljs {
color: var(--links); color: var(--links);
} }
/*
body-container is necessary because mobile browsers don't seem to like
overflow-x on the body tag when there is a <meta name="viewport"> tag.
*/
#body-container {
/*
This is used when the sidebar pushes the body content off the side of
the screen on small screens. Without it, dragging on mobile Safari
will want to reposition the viewport in a weird way.
*/
overflow-x: hidden;
}
/* Menu Bar */ /* Menu Bar */
#menu-bar, #menu-bar,

View file

@ -33,6 +33,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = "../"; var path_to_root = "../";
@ -210,5 +211,6 @@
<!-- Custom JS scripts --> <!-- Custom JS scripts -->
</div>
</body> </body>
</html> </html>

View file

@ -33,6 +33,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = ""; var path_to_root = "";
@ -194,5 +195,6 @@
<!-- Custom JS scripts --> <!-- Custom JS scripts -->
</div>
</body> </body>
</html> </html>

View file

@ -34,6 +34,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = ""; var path_to_root = "";
@ -258,5 +259,6 @@ The Longhorn Edition of TOMAS is designed for use in enterprise scenarios. It is
}); });
</script> </script>
</div>
</body> </body>
</html> </html>

View file

@ -33,6 +33,7 @@
</head> </head>
<body> <body>
<div id="body-container">
<!-- Provide site root to javascript --> <!-- Provide site root to javascript -->
<script> <script>
var path_to_root = ""; var path_to_root = "";
@ -211,5 +212,6 @@ The Longhorn Edition of TOMAS is designed for use in enterprise scenarios. It is
<!-- Custom JS scripts --> <!-- Custom JS scripts -->
</div>
</body> </body>
</html> </html>