Skip to content

Commit 413bd1a

Browse files
Merge pull request #310 from savetheclocktower/11ty-migration-final-touches
11ty-migration final touches
2 parents 76fb345 + b681e76 commit 413bd1a

File tree

6 files changed

+55
-13
lines changed

6 files changed

+55
-13
lines changed

layouts/header.ejs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<meta name="viewport" content="width=device-width, initial-scale=1">
1414
<meta name="color-scheme" id="meta-scheme" content="">
1515
<meta property="og:title" content="<%= title %>">
16+
<link rel="icon" href="/static/favicon/favicon.ico" sizes="any">
17+
<link rel="icon" href="/static/favicon/favicon.svg" type="image/svg+xml">
1618
<script type="text/javascript">
1719
{
1820
// Populate the theme as early as possible to prevent a flash on load.

layouts/home.ejs

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,20 @@
9696

9797
<%- content %>
9898

99-
<hr>
100-
<div class="sponsors">
101-
<h1>Our Sponsors</h1>
102-
<h3>Thank you to the following organizations for sponsoring our project!</h3>
103-
<div class="sponsors_link">
104-
<a href="https://tutanota.com/" target="_blank">
105-
<img src="/static/tutanota-logo.webp" alt="tutanota.com">
106-
</a>
99+
<section class="sponsors">
100+
<div class="sponsors__inner">
101+
<header>
102+
<h2>Thank you to the following organizations for sponsoring our project!</h2>
103+
</header>
104+
<div class="sponsors__content">
105+
<div class="sponsors__link">
106+
<a href="https://tutanota.com/" target="_blank">
107+
<img src="/static/tutanota-logo.webp" alt="tutanota.com" class="sponsors__logo">
108+
</a>
109+
</div>
110+
</div>
107111
</div>
108-
</div>
112+
</section>
109113

110114
<%- include("page_footer") %>
111115
</body>

less/home.less

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,20 @@
100100
}
101101

102102
.sponsors {
103-
text-align: center;
103+
.top-level-element();
104+
105+
&__heading {
106+
text-wrap: balance;
107+
}
108+
109+
&__inner {
110+
text-align: center;
111+
border-top: 1px solid var(--thematic-break-color);
112+
padding-top: 3rem;
113+
margin: 0 0 3rem;
114+
}
115+
116+
&__logo {
117+
max-width: 80vw;
118+
}
104119
}

less/page-header.less

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,18 @@
109109
.page-header .page-header {
110110
&__items {
111111
flex-direction: row;
112+
flex-wrap: wrap;
112113
}
113114
}
114115
}
115116

117+
:root {
118+
// Allow the page header to grow to accommodate navigation items when they
119+
// wrap to a second row.
120+
--page-header-height: auto !important;
121+
}
122+
116123
@media (min-width: @bp-larger-than-tablet) {
117-
:root {
118-
--page-header-height: 55px;
119-
}
120124
.page-header {
121125
&__content {
122126
flex-direction: row !important;

static/favicon/favicon.ico

14.7 KB
Binary file not shown.

static/favicon/favicon.svg

Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)