Skip to content

Commit a000009

Browse files
committed
Deploy preview for PR 971 🛫
1 parent f099fd1 commit a000009

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+181
-211
lines changed
0 Bytes
Binary file not shown.
-12 KB
Binary file not shown.
-11.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-194 KB
Binary file not shown.
-13.2 KB
Binary file not shown.
-205 KB
Binary file not shown.
-162 KB
Binary file not shown.

Diff for: ‎pr-preview-academy/pr-971/_static/css/style.css

+117-91
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,40 @@
1111
--pst-font-family-base: var(--pst-font-family-base-system);
1212
--pst-font-family-heading: var(--pst-font-family-base);
1313
--pst-font-family-monospace: var(--pst-font-family-monospace-system);
14-
14+
1515
/*****************************************************************************
16-
* Color
17-
*
18-
* Colors are defined in rgb string way, "red, green, blue"
16+
* Colors
1917
**/
18+
/* specified with RGB or hexcodes */
19+
--pst-color-primary: #48A2AE;
20+
--pst-color-primary-text: #333333;
21+
--pst-color-secondary: #052535;
2022
--pst-color-link: #48A2AE;
2123
--pst-color-link-hover: #48A2AE;
24+
--pst-color-inline-code: 178, 34, 34;
2225
--pst-color-sidebar-link-hover: #48A2AE;
2326
--pst-color-toc-link-hover: #48A2AE;
2427
--pst-color-toc-link-active: #48A2AE;
2528
--pst-color-headerlink: #48A2AE;
2629
--pst-color-headerlink-hover: #48A2AE;
27-
--pst-color-inline-code: 178, 34, 34;
28-
--primary-color: #48A2AE;
29-
--secondary-color: #052535;
30-
--font-color: #333333;
3130
--bg-color: #ffffff;
3231
--heading-color: #333333;
3332
}
3433

35-
[data-theme="dark"] {
36-
--primary-color: #9A97F3;
37-
--secondary-color: #818cab;
38-
--font-color: #fff;
39-
--bg-color: #000000;
40-
--heading-color: #818cab;
34+
html {
35+
--pst-color-primary: #48A2AE;
36+
--pst-color-primary-text: #333333;
37+
--pst-color-secondary: #052535;
38+
--pst-color-link: #48A2AE;
39+
--pst-color-link-hover: #48A2AE;
40+
--pst-color-inline-code: 178, 34, 34;
41+
--pst-color-sidebar-link-hover: #48A2AE;
42+
--pst-color-toc-link-hover: #48A2AE;
43+
--pst-color-toc-link-active: #48A2AE;
44+
--pst-color-headerlink: #48A2AE;
45+
--pst-color-headerlink-hover: #48A2AE;
46+
--bg-color: #ffffff;
47+
--heading-color: #333333;
4148
}
4249

4350
html {
@@ -49,80 +56,100 @@ html {
4956
body{
5057
font-family: var(--pst-font-family-base-system);
5158
background-color: var(--bg-color);
52-
color: var(--font-color);
59+
color: #333333;
60+
;
5361
}
5462

5563
/* Text styling */
5664
p{
5765
line-height: 1.7em;
5866
font-size: 16px;
59-
color: var(--font-color);
67+
color: #333333;
6068
font-family: var(--pst-font-family-base-system);
6169
}
6270

6371
h1{
6472
font-family: var(--pst-font-family-base-system);
65-
color: var(--heading-color);
73+
color: #333333;
6674
margin-bottom: 34px;
6775
}
6876

6977
h2{
7078
font-family: var(--pst-font-family-base-system);
71-
color: var(--heading-color);
79+
color: #333333;
7280
margin-bottom: 28px;
7381
}
7482

7583
h3{
7684
font-family: var(--pst-font-family-base-system);
77-
color: var(--heading-color);
85+
color: #333333;
7886
margin-bottom: 24px;
7987
}
8088

8189
h4{
8290
font-family: var(--pst-font-family-base-system);
83-
color: var(--heading-color);
91+
color: #333333;
8492
}
8593

8694
h5{
8795
font-family: var(--pst-font-family-base-system);
88-
color: var(--heading-color);
96+
color: #333333;
8997
}
9098

9199
h6{
92100
font-family: var(--pst-font-family-base-system);
93-
color: var(--heading-color);
101+
color: #333333;
94102
}
95103

96-
a.reference.external{
97-
color: var(--pst-color-link);
104+
a{
105+
color: #48A2AE;
106+
text-decoration: none;
98107
}
99108

100-
a.reference.internal{
101-
color: var(--pst-color-link);
109+
a.reference.internal:hover{
110+
color: #48A2AE;
111+
text-decoration: none;
102112
}
103113

104-
a.reference.internal:hover{
105-
color: var(--pst-color-link);
114+
a.reference.external:hover{
115+
color: #48A2AE;
116+
text-decoration: none;
106117
}
107118

108-
a.reference.internal:active{
109-
color: var(--pst-color-link);
119+
a.headerlink {
120+
--pst-color-secondary: #48A2AE;
110121
}
111122

112-
a.left-prev{
113-
color: var(--pst-color-link);
123+
a.headerlink:active{
124+
--pst-color-link-hover: #48A2AE;
114125
}
115126

116-
a.right-next{
117-
color: var(--pst-color-link);
127+
p.copyright{
128+
font-size: 8px;
129+
display: inline-block;
130+
text-align: left;
131+
padding-left: 16px;
118132
}
119133

120-
a.current.reference.internal:hover{
121-
color: var(--pst-color-link);
134+
.prev-next-area a p.prev-next-title{
135+
text-decoration: none;
136+
color: #48A2AE;
122137
}
123138

124-
.bd-sidebar .nav .active:hover>a{
125-
color: unset;
139+
p.prev-next-title:hover{
140+
--pst-color-link-hover: #48A2AE;
141+
}
142+
143+
#pst-back-to-top{
144+
background-color: #052535;
145+
}
146+
147+
.bd-search input {
148+
--pst-color-accent: #48A2AE;
149+
}
150+
151+
.toc-entry a.nav-link.active {
152+
box-shadow: none;
126153
}
127154

128155
/*Code styling */
@@ -153,14 +180,33 @@ iframe {
153180
align-items: center;
154181
}
155182

183+
.nav-item{
184+
--pst-color-link-hover: #48A2AE;
185+
}
186+
187+
.search-button__button{
188+
--pst-color-link-hover: #48A2AE;
189+
}
190+
156191
.navbar-end{
157192
width: 33%;
158193
}
159194

160195
/* Sidebar */
161-
.bd-sidebar .nav .active:hover>label .fa-chevron-down:before,
162-
.bd-sidebar .nav .active>label .fa-chevron-down:before {
163-
color: rgba(var(--pst-color-sidebar-link-active),1);
196+
.bd-sidebar{
197+
text-decoration: none;
198+
}
199+
200+
.bd-links__title {
201+
visibility: hidden;
202+
}
203+
204+
.bd-sidebar .nav .active:hover>a{
205+
color: unset;
206+
}
207+
208+
.fa-chevron-down:before {
209+
color: #888888;
164210
}
165211

166212
.bd-sidebar label {
@@ -173,12 +219,30 @@ iframe {
173219
background: none;
174220
}
175221

176-
.bd-sidebar .label-parts i {
222+
.bd-sidebar .nav .active:hover>label .fa-chevron-down:before,
223+
.bd-sidebar .nav .active>label .fa-chevron-down:before {
224+
color: rgba(var(--pst-color-sidebar-link-active),1);
225+
}
226+
227+
.bd-sidebar .label-parts .fa-chevron-down {
177228
left: 0;
178229
right:unset;
179230
top: 9px;
180231
}
181232

233+
.navbar-nav .toctree-checkbox~label .fa-chevron-down {
234+
transform: rotate(270deg);
235+
}
236+
237+
.navbar-nav .toctree-checkbox:checked~label .fa-chevron-down {
238+
transform: rotate(0deg);
239+
}
240+
241+
ul.list-caption li.selected p.caption,
242+
ul.list-caption li.selected > label i:before {
243+
color: rgba(var(--pst-color-sidebar-link-active),1);
244+
}
245+
182246
.bd-sidebar .nav {
183247
font-size: 14px;
184248
padding: 0 0 4px 14px
@@ -213,34 +277,20 @@ iframe {
213277
padding: 5px 0 5px 22px;
214278
}
215279

216-
.toctree-checkbox~label i {
217-
transform: rotate(270deg);
218-
}
219-
220-
.toctree-checkbox:checked~label i {
221-
transform: rotate(0deg);
222-
}
223-
224280
.bd-links {
225281
margin-right: 0;
226282
margin-left: 0;
227283
}
228284

229-
.fa-chevron-down:before {
230-
color: #888888;
231-
}
232-
233285
nav.bd-links p.caption {
234286
text-transform: unset;
235287
font-weight: unset;
236288
font-size: 14px;
237-
padding: 0 0 0 22px;
238289
color: #888888;
239290
}
240291

241-
.bd-sidebar .nav .active:hover>label .fa-chevron-down:before,
242-
.bd-sidebar .nav .active>label .fa-chevron-down:before {
243-
color: rgba(var(--pst-color-sidebar-link-active),1);
292+
nav.bd-links .current>a {
293+
box-shadow: none;
244294
}
245295

246296
.bd-search {
@@ -255,46 +305,14 @@ nav.bd-links p.caption {
255305
font-size: 15px;
256306
}
257307

258-
.toctree-checkbox~label i {
259-
transform: rotate(270deg);
260-
}
261-
262-
.toctree-checkbox:checked~label i {
263-
transform: rotate(0deg);
264-
}
265-
266-
.sidebar-top-menu {
267-
display: flex;
268-
flex-direction: row;
269-
margin-top: 1em;
270-
margin-left: -.809em;
271-
margin-right: -.809em;
272-
}
273-
274-
.sidebar-top-menu a {
275-
color: #d9d9d9;
276-
flex: 1;
277-
padding: 0.5em;
278-
border-radius: 2px 2px 0 0;
279-
}
280-
281308
.rst-versions.shift-up {
282309
overflow-y: auto;
283310
}
284311

285-
.sidebar-top-menu a.active {
286-
background-color: #EFEFEF;
287-
}
288-
289312
ul.list-caption li.selected p.caption {
290313
font-weight: 600;
291314
}
292315

293-
ul.list-caption li.selected p.caption,
294-
ul.list-caption li.selected > label i:before {
295-
color: rgba(var(--pst-color-sidebar-link-active),1);
296-
}
297-
298316
/* Admonitions */
299317
.section {
300318
margin-bottom: 60px;
@@ -425,7 +443,15 @@ div.admonition {
425443
.navbar-toggler {
426444
border: none;
427445
}
428-
446+
447+
label.sidebar-toggle.primary-toggle:hover {
448+
--pst-color-link-hover: #48A2AE;
449+
}
450+
451+
label.sidebar-toggle.secondary-toggle:hover {
452+
--pst-color-link-hover: #48A2AE;
453+
}
454+
429455
.row .bd-sidebar {
430456
z-index: 10000;
431457
position: absolute;

Diff for: ‎pr-preview-academy/pr-971/adv-tutorials.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
3636
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
3737
<link rel="stylesheet" type="text/css" href="_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
38-
<link rel="stylesheet" type="text/css" href="_static/css/style.css?v=21f5c625" />
38+
<link rel="stylesheet" type="text/css" href="_static/css/style.css?v=87251df2" />
3939
<link rel="stylesheet" type="text/css" href="_static/css/tippy.css?v=6175c28d" />
4040

4141
<!-- Pre-loaded scripts that we'll load fully later -->

Diff for: ‎pr-preview-academy/pr-971/assignment-1/basic-smart-contract.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
3636
<link rel="stylesheet" type="text/css" href="../_static/tabs.css?v=a5c4661c" />
3737
<link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
38-
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=21f5c625" />
38+
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=87251df2" />
3939
<link rel="stylesheet" type="text/css" href="../_static/css/tippy.css?v=6175c28d" />
4040

4141
<!-- Pre-loaded scripts that we'll load fully later -->

Diff for: ‎pr-preview-academy/pr-971/assignment-2/dapp-using-walletconnect.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
3636
<link rel="stylesheet" type="text/css" href="../_static/tabs.css?v=a5c4661c" />
3737
<link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
38-
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=21f5c625" />
38+
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=87251df2" />
3939
<link rel="stylesheet" type="text/css" href="../_static/css/tippy.css?v=6175c28d" />
4040

4141
<!-- Pre-loaded scripts that we'll load fully later -->

Diff for: ‎pr-preview-academy/pr-971/assignment-3/full-stack-dapp.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
3636
<link rel="stylesheet" type="text/css" href="../_static/tabs.css?v=a5c4661c" />
3737
<link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
38-
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=21f5c625" />
38+
<link rel="stylesheet" type="text/css" href="../_static/css/style.css?v=87251df2" />
3939
<link rel="stylesheet" type="text/css" href="../_static/css/tippy.css?v=6175c28d" />
4040

4141
<!-- Pre-loaded scripts that we'll load fully later -->

Diff for: ‎pr-preview-academy/pr-971/beg-tutorials.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
3636
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
3737
<link rel="stylesheet" type="text/css" href="_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
38-
<link rel="stylesheet" type="text/css" href="_static/css/style.css?v=21f5c625" />
38+
<link rel="stylesheet" type="text/css" href="_static/css/style.css?v=87251df2" />
3939
<link rel="stylesheet" type="text/css" href="_static/css/tippy.css?v=6175c28d" />
4040

4141
<!-- Pre-loaded scripts that we'll load fully later -->

0 commit comments

Comments
 (0)