material_custom.css 1023 Bytes
Newer Older
Yuge Zhang's avatar
Yuge Zhang committed
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
/* viewcode link should have left padding */
span.viewcode-link {
    padding-left: 0.6rem;
}

/* adding an eyebrow for API references */
dt.sig-object {
    position: relative;
    background: #f4f5f7;
    padding: 0.5rem;
    border-left: 0.2rem solid #ec407a;  /* this should be matched with theme color. */
    word-wrap: break-word;
}

/* logo is too large */
a.md-logo img {
    padding: 3px;
}

/* Add split for navigation */
nav.md-tabs .md-tabs__item:not(:last-child) {
    padding-right: 0;
}

nav.md-tabs .md-tabs__item:not(:last-child) .md-tabs__link:after {
    content: "»";
    font-family: "Material Icons";
    padding-left: 0.6rem;    
}

/* hide the floating button generated by readthedocs */
.rst-versions.rst-badge {
    display: none !important;
}

/* Add some margin between main content and footer */
.md-footer {
    margin-top: 1rem;
}

/* make footer appearing inline */
.md-footer-copyright__highlight {
    display: inline;
}
45
46
47
48
49

/* toc style */
.md-nav span.caption {
    margin-top: 1.25em;
}