drive 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 119861352a6bf2db7e622f2d577cec72b32ded0d931ed2d619bc66f843fad316
|
|
4
|
+
data.tar.gz: cae07f65c6795e4ef75f6cd877035c08502ec9f65c270175a58b02d990ba2a9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ea69e7fd4d439fba085d07fc9bfed6a3cd4a75f4d926df58d3f51d9a17153e2be62f64a0e6f46ff77bf1efc7b3672204ec7613b448b9fde348e9609aa2387a6
|
|
7
|
+
data.tar.gz: ed5f29e036694e8394a423ce147add3ae29124c9363306f9e4157744f8c96f4e693245caeda747c07ebbf026b7596cdd66f7928e6e306c3138bec378244c5ad0
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## 0.12.0 - 2026-11-06
|
|
10
|
+
|
|
11
|
+
* [ENHANCEMENT] Every page fades from blue to white over its first 250px, however long
|
|
12
|
+
the page: `sky-band` is only room under the header now, and `search-hero` has no fade of its own.
|
|
13
|
+
|
|
14
|
+
## 0.11.1 - 2026-11-06
|
|
15
|
+
|
|
16
|
+
* [ENHANCEMENT] The flyer flies Hanukkah's eight days in blue and silver (2025 to 2045, from a table of 25 Kislev),
|
|
17
|
+
yielding to another holiday on the same day.
|
|
18
|
+
|
|
9
19
|
## 0.11.0 - 2026-11-06
|
|
10
20
|
|
|
11
21
|
* [FEATURE] `render "easy/flyer", plane:`: a plane crossing the top of a hero on a gentle wave, its trail behind it,
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
// The plane of render "easy/flyer": across the sky in 14 seconds
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// cached it, the page is right at midnight. Where motion is turned off, there is no plane.
|
|
5
|
-
// ES5 alone: every easy app has to work on old iPhones, Androids and Windows browsers.
|
|
1
|
+
// The plane of render "easy/flyer": across the sky in 14 seconds on a gentle wave, nose along it, its trail behind it.
|
|
2
|
+
// On a holiday, by the visitor's own calendar, it flies in the day's colors with a line of smoke per color: every day
|
|
3
|
+
// is in this file, so whatever cached it, it's right at midnight. No plane where motion is off. ES5, for old phones.
|
|
6
4
|
(function () {
|
|
7
5
|
if (!document.querySelectorAll || !document.createElementNS || !window.requestAnimationFrame) { return; }
|
|
8
6
|
if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) { return; }
|
|
9
7
|
|
|
10
|
-
var SKY = { trail: ['#5aa9e6'], opacity: 0.45 };
|
|
8
|
+
var SKY = { trail: ['#5aa9e6'], opacity: 0.45 }, HANUKKAH = { plane: '#2f6fd0', trail: ['#2f6fd0', '#cfd8e3'] };
|
|
11
9
|
var GOLD = { plane: '#d4a514', trail: ['#d4a514', '#a8b0b8'] };
|
|
12
10
|
var USA = { plane: '#2f5fc4', trail: ['#d63a3a', '#ffffff', '#2f5fc4'] };
|
|
11
|
+
// Hanukkah's first day (25 Kislev) as a day of December, 2025 to 2045 (Nov 28 is -2); its days yield to the others.
|
|
12
|
+
var KISLEV_25 = [15, 5, 25, 13, 2, 21, 10, -2, 17, 7, 26, 14, 3, 22, 12, 0, 18, 8, 27, 15, 5];
|
|
13
13
|
|
|
14
|
-
// The holidays of a year, by "month-day": the plane's color, then its trail's, top to bottom.
|
|
15
|
-
//
|
|
16
|
-
// (the first flight) in the Wright Flyer's muslin and spruce.
|
|
14
|
+
// The holidays of a year, by "month-day": the plane's color, then its trail's, top to bottom. National Aviation Day
|
|
15
|
+
// is in pilot's-wings gold and blue, Wright Brothers Day in the Wright Flyer's muslin and spruce.
|
|
17
16
|
function holidays(year) {
|
|
18
17
|
var easter = easterOf(year), days = {};
|
|
18
|
+
for (var k = 0; k < 16; k++) { // last year's eight days of Hanukkah, reaching into January, then this year's
|
|
19
|
+
var y = year - 1 + (k >> 3), day = new Date(y, 11, KISLEV_25[y - 2025] + k % 8);
|
|
20
|
+
if (day.getFullYear() === year) { days[(day.getMonth() + 1) + '-' + day.getDate()] = HANUKKAH; }
|
|
21
|
+
}
|
|
19
22
|
days['1-1'] = days['12-31'] = GOLD;
|
|
20
23
|
days['2-14'] = { plane: '#e0457b', trail: ['#d62f4b', '#f07aa0'] };
|
|
21
24
|
days['3-17'] = { plane: '#1f9d55', trail: ['#1f9d55', '#7cc576'] };
|
|
@@ -40,8 +43,7 @@
|
|
|
40
43
|
var a = y % 19, b = Math.floor(y / 100), c = y % 100, f = Math.floor((b + 8) / 25);
|
|
41
44
|
var h = (19 * a + b - Math.floor(b / 4) - Math.floor((b - f + 1) / 3) + 15) % 30;
|
|
42
45
|
var l = (32 + 2 * (b % 4) + 2 * Math.floor(c / 4) - h - c % 4) % 7, m = Math.floor((a + 11 * h + 22 * l) / 451);
|
|
43
|
-
|
|
44
|
-
return Math.floor(n / 31) + '-' + (n % 31 + 1);
|
|
46
|
+
return Math.floor((h + l - 7 * m + 114) / 31) + '-' + ((h + l - 7 * m + 114) % 31 + 1);
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
// The sky's colors: its data-date's ("2026-12-25"), to see a holiday on any day, or today's.
|
|
@@ -15,8 +15,9 @@ html,body{overflow-x:hidden}
|
|
|
15
15
|
@supports (overflow-x:clip){html,body{overflow-x:clip}}
|
|
16
16
|
/* The page fills the window at least, its footer last (layouts/easy/site): on a short page the footer sits at the
|
|
17
17
|
window's bottom, never in its middle, as the page grows (easy/layout.css, .page). Old WebKits read the boxes'
|
|
18
|
-
first syntax; a browser without flex boxes draws the footer right after the page, as on any page.
|
|
19
|
-
|
|
18
|
+
first syntax; a browser without flex boxes draws the footer right after the page, as on any page. Behind it all,
|
|
19
|
+
blue fading to white over its first 250px, however long the page. */
|
|
20
|
+
body{margin:0;background:var(--color-bg);background:var(--color-bg) linear-gradient(180deg,var(--color-sky-band-top),var(--color-sky-band-bottom)) no-repeat 0 0/100% 250px;color:var(--color-text);min-height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
|
|
20
21
|
img,svg{max-width:100%}
|
|
21
22
|
.i{width:1em;height:1em;vertical-align:-.125em;fill:currentColor;flex-shrink:0}
|
|
22
23
|
a{color:var(--color-primary)}
|
|
@@ -207,7 +207,7 @@ a.tooltip-trigger:hover,a.tooltip-trigger:focus{box-shadow:0 0 0 2px currentColo
|
|
|
207
207
|
.note.info{background:var(--color-surface-1);border-left:4px solid var(--color-warn-line);padding:12px 16px;border-radius:0 8px 8px 0;margin:16px 0 32px 0}
|
|
208
208
|
|
|
209
209
|
/* search-hero: the home page's big search, its lede and figures; search-form and search-field: a labelled search box (mini: the small one); search-hint: the tries and recent pages under it; results: search results */
|
|
210
|
-
.search-hero{
|
|
210
|
+
.search-hero{padding:20px 0 12px;text-align:center}
|
|
211
211
|
.search-hero h1{font-size:30px;margin:0 auto 0px;color:var(--color-midnight)}
|
|
212
212
|
@media (min-width:720px){.search-hero h1{font-size:44px}}
|
|
213
213
|
.search-hero-lede{font-size:18px;color:var(--color-text-2);max-width:43rem;margin:0 auto 18px}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
/* On a laptop the header stays at the top as the page scrolls. */
|
|
25
25
|
@media (min-width:601px){.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:20}}
|
|
26
26
|
|
|
27
|
-
/*
|
|
28
|
-
.sky-band{
|
|
27
|
+
/* Room under the header, over the page's blue (easy/base.css, body); slim on the pages that need room. */
|
|
28
|
+
.sky-band{margin:0 0 20px;padding:16px 0}
|
|
29
29
|
.sky-band.slim{padding:6px 0;margin:0 0 14px}
|
|
30
30
|
|
|
31
31
|
/* The page: its width, or the whole window (wide) for content that lays out its own (.page-width). */
|
data/lib/drive/version.rb
CHANGED