Skip to content

Commit 01a797b

Browse files
authored
Merge pull request #131 from OpenSourceOrg/add/donation-widget-license-pages-develop
Adjust Single License Page Content Width - develop
2 parents 20f786a + b796b25 commit 01a797b

File tree

8 files changed

+41
-13
lines changed

8 files changed

+41
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ bh_unicode_properties.cache
353353
GitHub.sublime-settings
354354

355355
### VisualStudioCode ###
356+
.vscode/
356357
.vscode/*
357358
!.vscode/settings.json
358359
!.vscode/tasks.json

themes/osi/assets/css/editor-style.css

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/assets/css/editor-style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/assets/scss/_5_objects.layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

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

9696
.alignwide {
9797
@extend %alignwide;

themes/osi/assets/scss/_8_overrides.templates.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,28 @@
44
.entry-content {
55
margin-left: auto;
66
margin-right: auto;
7-
max-width: $postMax;
7+
max-width: $boxedMax;
88
flex-grow: 1;
99
display: flex;
1010
align-items: flex-start;
11-
gap: 20px;
11+
row-gap: 20px;
12+
column-gap: 60px;
1213
}
1314

1415
.page--title {
1516
margin-bottom: 18px !important;
1617
}
1718

19+
.cover--header {
20+
.wp-block-cover {
21+
left: 50%;
22+
right: 50%;
23+
margin-left: -50vw!important;
24+
margin-right: unset!important;
25+
width: 100vw!important;
26+
}
27+
}
28+
1829
@media only screen and (min-width: $break-medium) {
1930
.cover--header {
2031
.wp-block-cover {

themes/osi/style.css

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/osi/template-parts/header-license.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="wp-block-cover alignfull has-neutral-dark-background-color has-background-dim-100 has-background-dim">
33
<div class="wp-block-cover__inner-container">
44
<div class="wp-block-columns">
5-
<div class="wp-block-column" style="flex-basis: 80%">
5+
<div class="wp-block-column" style="flex-basis: 70%">
66
<span class="pill-taxonomy">
77
<?php
88
/**
@@ -77,7 +77,7 @@
7777
</div>
7878
<?php endif; ?>
7979
</div>
80-
<div class="wp-block-column" style="flex-basis: 20%; text-align: center;">
80+
<div class="wp-block-column" style="flex-basis: 30%; text-align: center;">
8181
<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' ); ?>">
8282
</div>
8383
</div>

0 commit comments

Comments
 (0)