diff --git a/static/_config.yml b/static/_config.yml index 5809eee..b1601f2 100644 --- a/static/_config.yml +++ b/static/_config.yml @@ -1,12 +1,38 @@ +# https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md + title: T-Watch S3 +tagline: LILYGO® T-Watch S3 ESPHome description: LILYGO® T-Watch S3 full feature implementation for ESPHome -#theme: jekyll-theme-slate +author: + name: Veli-Johan Veromann + twitter: velivelilev + url: https://veli.ee + +twitter: + username: velivelilev + +defaults: + - scope: + path: "" + values: + image: /assets/images/cover.png + + +# email: your-email@domain.com + +# The `>` after `description:` means to ignore line-breaks until next key. +# If you want to omit the line-break after the end of text, use `>-` instead. + +# Build settings + + #theme: jekyll-theme-slate remote_theme: riggraz/no-style-please plugins: - jekyll-remote-theme - jekyll-default-layout - jekyll-gist +- jekyll-seo-tag - jekyll-github-metadata - jekyll-optional-front-matter #- jekyll-paginate @@ -27,3 +53,30 @@ kramdown: # math_engine: mathjax syntax_highlighter: rouge remove_block_html_tags: false + +social: + name: Veli-Johan Veromann + links: + - https://twitter.com/velivelilev + - https://www.linkedin.com/in/veliveromann + - https://github.com/velijv + + + # Generate social links in footer. +social_links: + # - { platform: devto, user_url: "https://dev.to/jekyll" } + - { platform: dribbble, user_url: "https://dribbble.com/veli" } + # - { platform: facebook, user_url: "https://www.facebook.com/jekyll" } + # - { platform: flickr, user_url: "https://www.flickr.com/photos/jekyll" } + - { platform: github, user_url: "https://github.com/velijv" } + # - { platform: google_scholar, user_url: "https://scholar.google.com/citations?user=qc6CJjYAAAAJ" } + # - { platform: instagram, user_url: "https://www.instagram.com/jekyll" } + # - { platform: keybase, user_url: "https://keybase.io/jekyll" } + # - { platform: linkedin, user_url: "https://www.linkedin.com/in/jekyll" } + # - { platform: microdotblog, user_url: "https://micro.blog/jekyll" } + # - { platform: pinterest, user_url: "https://www.pinterest.com/jekyll" } + # - { platform: stackoverflow, user_url: "https://stackoverflow.com/users/1234567/jekyll" } + # - { platform: telegram, user_url: "https://t.me/jekyll" } + # - { platform: twitter, user_url: "https://twitter.com/jekyllrb" } + - { platform: x, user_url: "https://x.com/velivelilev" } + # - { platform: youtube, user_url: "https://www.youtube.com/jekyll" } \ No newline at end of file diff --git a/static/assets/css/main.css b/static/assets/css/main.css index 57d286f..02af3ca 100644 --- a/static/assets/css/main.css +++ b/static/assets/css/main.css @@ -111,6 +111,8 @@ img { color-scheme: light dark; --white: #fff; --black: #000; + --transparent: rgba(128,128,128,0.2); + --color: rgb(138,43,226); } @@ -133,8 +135,6 @@ html, body{ color: var(--black); } - - .markdown-body{ border:0 !important; } @@ -142,18 +142,39 @@ html, body{ table, iframe{ width:100%; display: block; + border:0; } .markdown-body table td, .markdown-body table th, table td, table th{ border:0; } + :is(h1, h2, h3, h4, h5, h6) img{ display: inline-block; + height: calc( var(--font-size) / 1.5); } -/* - - */ +table tbody img{ + width: 100%; +} +ul, +ul li { + margin: 0; + padding: 0; + list-style: none; +} + +a, +a:visited { + color: var(--black); + text-decoration: none; + font-weight: 400; +} +a:hover, +a:visited:hover { + text-decoration: none; + color: var(--color); +} /* semantic.css */ @@ -202,7 +223,12 @@ body { "Segoe UI Symbol"; } hr { - height: 0; + display: block; + height: 1px; + border: 0; + border-top: 1px solid var(--transparent); + margin: 1.5rem 0; + padding: 0; } abbr[title] { -webkit-text-decoration: underline dotted; @@ -326,12 +352,14 @@ header > section { margin-bottom: 0; } header { - background-color: #4332e0; + background-color: var(--black); } +/* header, header a { color: #fff; } +*/ footer { background-color: #efefef; } @@ -358,29 +386,30 @@ h4, h5, h6 { font-weight: 700; + font-size: var(--font-size); } h1 { - font-size: 3rem; + --font-size: 3rem; line-height: 1.2; } h2 { - font-size: 2rem; + --font-size: 2rem; line-height: 1.22; } h3 { - font-size: 1.5rem; + --font-size: 1.5rem; line-height: 1.24; } h4 { - font-size: 1.25rem; + --font-size: 1.25rem; line-height: 1.26; } h5 { - font-size: 1rem; + --font-size: 1rem; line-height: 1.28; } h6 { - font-size: 0.875rem; + --font-size: 0.875rem; } h1 + h2, h2 + h3, @@ -407,7 +436,8 @@ blockquote { padding-left: 30px; padding-top: 3px; padding-bottom: 3px; - font-size: 1.0625rem; + --font-size: 1.0625rem; + font-size: var(--font-size); } blockquote::before { content: ""; @@ -417,7 +447,7 @@ blockquote::before { left: 0; display: block; width: 10px; - background: rgba(128,128,128,0.2); + background: var(--transparent); } button, input[type="reset"], @@ -529,22 +559,22 @@ pre { margin-bottom: 45px; } h1 { - font-size: 2.625rem; + --font-size: 2.625rem; } h2 { - font-size: 1.875rem; + --font-size: 1.875rem; } h3 { - font-size: 1.375rem; + --font-size: 1.375rem; } h4 { - font-size: 1.125rem; + --font-size: 1.125rem; } h5 { - font-size: 0.9375rem; + --font-size: 0.9375rem; } h6 { - font-size: 0.8125rem; + --font-size: 0.8125rem; } p { margin-top: 10px; @@ -556,7 +586,7 @@ pre { margin-bottom: 5px; } blockquote { - font-size: 1rem; + --font-size: 1rem; } input, label, @@ -581,16 +611,16 @@ pre { margin-bottom: 15px; } h1 { - font-size: 2.25rem; + --font-size: 2.25rem; } h2 { - font-size: 1.75rem; + --font-size: 1.75rem; } h3 { - font-size: 1.25rem; + --font-size: 1.25rem; } h4 { - font-size: 1rem; + --font-size: 1rem; } h1 + h2, h2 + h3, @@ -600,6 +630,6 @@ pre { margin-top: -5px; } pre { - font-size: 0.9375rem; + --font-size: 0.9375rem; } } diff --git a/static/assets/images/cover.png b/static/assets/images/cover.png new file mode 100644 index 0000000..29cbe04 Binary files /dev/null and b/static/assets/images/cover.png differ