Skip to content

Commit 390cdd4

Browse files
committed
Polish homepage layout and privacy
1 parent f227784 commit 390cdd4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

_styles/home-intro.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,24 @@
1414
border-radius: 18px;
1515
box-shadow: var(--shadow);
1616
object-fit: cover;
17+
object-position: 50% 15%;
1718
}
1819

1920
.home-intro .cols {
2021
align-items: stretch;
2122
}
2223

24+
/* cols.html runs markdownify, which can wrap raw HTML in <p>. Make sure the
25+
right-hand column can still stretch to match the left column height. */
26+
.home-intro .cols > div {
27+
height: 100%;
28+
}
29+
30+
.home-intro .cols > div > p {
31+
height: 100%;
32+
margin: 0;
33+
}
34+
2335
@media (max-width: 500px) {
2436
.home-intro-portrait {
2537
height: auto;
@@ -28,6 +40,7 @@
2840
.home-intro-portrait img {
2941
height: auto;
3042
aspect-ratio: 3 / 2;
43+
object-position: center;
3144
}
3245
}
3346

privacy/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
title: Privacy
33
description: Privacy notes for analytics on michaeladavid.com.
44
nav: false
5+
page_jumps: "off"
56
---
67

78
# Privacy
89

9-
This site uses lightweight analytics to understand overall traffic (e.g., page views and referrers) so I can improve the site.
10+
This site uses two privacy-friendly analytics counters (no cookies by default) to understand overall traffic (e.g., page views and referrers) so I can improve the site.
1011

1112
I do not intentionally collect personal information. Analytics providers may receive standard web request data (such as IP address and user agent) as part of normal site operation.
1213

0 commit comments

Comments
 (0)