Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
whoops
Browse files Browse the repository at this point in the history
windowcleanerknowhow committed Jan 20, 2025
1 parent ae2997f commit 4a130c2
Showing 2 changed files with 24 additions and 12 deletions.
4 changes: 1 addition & 3 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
@@ -9,9 +9,7 @@
{{ site.masthead_title | default: site.title }}
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
</a>
<<div class="iframe-container">
<iframe src="your-iframe-source" class="iframe-content"></iframe>
<a href="#" class="btn btn--primary btn--large">Large Button</a>
<a href="#" class="btn btn--primary btn--large">Large Button</a>
</div>
</div>
</div>
32 changes: 23 additions & 9 deletions _sass/minimal-mistakes/_masthead.scss
Original file line number Diff line number Diff line change
@@ -57,18 +57,32 @@
font-size: $type-size-8;
}

.iframe-container {
.masthead__inner-wrap {
@include clearfix;
margin-inline: auto;
padding: 1em;
max-width: 100%;
display: flex;
align-items: center; // Align items vertically in the center
justify-content: space-between; // Ensure space between iframe and button
}
justify-content: space-between;
align-items: center;
font-family: $sans-serif-narrow;

.iframe-content {
flex-grow: 1; // Allow iframe to take up remaining space
}
@include breakpoint($x-large) {
max-width: $max-width;
}

nav {
z-index: 10;
}

a {
text-decoration: none;
}

.btn--large {
font-size: $type-size-5; // Ensure this matches your large button size
.btn--large {
margin-left: auto; // Pushes the button to the right
font-size: $type-size-5; // Ensure this matches your large button size
}
}

.masthead__menu {

0 comments on commit 4a130c2

Please sign in to comment.