diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index 9a935872..214be02c 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -551,7 +551,7 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll
  • Create the cover image

  • diff --git a/www/css/core.css b/www/css/core.css index e1355722..4ce04fbf 100644 --- a/www/css/core.css +++ b/www/css/core.css @@ -1,5 +1,5 @@ @font-face{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; src: url("/fonts/fork-awesome-subset.woff2") format("woff2"); font-weight: normal; font-style: normal; @@ -51,14 +51,6 @@ font-display: swap; } -@font-face{ - font-family: "Bebas Neue"; - src: url("/fonts/bebas-neue-subset.woff2") format("woff2"); - font-weight: normal; - font-style: normal; - font-display: swap; -} - :root{ --light-body-bg: #e9e7e0; --light-body-text: #222; @@ -675,7 +667,7 @@ form button:active{ a.button.next::after, .ebooks nav > a:last-child::after{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f061"; transition: all 200ms ease; position: relative; @@ -691,7 +683,7 @@ a[href].button.next:hover::after, } .ebooks nav > a:first-child:before{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f060"; transition: all 200ms ease; position: relative; @@ -1165,7 +1157,7 @@ footer > p{ align-items: center; } footer > p:first-child::before{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f0e0"; display: inline; margin-right: .25rem; @@ -1530,7 +1522,7 @@ label.search input{ } select{ - font-family: "ForkAwesome", "Crimson Pro"; + font-family: "Fork Awesome", "Crimson Pro"; padding-left: 1rem; padding-right: 2rem; display: block; @@ -1554,7 +1546,7 @@ label.select > span + span::after{ top: calc((2rem + 1.4rem + 2px) / 2 - 10px); right: calc(1rem - 12px / 2); content: "\f107"; - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; font-size: 1rem; line-height: 1; color: var(--sub-text); @@ -1583,7 +1575,7 @@ label.search::before{ position: absolute; top: calc(2rem + .7rem); left: 1rem; - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; font-size: 1rem; line-height: 1; margin-right: 1rem; @@ -2221,7 +2213,7 @@ aside header{ .progress > div{ /* Animate the div instead of the bar itself, because animating the bar triggers an FF bug that causes infinite requsts to stripes.svg */ - background: url('/images/stripes.svg') transparent; + background: url("/images/stripes.svg") transparent; background-position: 0 0; animation: progress 2s linear infinite; z-index: 3; @@ -2298,7 +2290,7 @@ aside button.close{ position: absolute; top: 0; right: 0; - background: url('/images/close.svg') transparent; + background: url("/images/close.svg") transparent; background-size: 1rem 1rem; background-position: center; background-repeat: no-repeat; @@ -2381,12 +2373,12 @@ aside button.close:active{ } .ebook figure::after{ /* spine */ - content: ''; + content: ""; position: absolute; width: calc(var(--size) + 2px); height: 100%; left: calc(-1 * var(--size)); - background: no-repeat center center url('/images/logo-spine.svg') #222; + background: no-repeat center center url("/images/logo-spine.svg") #222; background-size: calc(var(--size) - .5rem) calc(var(--size) - .5rem); transform-origin: right; transform: skewY(45deg); @@ -2398,11 +2390,11 @@ aside button.close:active{ } .ebook figure picture::before{ /* pages */ - content: ''; + content: ""; position: absolute; width: var(--size); height: 235px; - background: url('/images/pages-texture.svg') #fff; + background: url("/images/pages-texture.svg") #fff; background-size: .5rem; /* needed to prevent visual glitch in FF */ top: calc(-1 * (234px + (var(--size) / 2)) + 5px); left: calc(-1 * var(--size)); @@ -2414,7 +2406,7 @@ aside button.close:active{ } .ebook figure picture::after{ /* back board */ - content: ''; + content: ""; position: absolute; width: 100%; height: 100%; @@ -2428,7 +2420,7 @@ aside button.close:active{ } .ebook figure::before{ /* shadow */ - content: ''; + content: ""; background: rgba(0, 0, 0, .5); position: absolute; top: calc(353px - var(--size)); diff --git a/www/css/dark.css b/www/css/dark.css index 0599cf35..c65724bf 100644 --- a/www/css/dark.css +++ b/www/css/dark.css @@ -89,3 +89,7 @@ aside.donation .flipboard span{ border-color: rgba(255,255,255,.5); box-shadow: none; } + +label.email::before{ + text-shadow: none; +} diff --git a/www/css/manual.css b/www/css/manual.css index e56a92f1..80e7567e 100644 --- a/www/css/manual.css +++ b/www/css/manual.css @@ -60,7 +60,7 @@ main.manual{ } main.manual.outdated{ - background: url('/images/outdated.svg'); + background: url("/images/outdated.svg"); } main code:first-child{ @@ -335,6 +335,20 @@ code.full .utf{ text-align: center; } +.alert p.warning::before, +.alert p.warning::after{ + content: "\f071"; + font-family: "Fork Awesome"; +} + +.alert p.warning::before{ + margin-right: 1rem; +} + +.alert p.warning::after{ + margin-left: 1rem; +} + figure p.wrong{ text-decoration-line: underline; text-decoration-style: wavy; @@ -343,7 +357,7 @@ figure p.wrong{ figure p.wrong::before, figure.wrong::before{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f00d"; font-size: 1.5rem; width: 1.5rem; @@ -357,7 +371,7 @@ figure.wrong::before{ figure p.corrected::before, figure.corrected::before{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f00c"; font-size: 1.5rem; line-height: 1; @@ -578,7 +592,7 @@ figure.corrected code{ } .manual aside.tip::before{ - font-family: "ForkAwesome"; + font-family: "Fork Awesome"; content: "\f0eb"; font-size: 1rem; position: absolute; diff --git a/www/fonts/fork-awesome-subset.woff2 b/www/fonts/fork-awesome-subset.woff2 index 9a5101ba..6f3662f8 100644 Binary files a/www/fonts/fork-awesome-subset.woff2 and b/www/fonts/fork-awesome-subset.woff2 differ