Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/docs/assets/css/main.css
24423 views
1
---
2
---
3
4
#main-content p {
5
text-align: justify;
6
}
7
8
/* Site logo */
9
.title-logo {
10
width: 220px;
11
}
12
13
/* Color highlighting for msf console text */
14
.language-mermaid .label {
15
text-transform: inherit;
16
}
17
18
.language-msf .zp {
19
text-decoration: underline;
20
}
21
22
.language-msf .ze {
23
color: #960050;
24
}
25
26
.language-msf .zg {
27
color: #859900;
28
}
29
30
.language-msf .zs {
31
color: #268bd2;
32
}
33
34
.language-msf .zw {
35
color: orange;
36
}
37
38
/* Module overview styles */
39
40
.module-structure li::before {
41
content: ' ' !important;
42
}
43
44
.module-structure a {
45
height: 100%;
46
padding: 0.2rem;
47
background-image: none;
48
overflow: initial;
49
display: inline-block;
50
width: 90%;
51
}
52
53
.module-controls {
54
line-height: 0;
55
border-bottom: 1px solid #ddd;
56
}
57
58
.module-controls a {
59
line-height: 1;
60
padding: 0.5rem;
61
display: inline-block;
62
}
63
64
.module-controls span {
65
display: inline-block;
66
}
67
68
.module-structure a, .module-structure a:hover {
69
background-image: none;
70
}
71
72
.module-structure a .target {
73
pointer-events: none;
74
display: inline-block;
75
text-decoration: none;
76
}
77
78
.module-structure a:hover .target {
79
background-image: linear-gradient(rgba(114, 83, 237, 0.45) 0%, rgba(114, 83, 237, 0.45) 100%);
80
background-repeat: repeat-x;
81
background-position: 0 100%;
82
background-size: 1px 1px;
83
}
84
85
.module-structure {
86
line-height: 2rem;
87
}
88
89
/* visual indentation lines */
90
.module-structure ul {
91
margin-left: 7px !important;
92
padding-left: 20px !important;
93
border-left: 1px dashed #d1d7de;
94
}
95
96
/* Never allow the top-most files/folders to be collapsed */
97
.module-structure > li.folder > ul {
98
display: block;
99
}
100
101
.module-structure li p {
102
margin: 0;
103
}
104
105
.module-structure li {
106
margin: 0;
107
list-style: none;
108
}
109
110
.module-structure ul {
111
display: none;
112
margin: 0;
113
}
114
115
.module-structure ul.open {
116
display: block;
117
}
118
119
/* Default li style - files */
120
.module-structure li::before {
121
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%234158bf' viewBox='0 0 512 512'><path d='M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z'/></svg>");
122
background-repeat: no-repeat;
123
width: 1rem;
124
height: 1rem;
125
background-position: center top;
126
background-size: 90% auto;
127
margin-top: 0;
128
vertical-align: middle;
129
margin-left: initial !important;
130
margin-right: 0.5rem !important;
131
display: inline-block !important;
132
position: initial !important;
133
}
134
135
/* li style - folders */
136
.module-structure li.folder::before {
137
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%234158bf' viewBox='0 0 512 512'><path d='M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z'/></svg>");
138
}
139
140