Update index.html
This commit is contained in:
parent
0280fc5f89
commit
a2d8b6f549
1 changed files with 8 additions and 11 deletions
19
index.html
19
index.html
|
@ -16,10 +16,10 @@
|
|||
}
|
||||
.container {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
height: 90%;
|
||||
}
|
||||
.sidebar {
|
||||
width: 8%;
|
||||
width: 10%;
|
||||
background-color: #333;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -27,8 +27,8 @@
|
|||
padding-top: 10px;
|
||||
}
|
||||
.sidebar-icon {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
width: 8%;
|
||||
height: 8%;
|
||||
margin-bottom: 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s;
|
||||
|
@ -84,12 +84,12 @@
|
|||
height: 100% !important;
|
||||
}
|
||||
.status-bar {
|
||||
height: 4%;
|
||||
height: 5%;
|
||||
background-color: #007acc;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 5px; /* Adjusted padding */
|
||||
padding: .3vw;
|
||||
font-size: 1vw;
|
||||
}
|
||||
#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/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/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/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/python/python.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":
|
||||
return "css";
|
||||
case "md":
|
||||
return "gfm";
|
||||
case "rs":
|
||||
return "rust";
|
||||
return "markdown";
|
||||
case "go":
|
||||
return "go";
|
||||
case "c":
|
||||
|
|
Loading…
Reference in a new issue