Skip to content

Commit

Permalink
style changes for Living Books site
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonXIX committed Mar 9, 2022
1 parent 97596a6 commit 4fa5ff4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions includes/SkinLakeus.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getTemplateData() {
$data["msg-lakeus-articlecount"] = wfMessage( 'lakeus-articlecount' )->numParams( SiteStats::articles() )->parse();
$wgLakeusShowRepositoryLink = $config->get( 'LakeusShowRepositoryLink' );
if ($wgLakeusShowRepositoryLink) {
$data["html-repository-link"] = '<a href="https://github.com/lakejason0/mediawiki-skins-Lakeus">' . wfMessage( 'lakeus-footermessage' )->plain() . '</a>';
$data["html-repository-link"] = '<a href="https://github.com/SimonXIX/mediawiki-skins-Lakeus">' . wfMessage( 'lakeus-footermessage' )->plain() . '</a>';
$data["is-repository-link-shown"] = true;
}
$data["is-notice-with-border"] = $config->get( 'LakeusSiteNoticeHasBorder' );
Expand All @@ -39,4 +39,4 @@ public function getTemplateData() {

return $data;
}
}
}
1 change: 1 addition & 0 deletions includes/templates/Footer.mustache
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<footer id="footer" class="mw-footer" role="contentinfo" {{{html-user-language-attributes}}}>
<img src="/JISC_logo-small.png" alt="Jisc logo" style="display: block; margin-left: auto; margin-right: auto;">
{{#is-repository-link-shown}}<div id="footer-repository-link">{{{html-repository-link}}}</div>{{/is-repository-link-shown}}
{{^is-repository-link-shown}}{{/is-repository-link-shown}}
{{#data-footer}}
Expand Down
5 changes: 3 additions & 2 deletions includes/templates/Logo.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<a id="logo-link" href="{{link-mainpage}}">
{{#data-logos}}
{{#icon}}<img id="logo-image" src="{{.}}" alt="{{msg-sitetitle}}">{{/icon}}
{{#wordmark}}<img id="logo-wordmark" src="{{src}}" width="{{width}}" height="{{height}}" alt="{{msg-sitetitle}}">{{/wordmark}}
<!--{{#wordmark}}<img id="logo-wordmark" src="{{src}}" width="{{width}}" height="{{height}}" alt="{{msg-sitetitle}}">{{/wordmark}}
{{^wordmark}}<h1 id="logo-text">{{msg-sitetitle}}</h1>{{/wordmark}}
-->
{{/data-logos}}
</a>
</div>
</div>
5 changes: 3 additions & 2 deletions includes/templates/Sidebar.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
{{#data-logos}}
{{#icon}}<img id="toggle-list__logo-image" src="{{.}}" alt="{{msg-sitetitle}}">{{/icon}}
{{^icon}}<div id="toggle-list__logo-image"></div>{{/icon}}
{{#wordmark}}<img id="toggle-list__logo-wordmark" src="{{src}}" width="{{width}}" height="{{height}}" alt="{{msg-sitetitle}}">{{/wordmark}}
<!--{{#wordmark}}<img id="toggle-list__logo-wordmark" src="{{src}}" width="{{width}}" height="{{height}}" alt="{{msg-sitetitle}}">{{/wordmark}}
{{^wordmark}}<span id="toggle-list__logo-text">{{msg-sitetitle}}</span>{{/wordmark}}
-->
{{/data-logos}}
</div>
{{#data-portlets-sidebar}}
Expand All @@ -21,4 +22,4 @@
{{/data-portlets-sidebar}}
</div>
<label class="toggle-list__mask" for="sidebar-input"></label>
</div>
</div>
6 changes: 3 additions & 3 deletions resources/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
--background-color-base: var(--color-secondary);
--background-color-body: var(--color-secondary);
--background-color-content: var(--color-secondary);
--background-color-footer: #eee;
--background-color-footer: #ffffff;
--background-color-toggle-list: var(--color-secondary);
--background-color-portlet-body: var(--color-secondary);
--background-color-toggle-list-card: #eee;
--background-color-toggle-list-card: #ffffff;
--background-color-toggle-list-item-hover: rgba(0, 0, 0, 0.1);
--background-color-toggle-list-item-focus: rgba(0, 0, 0, 0.2);
--background-color-portlet-item-hover: rgba(0, 0, 0, 0.1);
Expand Down Expand Up @@ -88,7 +88,7 @@
--color-footer-link--visited: var(--color-link--visited);
--color-footer-link--active: var(--color-link--active);
--color-toc-number: #202122;
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
--font-family: "Century Schoolbook", "URW Bookman L", "Book Antiqua", serif;
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
--font-family-headings: var(--font-family-serif);
--font-family-action-bar: var(--font-family);
Expand Down

0 comments on commit 4fa5ff4

Please sign in to comment.