Skip to content

Commit

Permalink
Fix More CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Dec 5, 2023
1 parent 304b33b commit 1157e5d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
7 changes: 6 additions & 1 deletion src/OnboardingSPA/components/CardWithOptions/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ $background-color: var(--nfd-onboarding-card-background);

margin: 8px;
max-width: 90vw;
padding: 24px 12px;
padding: 24px 16px;
border-radius: 12px;
background-color: $background-color;
width: clamp(18.75rem, 22.6136rem + 5.6818vw, 31.25rem);
box-shadow: 3px 3px 5px rgba(var(--nfd-onboarding-primary-rgb), $alpha: 0.05);

@media (max-width: #{ ($break-large) }) {
margin: 12px;
padding: 12px 6px;
}

&__title {
color: var(--nfd-onboarding-primary);
margin: 16px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
&__filename {
margin: 0;
margin-bottom: 8px;
width: 300px;
width: 28vw;
font-size: clamp(0.75rem, 0.6591rem + 0.4545vw, 1.75rem);
}

Expand Down
8 changes: 4 additions & 4 deletions src/OnboardingSPA/steps/SiteGen/Building/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
}

&--header {
height: 80px;
height: 10vh;
width: 90vw;
}

&--body {
width: 90vw;
height: 500px;
height: 80vh;
}

&--footer {
Expand All @@ -48,12 +48,12 @@

&_left {
width: 55vw;
height: 300px;
height: 40vh;
}

&_right {
width: 33vw;
height: 300px;
height: 40vh;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/OnboardingSPA/steps/SiteGen/Experience/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
align-items: center;
flex-direction: column;
justify-content: center;

@media (max-width: #{ ($break-large) }) {
margin-bottom: 70px;
}
}
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/SiteGen/SiteLogo/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

&__buttons {
width: 95%;
width: 108%;
display: flex;
padding: 16px;
flex-direction: row;
Expand Down

0 comments on commit 1157e5d

Please sign in to comment.