Update index.html

This commit is contained in:
The Ghost of FOSS' Future 2024-09-18 11:44:05 -05:00 committed by GitHub
parent 0280fc5f89
commit a2d8b6f549
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,10 +16,10 @@
} }
.container { .container {
display: flex; display: flex;
height: 100%; height: 90%;
} }
.sidebar { .sidebar {
width: 8%; width: 10%;
background-color: #333; background-color: #333;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -27,8 +27,8 @@
padding-top: 10px; padding-top: 10px;
} }
.sidebar-icon { .sidebar-icon {
width: 80%; width: 8%;
height: 80%; height: 8%;
margin-bottom: 20px; margin-bottom: 20px;
cursor: pointer; cursor: pointer;
transition: background-color 0.3s; transition: background-color 0.3s;
@ -84,12 +84,12 @@
height: 100% !important; height: 100% !important;
} }
.status-bar { .status-bar {
height: 4%; height: 5%;
background-color: #007acc; background-color: #007acc;
color: #fff; color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 5px; /* Adjusted padding */ padding: .3vw;
font-size: 1vw; font-size: 1vw;
} }
#toggle-explorer { #toggle-explorer {
@ -226,11 +226,10 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/codemirror.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/codemirror.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/gfm/gfm.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/markdown/markdown.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/javascript/javascript.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/javascript/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/xml/xml.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/xml/xml.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/css/css.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/css/css.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/rust/rust.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/go/go.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/go/go.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/python/python.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/python/python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/json/json.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/mode/json/json.min.js"></script>
@ -310,9 +309,7 @@
case "css": case "css":
return "css"; return "css";
case "md": case "md":
return "gfm"; return "markdown";
case "rs":
return "rust";
case "go": case "go":
return "go"; return "go";
case "c": case "c":