Debian Codegraph @

docs/source/_static/css/custom.css

raw
1 /* Prevents two-dimensional scrolling and content loss. */
2 h1,
3 code,
4 li {
5 overflow-wrap: break-word;
6 }
7 /* Provides padding to push down the "breadcrumb" navigation in nested pages. */
8 .content {
9 padding: 1em 3em;
10 }
11 /* Improves spacing around custom sidebar section*/
12 .sidebar-div {
13 margin: var(--sidebar-caption-space-above) 0 0 0;
14 padding: var(--sidebar-item-spacing-vertical)
15 var(--sidebar-item-spacing-horizontal);
16 }
17 /* Custom sidebar heading text. Example: Feedback Section heading. */
18 .sidebar-heading {
19 color: var(--color-sidebar-caption-text);
20 font-size: var(--font-size--normal);
21 font-weight: 700;
22 }
23 /* Improves text used in custom sidebar section. Example: Feedback section content.*/
24 .sidebar-text {
25 color: var(--color-sidebar-caption-text);
26 font-size: var(--sidebar-item-font-size);
27 line-height: 1.4;
28 }
29 /* Removes empty space above the sidebar-tree (under "Feedback" section) */
30 .sidebar-tree {
31 margin-top: 0px;
32 }
33 /* Adds padding around AWS Logo in the left sidebar. */
34 .sidebar-logo {
35 padding: 20% 15%;
36 }
37 /* Hides a div by default. */
38 .show-div-sm {
39 display: none;
40 }
41 /* Hides a div by default. */
42 .show-div-md {
43 display: none;
44 }
45 /* Positions items starting from the right. */
46 .justify-content-right {
47 justify-content: right;
48 }
49 /* Positions items starting from the left. */
50 .justify-content-left {
51 justify-content: left;
52 }
53 /* Hides the sidebar and prevents keyboard users from focusing on elements. */
54 .hide-sidebar {
55 visibility: hidden;
56 }
57 /* Hides the icon by default and applies relevant styling. */
58 .nav-close-icon {
59 color: var(--color-foreground-secondary);
60 display: flex;
61 align-items: center;
62 justify-content: center;
63 cursor: pointer;
64 }
65 /* Aligns theme toggle and menu toggle on a medium viewport */
66 .content-icon-container {
67 align-items: center;
68 }
69 /* Adds gap between theme toggle and menu toggle on a small viewport */
70 .header-right {
71 gap: 0.5rem;
72 }
73 /* Safeguard for ensuring menus are always visible on larger screens. */
74 @media (min-width: 82em) {
75 .hide-sidebar {
76 visibility: visible;
77 }
78 }
79 /* We only want to show the close-icon on medium-small screens. */
80 @media (max-width: 67em) {
81 /* Displays a div on a small screen. */
82 .show-div-sm {
83 display: flex;
84 }
85 }
86 @media (max-width: 82em) {
87 /* Displays a div on a medium screen. */
88 .show-div-md {
89 display: flex;
90 }
91 }
92 /* Apply furo styled admonition titles for <h3>. */
93 h3.admonition-title {
94 position: relative;
95 margin: 0 -0.5rem 0.5rem;
96 padding-left: 2.5rem;
97 padding-right: 0.5rem;
98 padding-top: 0.4rem;
99 padding-bottom: 0.4rem;
100 font-weight: 700;
101 font-size: 1.5em;
102 line-height: 1.25;
103 border-radius: unset;
104 background-color: var(--color-admonition-title-background);
105 }
106 /* Apply furo styled admonition icons before <h3>. */
107 h3.admonition-title::before {
108 content: "";
109 position: absolute;
110 left: 0.5rem;
111 width: 1.5rem;
112 height: 1.5rem;
113 background-color: var(--color-admonition-title);
114 mask-image: var(--icon-admonition-default);
115 mask-repeat: no-repeat;
116 }
117 /* Hides an element by removing it from the document flow */
118 .hidden {
119 display: none;
120 }
121 /* Replaces in-line styling in icons.html */
122 .icon-opacity{
123 opacity: 50%;
124 }