Skip to content

Commit 9987542

Browse files
Merge pull request #9754 from circleci/style-fix
various style fixes DOCSS-1836
2 parents 7b23bcf + 1cc3129 commit 9987542

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

ui/src/css/doc.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@
518518
display: flex !important;
519519
align-items: center;
520520
border: 2px solid transparent;
521-
border-radius: 8px;
521+
border-radius: 12px;
522522
padding: 1rem;
523523
box-sizing: border-box;
524524
padding: 1rem 1rem 0.75rem;
@@ -950,7 +950,7 @@
950950
display: flex !important;
951951
align-items: center;
952952
border: 2px solid transparent;
953-
border-radius: 8px;
953+
border-radius: 12px;
954954
border-color: #1A66F7;
955955
padding: 1rem;
956956
box-sizing: border-box;
@@ -1021,7 +1021,7 @@
10211021
/* Style listing blocks with titles */
10221022
.doc .listingblock > .title {
10231023
background: var(--pre-title-background);
1024-
border-radius: 8px 8px 0 0;
1024+
border-radius: 12px 12px 0 0;
10251025
padding: 0.5em 0.875em;
10261026
margin-bottom: 0;
10271027
position: relative;
@@ -1050,17 +1050,17 @@
10501050

10511051
/* When title is collapsed, adjust the border radius */
10521052
.doc .listingblock > .title.collapsed {
1053-
border-radius: 8px;
1053+
border-radius: 12px;
10541054
}
10551055

10561056
/* When a title is present, adjust the code block border radius */
10571057
.doc .listingblock > .title + .content pre {
1058-
border-radius: 0 0 8px 8px;
1058+
border-radius: 0 0 12px 12px;
10591059
}
10601060

1061-
/* When title is not present, use border-radius: 8px for code blocks */
1061+
/* When title is not present, use border-radius: 12px for code blocks */
10621062
.doc .listingblock > .content pre {
1063-
border-radius: 8px;
1063+
border-radius: 12px;
10641064
}
10651065

10661066
/* Keep existing position relative for the content */
@@ -1073,7 +1073,7 @@
10731073
flex-direction: column;
10741074
align-items: center;
10751075
position: absolute;
1076-
top: 0.25rem;
1076+
top: 0.5rem;
10771077
right: 0.5rem;
10781078
color: var(--pre-annotation-font-color);
10791079
font-family: var(--body-font-family);

ui/src/partials/header-content.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="flex items-center space-x-4 ml-2">
1717
<!--<img src="{{{uiRootPath}}}/img/language-icon.svg" alt="Language Icon" class="h-5 w-5">-->
1818
<img data-page-navigation-toggle src="{{{uiRootPath}}}/img/nav-menu.svg" alt="Navigation Menu Icon" class="h-5 w-5 lg:hidden">
19-
<a href="https://app.circleci.com/" class="hidden md:block bg-slime-green text-dark-green rounded-full px-[16px] border py-[8px] border-operational-green">
19+
<a href="https://app.circleci.com/" class="hidden md:block bg-slime-green text-dark-green rounded-full px-[16px] border py-[8px] border-operational-green font-medium">
2020
Go to Application
2121
</a>
2222
</div>

ui/src/partials/navigation-tree.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</button>
1111
{{/if}}
1212
{{#if (and ./url (not (eq ./url @root.page.url)))}}
13-
<a class="nav-link hover:text-link-on-light {{#if (has-active-child ./items)}}font-medium text-inherit {{/if}}" href="
13+
<a class="nav-link hover:text-link-on-light {{#if (has-active-child ./items)}}font-semibold text-inherit {{/if}}" href="
1414
{{~#if (eq ./urlType 'internal')}}{{{relativize ./url}}}
1515
{{~else}}{{{./url}}}{{~/if}}">{{{./content}}}</a>
1616
{{else}}
17-
<span class="{{#if (has-active-child ./items)}}text-accent-green font-medium text-inherit{{/if}}">{{{./content}}}</span>
17+
<span class="{{#if (has-active-child ./items)}}text-accent-green font-semibold text-inherit{{/if}}">{{{./content}}}</span>
1818
{{/if}}
1919
</div>
2020
{{/if}}

0 commit comments

Comments
 (0)