Skip to content

Commit e171aa0

Browse files
committed
Adjustmnets to font sizes and preview fixes
1 parent 4eda6e5 commit e171aa0

File tree

8 files changed

+10
-12
lines changed

8 files changed

+10
-12
lines changed

assets/css/content/functions.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
font-family: var(--monoFontFamily);
3030
font-size: var(--text-sm);
3131
font-weight: 700;
32+
line-height: 2em;
3233
}
3334

3435
.content-inner .detail-header:hover a.detail-link,
@@ -59,7 +60,7 @@
5960

6061
.content-inner .specs pre {
6162
font-family: var(--monoFontFamily);
62-
font-size: var(--text-xs);
63+
font-size: 13px;
6364
font-style: normal;
6465
line-height: 24px;
6566
white-space: pre-wrap;

assets/css/content/general.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120

121121
.content-inner .note {
122122
color: var(--iconAction);
123-
margin-right: 5px;
124123
font-size: var(--text-sm);
125124
font-weight: normal;
126125
}
@@ -241,7 +240,7 @@
241240
font-style: normal;
242241
line-height: 24px;
243242
font-weight: 400;
244-
font-size: 13px;
243+
font-size: var(--text-sm);
245244
}
246245

247246
@media screen and (max-width: 768px) {

assets/css/content/summary.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
.content-inner .summary .summary-row .summary-signature {
1313
font-family: var(--monoFontFamily);
14-
font-size: 13px;
14+
font-size: var(--text-sm);
1515
font-weight: 700;
1616
}
1717

assets/css/custom-props/common.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555

5656
--text-xs: 0.75rem; /* 12px */
5757
--text-sm: 0.875rem; /* 14px */
58-
--text-base: 1rem; /* 16px */
58+
--text-md: 1rem; /* 16px */
5959
--text-lg: 1.125rem; /* 18px */
6060
--text-xl: 1.25rem; /* 20px */
61-
61+
6262
--transition-duration: 150ms;
6363
--transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
6464

assets/css/layout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body {
1111
--sidebarTransitionDuration: 0.3s;
1212
background-color: var(--background);
1313
color: var(--textBody);
14-
font-size: var(--text-base);
14+
font-size: var(--text-md);
1515
line-height: 1.6875em;
1616
}
1717

assets/css/search-bar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676

7777
.top-search .search-bar .search-close-button {
78-
font-size: var(--text-base);
78+
font-size: var(--text-md);
7979
color: var(--searchAccentMain);
8080
background-color: transparent;
8181
border: none;

assets/css/settings.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
#settings-modal-content .switch-button-container > div > span {
40-
font-size: var(--text-base);
40+
font-size: var(--text-md);
4141
}
4242

4343
#settings-modal-content .switch-button-container > div > p {

assets/css/tooltips.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ as it has absolute positioning, so doesn't impact the layout and click events pa
3636
.tooltip .tooltip-body .signature {
3737
min-width: 320px;
3838
width: 100%;
39+
line-height: 1em;
3940
}
4041

4142
.tooltip .tooltip-body .detail-header {
@@ -59,11 +60,8 @@ as it has absolute positioning, so doesn't impact the layout and click events pa
5960

6061
.tooltip .tooltip-body .version-info {
6162
float: right;
62-
line-height: 1.6rem;
6363
font-family: var(--monoFontFamily);
64-
font-size: .9rem;
6564
font-weight: normal;
66-
margin-bottom: -6px;
6765
opacity: .3;
6866
padding-left: .3em;
6967
}

0 commit comments

Comments
 (0)