Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nodebuds sections #58

Merged
merged 1 commit into from
Apr 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/components/sections/how-can-i-get-involved.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

.screen-wyd {
background: none;
padding-bottom: 333px;

height: auto;
div {
@include fluidSize(10, 150, $propName: "padding-left");
@include fluidSize(10, 150, $propName: "padding-right");
Expand All @@ -34,9 +33,6 @@
flex-direction: column;
align-items: center;
text-align: center;

padding-top: 333px;

h2 {
@include fluidSize($minHFontSize, $maxHFontSizeMed);
@include fluidSize(
Expand Down
30 changes: 22 additions & 8 deletions src/components/sections/nodebuds-testimonial.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
export let src: string;
export let alt: sting;
export let alt: string;
</script>

<section>
Expand All @@ -17,27 +17,41 @@
section {
display: flex;
align-items: center;
flex-direction: column;
flex-direction: column-reverse;
justify-content: center;
padding-top: 175px;
}

.info-container {
max-width: 45vw;
max-width: 55vw;
margin-bottom: 2em;
font-size: var(--fluid-font-size);
text-align: center;
}

.info-container :global(h2) {
font-size: 3rem;
font-size: var(--h-font-size-med);
margin-bottom: 1em;
}

.info-container :global(p) {
font-size: 2rem;
font-size: var(--p-font-size);
}

.image-container img {
max-width: 900px;
width: 45vw;
width: max(55vw, 550px);
max-width: 100%;
}

@media screen and (min-width: 768px) {
section {
flex-direction: row;
align-items: center;
justify-content: space-around;
padding: 0 2em;
}

.info-container {
text-align: start;
}
}
</style>
4 changes: 2 additions & 2 deletions src/components/sections/why-join-nodebuds.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
justify-content: space-around;

margin: auto; /* center */
padding: 4em 2em;
padding: 0 2em;
}

/* Make the image take over a bit more than half at full size. */
Expand Down Expand Up @@ -65,7 +65,7 @@
}

/* Mobile view */
@media screen and (max-width: 1440px) {
@media screen and (max-width: 768px) {
#why-join-nodebuds {
flex-direction: column;
}
Expand Down