Skip to content

Commit fbee584

Browse files
authored
Merge pull request #43 from ARISE-Initiative/update-docs
Update docs
2 parents b54b96c + f47eaae commit fbee584

File tree

11 files changed

+408
-35
lines changed

11 files changed

+408
-35
lines changed

docs/_static/css/theme.css

Lines changed: 328 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,328 @@
1+
/* From https://github.com/rusty1s/pytorch_geometric */
2+
3+
.wy-side-nav-search {
4+
background: rgb(143,144,147);
5+
}
6+
7+
.wy-side-nav-search > div.version {
8+
color: black;
9+
}
10+
11+
12+
.wy-nav-content-wrap {
13+
background: inherit;
14+
}
15+
16+
.wy-side-nav-search input[type="text"] {
17+
border: none;
18+
box-shadow: none;
19+
background: white;
20+
border-radius: 0;
21+
font-size: 100%;
22+
}
23+
24+
.wy-menu-vertical li.current a,
25+
.wy-menu-vertical li.toctree-l1.current > a {
26+
border: none;
27+
}
28+
29+
.ethical-rtd > div.ethical-sidebar,
30+
.ethical-rtd > div.ethical-footer {
31+
display: none !important;
32+
}
33+
34+
h1 {
35+
/* text-transform: uppercase; */
36+
font-family: inherit;
37+
font-weight: 200;
38+
}
39+
40+
h2,
41+
.rst-content .toctree-wrapper p.caption {
42+
font-family: inherit;
43+
font-weight: 200;
44+
}
45+
46+
.rst-content a:visited {
47+
color: #3091d1;
48+
}
49+
50+
/* Begin code */
51+
.rst-content pre.literal-block,
52+
.rst-content div[class^="highlight"] {
53+
border: none;
54+
}
55+
56+
.rst-content pre.literal-block,
57+
.rst-content div[class^="highlight"] pre,
58+
.rst-content .linenodiv pre {
59+
font-size: 80%;
60+
}
61+
62+
.highlight {
63+
background: #f6f8fa;
64+
border-radius: 6px;
65+
}
66+
67+
.highlight .kn,
68+
.highlight .k {
69+
color: #d73a49;
70+
}
71+
72+
.highlight .nn {
73+
color: inherit;
74+
font-weight: inherit;
75+
}
76+
77+
.highlight .nc {
78+
color: #e36209;
79+
font-weight: inherit;
80+
}
81+
82+
.highlight .fm,
83+
.highlight .nd,
84+
.highlight .nf,
85+
.highlight .nb {
86+
color: #6f42c1;
87+
}
88+
89+
.highlight .bp,
90+
.highlight .n {
91+
color: inherit;
92+
}
93+
94+
.highlight .kc,
95+
.highlight .s1,
96+
.highlight .s2,
97+
.highlight .mi,
98+
.highlight .mf,
99+
.highlight .bp,
100+
.highlight .bn,
101+
.highlight .ow {
102+
color: #005cc5;
103+
font-weight: inherit;
104+
}
105+
106+
.highlight .c1 {
107+
color: #6a737d;
108+
}
109+
110+
.rst-content code.xref {
111+
padding: .2em .4em;
112+
background: rgba(27,31,35,.05);
113+
border-radius: 6px;
114+
border: none;
115+
}
116+
/* End code */
117+
118+
.rst-content dl:not(.docutils) dt,
119+
.rst-content dl:not(.docutils) dl dt {
120+
background: rgb(243,244,247);
121+
}
122+
123+
.rst-content dl:not(.docutils) dt.field-odd,
124+
.rst-content dl:not(.docutils) dt.field-odd {
125+
text-transform: uppercase;
126+
background: inherit;
127+
border: none;
128+
padding: 6px 0;
129+
}
130+
131+
.rst-content dl:not(.docutils) .property {
132+
text-transform: uppercase;
133+
font-style: normal;
134+
padding-right: 12px;
135+
}
136+
137+
em.sig-param span.n:first-child, em.sig-param span.n:nth-child(2) {
138+
color: black;
139+
font-style: normal;
140+
}
141+
142+
em.sig-param span.n:nth-child(3),
143+
em.sig-param span.n:nth-child(3) a {
144+
color: inherit;
145+
font-weight: normal;
146+
font-style: normal;
147+
}
148+
149+
em.sig-param span.default_value {
150+
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
151+
font-style: normal;
152+
font-size: 90%;
153+
}
154+
155+
.sig-paren {
156+
padding: 0 4px;
157+
}
158+
159+
.wy-table-responsive table td,
160+
.wy-table-responsive table th {
161+
white-space: normal;
162+
}
163+
164+
.wy-table-bordered-all,
165+
.rst-content table.docutils {
166+
border: none;
167+
}
168+
169+
.wy-table-bordered-all td,
170+
.rst-content table.docutils td {
171+
border: none;
172+
}
173+
174+
.wy-table-odd td,
175+
.wy-table-striped tr:nth-child(2n-1) td,
176+
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
177+
background: rgb(243,244,247);
178+
}
179+
180+
.wy-table td,
181+
.rst-content table.docutils td,
182+
.rst-content table.field-list td,
183+
.wy-table th,
184+
.rst-content table.docutils th,
185+
.rst-content table.field-list th {
186+
padding: 16px;
187+
}
188+
/*
189+
.admonition {
190+
content: '\f12a';
191+
font-family: FontAwesome;
192+
} */
193+
194+
.admonition.note, div.admonition.note {
195+
border-color: rgba(var(--pst-color-admonition-note),1);
196+
}
197+
198+
.admonition.note>.admonition-title:before, div.admonition.note>.admonition-title:before {
199+
color: rgba(var(--pst-color-admonition-note),1);
200+
content: '\f12a'!important;
201+
/* content: var(--pst-icon-admonition-note); */
202+
}
203+
204+
.admonition.question>.admonition-title:before, div.admonition.question>.admonition-title:before {
205+
color: rgba(var(--pst-color-admonition-note),1);
206+
content: '\003f'!important;
207+
/* content: var(--pst-icon-admonition-note); */
208+
}
209+
210+
.admonition.explanation>.admonition-title:before, div.admonition.explanation>.admonition-title:before {
211+
color: rgba(var(--pst-color-admonition-note),1);
212+
content: '\f02d'!important;
213+
/* content: var(--pst-icon-admonition-note); */
214+
}
215+
216+
.card {
217+
/* Add shadows to create the "card" effect */
218+
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
219+
transition: 0.3s;
220+
border-radius: 5px; /* 5px rounded corners */
221+
width: 100%;
222+
padding-bottom: 10px;
223+
}
224+
225+
/* On mouse-over, add a deeper shadow */
226+
.card:hover {
227+
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
228+
229+
}
230+
231+
/* Add some padding inside the card container */
232+
.container {
233+
padding: 2px 16px;
234+
}
235+
236+
.row:after {
237+
content: "";
238+
display: table;
239+
clear: both;
240+
}
241+
242+
.column {
243+
float: left;
244+
width: 50%;
245+
padding: 20px 10px;
246+
}
247+
248+
.box{
249+
display: none;
250+
width: 100%;
251+
}
252+
253+
a:hover + .box,.box:hover{
254+
display: block;
255+
position: absolute;
256+
z-index: 100;
257+
border-radius: 50px!important;
258+
margin-left: 60px;
259+
margin-top: 0px;
260+
}
261+
262+
a:hover + .card:hover{
263+
display: block;
264+
position: absolute;
265+
z-index: 100;
266+
border-radius: 50px!important;
267+
margin-left: 60px;
268+
margin-top: 0px;
269+
}
270+
271+
a.reference.external {
272+
color: #6695B0!important;
273+
}
274+
275+
#p1 a {
276+
color: #E98D64!important;
277+
}
278+
279+
280+
#frame { zoom: 0.75; -moz-transform: scale(0.75); -moz-transform-origin: 0 0; }
281+
282+
/* Google Fonts */
283+
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
284+
285+
/* Global */
286+
287+
#typewriter body{
288+
height: calc(100vh - 8em);
289+
padding: 4em;
290+
color: rgba(255,255,255,.75);
291+
font-family: 'Anonymous Pro', monospace;
292+
background-color: rgb(25,25,25);
293+
}
294+
#typewriter .line-1{
295+
position: relative;
296+
top: 50%;
297+
width: 24em;
298+
margin: 0 auto;
299+
border-right: 2px solid rgba(255,255,255,.75);
300+
font-size: 180%;
301+
text-align: center;
302+
white-space: nowrap;
303+
overflow: hidden;
304+
transform: translateY(-50%);
305+
}
306+
307+
/* Animation */
308+
.anim-typewriter{
309+
animation: typewriter 4s steps(44) 1s 1 normal both,
310+
blinkTextCursor 500ms steps(44) infinite normal;
311+
}
312+
@keyframes typewriter{
313+
from{width: 0;}
314+
to{width: 24em;}
315+
}
316+
@keyframes blinkTextCursor{
317+
from{border-right-color: rgba(255,255,255,.75);}
318+
to{border-right-color: transparent;}
319+
}
320+
321+
322+
.trimmed-cover {
323+
object-fit: cover;
324+
width: 120%;
325+
height: 177px;
326+
object-position: center 40%;
327+
margin-right: -100px;
328+
}

docs/_static/js/custom.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$(document).ready(function () {
2+
$('a[href^="http://"], a[href^="https://"]').not('a[class*=internal]').attr('target', '_blank');
3+
});

0 commit comments

Comments
 (0)