Skip to content

Commit eb1e646

Browse files
committed
add distance to the moon blog post
1 parent 9ed4cdd commit eb1e646

13 files changed

Lines changed: 1378 additions & 431 deletions

File tree

assets/_defaults.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ $hint-colors: (
4242
--body-font-color: #2d2b2a;
4343

4444
--icon-filter: none;
45+
--figure-invert-filter: none;
4546

4647
--hint-color-info: #5a8d9e;
4748
--hint-color-warning: #c49a3d;
@@ -66,6 +67,7 @@ $hint-colors: (
6667
--body-font-color: #e4e2e0;
6768

6869
--icon-filter: brightness(0) invert(1);
70+
--figure-invert-filter: invert(1) hue-rotate(180deg);
6971

7072
--hint-color-info: #5a8d9e;
7173
--hint-color-warning: #c49a3d;

assets/_shortcodes.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@
107107
max-width: 45%;
108108
}
109109

110+
// {{< tmfigure dark-invert="true" >}}
111+
img.tm-dark-invert {
112+
filter: var(--figure-invert-filter);
113+
}
114+
110115
.clearfix::after {
111116
content: "";
112117
display: table;
137 KB
Loading

content/images/posts/mathematics/distance_to_the_moon/centripretal.svg

Lines changed: 146 additions & 0 deletions
Loading

content/images/posts/mathematics/distance_to_the_moon/earth-radius.svg

Lines changed: 137 additions & 0 deletions
Loading

content/images/posts/mathematics/distance_to_the_moon/newton-second-law.svg

Lines changed: 87 additions & 0 deletions
Loading

content/images/posts/mathematics/distance_to_the_moon/nlg.svg

Lines changed: 150 additions & 0 deletions
Loading
Lines changed: 72 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)