Skip to content

Commit 8d0c79d

Browse files
committed
Auto merge of #91145 - matthiaskrgr:rollup-91g8z8i, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #91102 (Set color for <a> in a more straightforward way.) - #91143 (Update books) - #91144 (Update cargo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents 936f260 + c82f4f6 commit 8d0c79d

File tree

14 files changed

+71
-43
lines changed

14 files changed

+71
-43
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -888,9 +888,9 @@ dependencies = [
888888

889889
[[package]]
890890
name = "curl"
891-
version = "0.4.40"
891+
version = "0.4.41"
892892
source = "registry+https://github.com/rust-lang/crates.io-index"
893-
checksum = "877cc2f9b8367e32b6dabb9d581557e651cb3aa693a37f8679091bbf42687d5d"
893+
checksum = "1bc6d233563261f8db6ffb83bbaad5a73837a6e6b28868e926337ebbdece0be3"
894894
dependencies = [
895895
"curl-sys",
896896
"libc",
@@ -903,9 +903,9 @@ dependencies = [
903903

904904
[[package]]
905905
name = "curl-sys"
906-
version = "0.4.50+curl-7.79.1"
906+
version = "0.4.51+curl-7.80.0"
907907
source = "registry+https://github.com/rust-lang/crates.io-index"
908-
checksum = "4856b76919dd599f31236bb18db5f5bd36e2ce131e64f857ca5c259665b76171"
908+
checksum = "d130987e6a6a34fe0889e1083022fa48cd90e6709a84be3fb8dd95801de5af20"
909909
dependencies = [
910910
"cc",
911911
"libc",

src/doc/book

Submodule book updated 27 files

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,10 +1078,6 @@ a.test-arrow:hover{
10781078
text-decoration: none;
10791079
}
10801080

1081-
.section-header a {
1082-
color: inherit;
1083-
}
1084-
10851081
.code-attribute {
10861082
font-weight: 300;
10871083
}

src/librustdoc/html/static/css/themes/ayu.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,23 @@ nav.main .separator {
214214
border: 1px solid #5c6773;
215215
}
216216
a {
217+
color: #39AFD7;
218+
}
219+
a.srclink,
220+
a#toggle-all-docs,
221+
#source-sidebar a,
222+
pre.rust a,
223+
.sidebar a,
224+
.in-band a {
217225
color: #c5c5c5;
218226
}
227+
.search-results a {
228+
color: #0096cf;
229+
}
219230
body.source .example-wrap pre.rust a {
220231
background: #333;
221232
}
222233

223-
.docblock:not(.item-decl) a:not(.srclink):not(.test-arrow),
224-
.docblock-short a:not(.srclink):not(.test-arrow), .item-info a,
225-
#help a {
226-
color: #39AFD7;
227-
}
228-
229234
details.rustdoc-toggle > summary.hideme > span,
230235
details.rustdoc-toggle > summary::before,
231236
details.undocumented > summary::before {

src/librustdoc/html/static/css/themes/dark.css

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,22 +174,27 @@ nav.main .current {
174174
nav.main .separator {
175175
border-color: #eee;
176176
}
177+
177178
a {
178-
color: #ddd;
179+
color: #D2991D;
179180
}
180-
body.source .example-wrap pre.rust a {
181-
background: #333;
181+
a.srclink,
182+
a#toggle-all-docs,
183+
#source-sidebar a,
184+
pre.rust a,
185+
.sidebar a,
186+
.in-band a {
187+
color: #ddd;
182188
}
183-
184-
.docblock:not(.item-decl) a:not(.srclink):not(.test-arrow),
185-
.docblock-short a:not(.srclink):not(.test-arrow), .item-info a,
186-
#help a {
187-
color: #D2991D;
189+
.search-results a {
190+
color: #ddd;
188191
}
189-
190192
a.test-arrow {
191193
color: #dedede;
192194
}
195+
body.source .example-wrap pre.rust a {
196+
background: #333;
197+
}
193198

194199
details.rustdoc-toggle > summary.hideme > span,
195200
details.rustdoc-toggle > summary::before,

0 commit comments

Comments
 (0)