CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/docs/assets/css/main.css
Views: 1904
1
---
2
---
3
4
#main-content p {
5
text-align: justify;
6
}
7
8
/* Color highlighting for msf console text */
9
.language-mermaid .label {
10
text-transform: inherit;
11
}
12
13
.language-msf .zp {
14
text-decoration: underline;
15
}
16
17
.language-msf .ze {
18
color: #960050;
19
}
20
21
.language-msf .zg {
22
color: #859900;
23
}
24
25
.language-msf .zs {
26
color: #268bd2;
27
}
28
29
.language-msf .zw {
30
color: orange;
31
}
32
33
/* Module overview styles */
34
35
.module-structure li::before {
36
content: ' ' !important;
37
}
38
39
.module-structure a {
40
height: 100%;
41
padding: 0.2rem;
42
background-image: none;
43
overflow: initial;
44
display: inline-block;
45
width: 90%;
46
}
47
48
.module-controls {
49
line-height: 0;
50
border-bottom: 1px solid #ddd;
51
}
52
53
.module-controls a {
54
line-height: 1;
55
padding: 0.5rem;
56
display: inline-block;
57
}
58
59
.module-controls span {
60
display: inline-block;
61
}
62
63
.module-structure a, .module-structure a:hover {
64
background-image: none;
65
}
66
67
.module-structure a .target {
68
pointer-events: none;
69
display: inline-block;
70
text-decoration: none;
71
}
72
73
.module-structure a:hover .target {
74
background-image: linear-gradient(rgba(114, 83, 237, 0.45) 0%, rgba(114, 83, 237, 0.45) 100%);
75
background-repeat: repeat-x;
76
background-position: 0 100%;
77
background-size: 1px 1px;
78
}
79
80
.module-structure {
81
line-height: 2rem;
82
}
83
84
/* visual indentation lines */
85
.module-structure ul {
86
margin-left: 7px !important;
87
padding-left: 20px !important;
88
border-left: 1px dashed #d1d7de;
89
}
90
91
/* Never allow the top-most files/folders to be collapsed */
92
.module-structure > li.folder > ul {
93
display: block;
94
}
95
96
.module-structure li p {
97
margin: 0;
98
}
99
100
.module-structure li {
101
margin: 0;
102
list-style: none;
103
}
104
105
.module-structure ul {
106
display: none;
107
margin: 0;
108
}
109
110
.module-structure ul.open {
111
display: block;
112
}
113
114
/* Default li style - files */
115
.module-structure li::before {
116
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>");
117
background-repeat: no-repeat;
118
width: 1rem;
119
height: 1rem;
120
background-position: center top;
121
background-size: 90% auto;
122
margin-top: 0;
123
vertical-align: middle;
124
margin-left: initial !important;
125
margin-right: 0.5rem !important;
126
display: inline-block !important;
127
position: initial !important;
128
}
129
130
/* li style - folders */
131
.module-structure li.folder::before {
132
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>");
133
}
134
135