diff options
author | eudoxia <uplink@distress.network> | 2021-06-23 02:11:02 -0400 |
---|---|---|
committer | eudoxia <uplink@distress.network> | 2021-06-23 02:11:02 -0400 |
commit | d2692b2c8d6402e906667d052c6f23df14f38198 (patch) | |
tree | 1bc17bdcb93e1e146955e66f19e7322bfae914fe | |
parent | d328bd4d3e9476720a019fbcf1625043b1aa0030 (diff) |
md.sh: fixed meta description generation without header; front: adjusted layout
-rwxr-xr-x | front-header | 4 | ||||
-rwxr-xr-x | md.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/front-header b/front-header index cb1785e..63cbed8 100755 --- a/front-header +++ b/front-header @@ -11,8 +11,8 @@ <link rel="manifest" href="/favicon/site.webmanifest"> <style> .bg {display: flex; justify-content: center; flex-direction: column; min-height: 100vh; background-image: url("media/clouds-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;} - .main {flex-direction: row; justify-content: flex-start; padding: 10vw;} - .main img {height: 32px; image-rendering: unset;} + .main {flex-direction: row; justify-content: flex-start; padding: 12.5vw;} + .main img {height: 1.5rem; image-rendering: unset;} nav {flex: none; width: unset; height: unset; position: static; padding: 0; background: none; border: none; overflow: hidden;} nav pre {font-size: 0.75rem;} @media screen and (max-width: 800px) {nav pre {font-size: 1rem;}} @@ -173,7 +173,7 @@ case "$opts" in ;; (*[Hh]*) - sed "/^<header>/,/^<\/header>/d" -i'' $OUT + sed -e "/^<header>/,/^<\/header>/d" -e '/^<meta name="description"/d' -i'' $OUT sed "/bg.js/d" -i'' $OUT printf "[ok] \theaderless\n" opts=$(echo $opts | sed 's/[Hh]//g') |