-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
95 lines (80 loc) · 1.86 KB
/
styles.css
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
pre.collapsed {
max-height: 150px;
overflow: hidden;
position: relative;
display: block; /* Change from none to block */
}
pre.collapsed::after {
content: "Show more...";
position: absolute;
bottom: 0;
right: 0;
background: linear-gradient(to bottom, transparent, white);
color: #007bff;
cursor: pointer;
padding: 5px;
display: block;
}
/* Add styles for the new buttons */
.code-actions .btn {
margin-left: 5px;
}
/* Add consistent spacing for global buttons */
.global-buttons .btn {
margin-right: 5px;
}
.global-buttons {
display: flex;
justify-content: flex-end;
margin-bottom: 1rem;
}
.markdown-content {
overflow: hidden;
}
.markdown-content img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.tree-view {
list-style-type: none;
padding-left: 20px;
}
.tree-view li {
position: relative;
padding-left: 20px;
cursor: pointer;
display: flex;
align-items: center;
}
.tree-view .folder::before,
.tree-view .file::before {
font-family: "Font Awesome 5 Free"; /* Correct Font Awesome family */
font-weight: 900; /* Required for solid icons */
margin-right: 8px;
}
.tree-view .folder::before {
content: '\f07b'; /* Font Awesome folder icon */
color: #f0ad4e; /* Orange color for folders */
}
.tree-view .file::before {
content: '\f15b'; /* Font Awesome file icon */
color: #5bc0de; /* Blue color for files */
}
.tree-view .expanded::before {
content: '\f07c'; /* Font Awesome open folder icon */
}
.search-bar {
margin-bottom: 1rem;
}
.search-bar,
#cards-container,
#search-results,
#tree-view-container {
display: none;
}
div#search-results ul li:hover {
background-color: cadetblue;
cursor: pointer;
}