Skip to content

Commit 30179f2

Browse files
authored
Change font weight of package list page links (#10105)
1 parent 9684321 commit 30179f2

3 files changed

Lines changed: 32 additions & 22 deletions

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/theme/page-display-package.less

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.nuget-trends-icon {
77
filter: brightness(0) invert(var(--nuget-trends-icon-invert-value));
88
}
9-
9+
1010
.no-border {
1111
border: 0;
1212
}
@@ -22,7 +22,7 @@
2222
.package-header {
2323
margin-bottom: 35px;
2424
}
25-
25+
2626
.content-hidden-notice {
2727
// Same margin as h1
2828
margin-top: (@line-height-computed * 1.5)
@@ -54,7 +54,6 @@
5454
margin-top: 8px;
5555
margin-right: 12px;
5656
}
57-
5857
}
5958

6059
.prefix-reserve-title {
@@ -273,7 +272,7 @@
273272
margin: 1.5px;
274273
}
275274

276-
.username{
275+
.username {
277276
margin-left: 6.5px;
278277
}
279278
}
@@ -291,7 +290,7 @@
291290
}
292291
}
293292

294-
.git-image-icon{
293+
.git-image-icon {
295294
background-image: var(--git-background-image);
296295
width: 16px;
297296
height: 16px;
@@ -404,7 +403,7 @@
404403
border-left: 2px solid transparent;
405404
outline: none;
406405

407-
&:hover{
406+
&:hover {
408407
background-color: var(--neutralBackgroundSubtleHover);
409408
color: var(--neutralForeground1Hover);
410409
}
@@ -427,15 +426,13 @@
427426
.nav-tabs > li.active > a {
428427
background-color: var(--neutralBackground1Rest);
429428
border-radius: 6px 6px 0px 0px;
430-
431429
border-top: 2px solid var(--neutralStroke1Rest);
432430
border-right: 2px solid var(--neutralStroke1Rest);
433431
border-left: 2px solid var(--neutralStroke1Rest);
434-
435432
color: var(--neutralForeground1Rest);
436433
top: 2px;
437434

438-
&:hover{
435+
&:hover {
439436
background-color: var(--neutralBackgroundSubtleHover);
440437
color: var(--neutralForeground1Hover);
441438
}
@@ -455,14 +452,16 @@
455452

456453
.tab-content {
457454
background-color: var(--neutralBackground1Rest);
458-
459-
.tab-pane.active{
460-
display: flex;
461-
flex-direction: column;
462-
gap: 4px;
455+
456+
.tab-pane.active {
457+
display: flex;
458+
flex-direction: column;
459+
gap: 4px;
463460
}
461+
464462
.tab-pane {
465463
background-color: var(--neutralBackground2Rest);
464+
466465
.install-script-row {
467466
display: flex;
468467

@@ -471,7 +470,6 @@
471470
justify-content: space-between;
472471
align-items: center;
473472
padding: 6px 8px;
474-
475473
background-color: var(--neutralBackground1Rest);
476474
font-family: @font-family-monospace;
477475
font-size: 1em;
@@ -504,6 +502,10 @@
504502
.alert {
505503
margin: 0;
506504
width: 100%;
505+
506+
a {
507+
font-weight: 600;
508+
}
507509
}
508510
}
509511
}
@@ -513,13 +515,12 @@
513515
.nav-tabs > li {
514516
padding-right: 2px;
515517
}
516-
518+
517519
.nav-tabs > li.active > a {
518520
border-bottom-color: var(--brandStrokeCompoundRest);
519521
border-bottom-width: 2px;
520522
-webkit-text-stroke-width: calc(0.5 * 0.04ex);
521-
text-shadow: calc(0.5 * -0.03ex) 0 0 currentColor,
522-
calc(0.5 * 0.03ex) 0 0 currentColor;
523+
text-shadow: calc(0.5 * -0.03ex) 0 0 currentColor, calc(0.5 * 0.03ex) 0 0 currentColor;
523524
margin-bottom: -1px;
524525
background-color: transparent;
525526

@@ -559,20 +560,20 @@
559560
font-family: @font-family-base;
560561
color: var(--neutralForeground1Rest);
561562
background-color: transparent;
562-
563+
563564
&:hover {
564565
border-bottom-color: var(--neutralStroke1Hover);
565566
border-bottom-width: 2px;
566567
background-color: var(--neutralBackgroundSubtleHover);
567568
border-radius: 2px 2px 0px 0px;
568569
}
569-
570+
570571
&:active {
571572
border-bottom-color: var(--neutralStroke1Pressed);
572573
border-bottom-width: 2px;
573574
background-color: var(--neutralBackgroundSubtlePressed);
574575
}
575-
576+
576577
&:focus {
577578
border-radius: 2px;
578579
outline: 3px solid var(--neutralStrokeFocus2Rest);
@@ -589,6 +590,9 @@
589590
.body-tab-content {
590591
padding-top: 30px;
591592

593+
a {
594+
font-weight: 600;
595+
}
592596
// The "README", "Used By", and "Dependencies" tabs can start with headers.
593597
// which add additional whitespace between the tab and the content.
594598
// Undo that whitespace.

src/NuGetGallery/Content/gallery/css/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)