Skip to content

Commit 4a32e7b

Browse files
committed
Improved look: new font, header align left, header new color. Also link to Michalis Patreon if people want to support.
1 parent 26b3950 commit 4a32e7b

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

src/_layouts/default.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ <h1>{{ page.title }}</h1>
7575
{% endif %}
7676
{% endcomment %}
7777

78-
<p><span class="site-footer-credits">You can <a href="https://github.com/pasdoc/pasdoc.github.io">improve this website by editing sources (in AsciiDoctor)</a>.</span></p>
78+
<p><span class="site-footer-credits"><a href="https://www.patreon.com/castleengine">Support Michalis, developer of PasDoc and Castle Game Engine</a>.</span></p>
79+
80+
<p><span class="site-footer-credits">Improve this website by <a href="https://github.com/pasdoc/pasdoc.github.io">proposing a change to the sources</a>.</span></p>
81+
82+
<p></p>
7983
</footer>
8084
</section>
8185
</div> <!-- div id="layout-content" -->

src/_sass/jekyll-theme-cayman.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
@import "rouge-github";
77
@import "variables";
88
@import "pasdoc";
9-
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
9+
// We no longer use Open Sans font .
10+
// @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
1011

1112
@mixin large {
1213
@media screen and (min-width: #{$large-breakpoint}) {
@@ -33,7 +34,8 @@
3334
body {
3435
padding: 0;
3536
margin: 0;
36-
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
37+
//font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
38+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
3739
font-size: 16px;
3840
line-height: 1.5;
3941
color: $body-text-color;
@@ -94,9 +96,16 @@ a {
9496

9597
.page-header {
9698
color: $header-heading-color;
97-
text-align: center;
98-
background-color: $header-bg-color;
99-
background-image: linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
99+
text-align: left;
100+
101+
// Behave as if:
102+
// $header-bg-color: #1a2332;
103+
// $header-bg-color-secondary: #242c3d;
104+
// background-color: $header-bg-color;
105+
// background-image: linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
106+
107+
background-color: #1a2332 !important;
108+
background-image: linear-gradient(120deg, #242c3d, #1a2332) !important;
100109

101110
@include large {
102111
padding: 5rem 6rem;

0 commit comments

Comments
 (0)