Skip to content

Commit

Permalink
Merge pull request #131 from OpenSourceOrg/add/donation-widget-licens…
Browse files Browse the repository at this point in the history
…e-pages-develop

Adjust Single License Page Content Width - develop
  • Loading branch information
nickpagz authored Sep 17, 2024
2 parents 20f786a + b796b25 commit 01a797b
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ bh_unicode_properties.cache
GitHub.sublime-settings

### VisualStudioCode ###
.vscode/
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
Expand Down
14 changes: 11 additions & 3 deletions themes/osi/assets/css/editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/osi/assets/css/editor-style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/osi/assets/scss/_5_objects.layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

.single-license & {
.content--page article:not(.archive), .comments {
max-width: $postMax !important;
max-width: $boxedMax !important;

.alignwide {
@extend %alignwide;
Expand Down
15 changes: 13 additions & 2 deletions themes/osi/assets/scss/_8_overrides.templates.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,28 @@
.entry-content {
margin-left: auto;
margin-right: auto;
max-width: $postMax;
max-width: $boxedMax;
flex-grow: 1;
display: flex;
align-items: flex-start;
gap: 20px;
row-gap: 20px;
column-gap: 60px;
}

.page--title {
margin-bottom: 18px !important;
}

.cover--header {
.wp-block-cover {
left: 50%;
right: 50%;
margin-left: -50vw!important;
margin-right: unset!important;
width: 100vw!important;
}
}

@media only screen and (min-width: $break-medium) {
.cover--header {
.wp-block-cover {
Expand Down
14 changes: 11 additions & 3 deletions themes/osi/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/osi/style.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions themes/osi/template-parts/header-license.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="wp-block-cover alignfull has-neutral-dark-background-color has-background-dim-100 has-background-dim">
<div class="wp-block-cover__inner-container">
<div class="wp-block-columns">
<div class="wp-block-column" style="flex-basis: 80%">
<div class="wp-block-column" style="flex-basis: 70%">
<span class="pill-taxonomy">
<?php
/**
Expand Down Expand Up @@ -77,7 +77,7 @@
</div>
<?php endif; ?>
</div>
<div class="wp-block-column" style="flex-basis: 20%; text-align: center;">
<div class="wp-block-column" style="flex-basis: 30%; text-align: center;">
<img width="200" src="/wp-content/themes/osi/assets/img/osi-badge-light.svg" alt="<?php esc_html_e( 'Open Source Initiative Approved License', 'osi' ); ?>">
</div>
</div>
Expand Down

0 comments on commit 01a797b

Please sign in to comment.