custom.css 1.67 KB
Newer Older
1
2
3
4
5
6
/* Copyright (c) Meta Platforms, Inc. and affiliates.

   This source code is licensed under the MIT license found in the
   LICENSE file in the root directory of this source tree.
*/

Stanislav Pidhorskyi's avatar
Stanislav Pidhorskyi committed
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
#rtd-footer-container {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.sig-name {
  font-size: 1.0em;
  color: var(--pst-color-inline-code);
}

article.bd-article .function dt.sig {
  position: relative;
  background: var(--sig_nkg);
  padding: 0.8rem;
  border-left: 3px solid #ee4c2c;
  word-wrap: break-word;
  padding-right: 100px;
  font-weight: 400;
  font-size: 0.9em;
  font-family: IBMPlexMono,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New", monospace, var(--pst-font-family-monospace-system);
}

html[data-theme="dark"] {
  --sig_nkg: #2b2b2b;
  --pst-color-inline-code: #e16969;
  --pst-color-surface: #2b2b2b;
}

html[data-theme="light"] {
  --sig_nkg: #f2f2f2;
  --pst-color-inline-code: #912525;
  --pst-color-surface: #f2f2f2;
}

html {
  --pst-color-inline-code: #912525;
  --pst-font-size-icon: 2.0rem;
  --bs-nav-link-font-size: 1.5rem;
  --pst-color-surface: #f2f2f2;
}

a.headerlink {
    font-size: 1.0em;
}

ul.bd-breadcrumbs {
  font-size: 1.5rem;
  li.breadcrumb-item {
    &:not(.breadcrumb-home)::before {
      font-size: 1.5rem;
    }
  }
}

.navbar-brand {
  font-size: 2.5em;
}
.bd-main .bd-content .bd-article-container {
  max-width: 80em;
}
.bd-page-width {
  max-width: 96rem;
}

.bd-sidebar-primary {
  width:  16rem;
}

p.bd-links__title {
  visibility: collapse;
}
78
79
80
81
82
83
84

.external_link::after {
  font: var(--fa-font-solid);
  content: var(--pst-icon-external-link);
  font-size: 0.75em;
  margin-left: 0.3em;
}
Stanislav Pidhorskyi's avatar
Stanislav Pidhorskyi committed
85
86
87
88

.full-width {
  width: 100%
}