Skip to content
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
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
53 changes: 33 additions & 20 deletions themes/osi/assets/scss/_8_overrides.templates.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
// Licenses
.single-license {
.entry-content {
margin-left: auto;
margin-right: auto;
max-width: $postMax;
flex-grow: 1;
display: flex;
align-items: flex-start;
gap: 20px;
}
.page--title {
margin-bottom: 18px !important;
}
@media only screen and (min-width: $break-medium) {
.cover--header {
.wp-block-cover {
padding-top: $maxPadding;
padding-bottom: $maxPadding;
}
}
}
.entry-content {
margin-left: auto;
margin-right: auto;
max-width: $boxedMax;
flex-grow: 1;
display: flex;
align-items: flex-start;
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 {
padding-top: $maxPadding;
padding-bottom: $maxPadding;
}
}
}
}

.license-steward {
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
Loading