-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree.css
More file actions
46 lines (41 loc) · 904 Bytes
/
Copy pathtree.css
File metadata and controls
46 lines (41 loc) · 904 Bytes
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
/* Tree Container and Reset */
.tree ul {
list-style-type: none;
padding-left: 20px;
margin: 0;
border-left: 1px dashed #555; /* Creates vertical connecting lines */
}
.tree li, .tree summary {
font-family: 'Courier New', Courier, monospace;
padding: 4px 0;
cursor: pointer;
}
/* Directory Styling (Simulating standard dark blue/cyan directory colors) */
.dir {
color: #00a8ff;
font-weight: bold;
}
.dir:hover {
text-decoration: underline;
}
/* File Type Color Mapping (Simulating LS_COLORS) */
.file {
color: #f5f5f5; /* Default file color */
}
.file::before {
content: "├── "; /* Adds terminal-style branch indicator */
color: #555;
}
.file:last-child::before {
content: "└── "; /* Cleaner end branch indicator */
}
/* Specific Extensions */
.js {
color: #f1c40f; /* Yellow */
}
.css {
color: #e74c3c; /* Red */
}
.txt {
color: #2ecc71; /* Green */
}