Skip to content

Commit 447c995

Browse files
committed
unify border radius, use var instead hardcoded value
1 parent 40d8580 commit 447c995

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

website/src/css/customTheme.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,10 @@ hr {
466466

467467
div[class*="codeBlockContainer"] {
468468
box-shadow: none;
469-
border-radius: 8px;
469+
border-radius: var(--ifm-global-radius);
470470

471471
pre {
472-
border-radius: 8px;
472+
border-radius: var(--ifm-global-radius);
473473
}
474474

475475
button {
@@ -1129,7 +1129,7 @@ aside[class^="theme-doc-sidebar-container"] {
11291129
}
11301130

11311131
.menu__link {
1132-
border-radius: 8px;
1132+
border-radius: var(--ifm-global-radius);
11331133
padding: 6px 12px;
11341134
}
11351135

@@ -1311,7 +1311,6 @@ div[class^="tableOfContents"] {
13111311
.table-of-contents__link--active {
13121312
font-weight: 500;
13131313
color: var(--home-button-primary) !important;
1314-
border-radius: 8px;
13151314

13161315
code {
13171316
font-weight: 700;
@@ -1632,7 +1631,7 @@ div[class*="announcementBarContent"] {
16321631
float: left;
16331632
width: 36px;
16341633
height: 36px;
1635-
border-radius: 8px;
1634+
border-radius: var(--ifm-global-radius);
16361635
background-color: #6170af;
16371636
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 23 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 18.036c.042.507.221 1.016.692 1.699.558.81 1.518 1.254 2.218.54.473-.481 5.582-9.335 8.045-12.69a.737.737 0 011.202 0c2.463 3.355 7.572 12.209 8.045 12.69.7.714 1.66.27 2.218-.54.55-.798.702-1.358.702-1.955 0-.407-7.958-15.086-8.76-16.308C13.593.297 13.357.042 12.053 0h-.994c-1.304.041-1.54.297-2.31 1.472C7.964 2.67.317 16.77 0 17.737v.299z' fill='%23fff'/%3E%3C/svg%3E%0A");
16381637
background-repeat: no-repeat;
@@ -2034,7 +2033,7 @@ html[data-theme="dark"] .docsRating {
20342033
a[class*="sidebarItemLink"] {
20352034
border-left: 0 !important;
20362035
padding: 4px 12px !important;
2037-
border-radius: 8px;
2036+
border-radius: var(--ifm-global-radius);
20382037
transition:
20392038
color 0.15s,
20402039
background-color 0.15s;

0 commit comments

Comments
 (0)