Skip to content

Commit

Permalink
Tweaks cta-one styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sadiejay committed Oct 30, 2024
1 parent 7d4bac6 commit 80c6832
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
28 changes: 12 additions & 16 deletions css/_uswds-theme-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3532,9 +3532,16 @@ code {
}
}

.cta-one {
font-size: 8px;
line-height: 9.37px;
h2.text-normal {
margin-top: 0px;
>p:nth-child(1) {
margin-top: 0px;
}
}

.cta-one, .cta-one>p a.site-cta {
font-size: 12px;
line-height: 16px;

@include at-media("tablet") {
font-size: 14px;
Expand All @@ -3546,19 +3553,8 @@ code {
line-height: 30px;
}

>p a.site-cta {
font-size: 5px;
line-height: 6.39px;

@include at-media("tablet") {
font-size: 10px;
line-height: 12.8px;
}

@include at-media("desktop") {
font-size: 16px;
line-height: 20.4px;
}
>p {
margin-bottom: 0px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion pages/summit.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cta-one:
text: RSVP
href: https://www.youtube.com/watch?v=Jj6WyVAmvmQ&list=PLewV-zKXDZkghdjPUCmmU02T7xI2dUPme
isExternal: true
class: usa-button--secondary display-none
class: usa-button--secondary margin-top-1 display-none

video-one:
class: highlight-video-section tablet:width-full
Expand Down

0 comments on commit 80c6832

Please sign in to comment.