mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
Customizing theme, long way to go.
This commit is contained in:
parent
92696473e3
commit
4a8b4f7cb2
5 changed files with 41 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
||||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
||||||
#
|
#
|
||||||
# If you need help with YAML syntax, here are some quick references for you:
|
# If you need help with YAML syntax, here are some quick references for you:
|
||||||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
||||||
# https://learnxinyminutes.com/docs/yaml/
|
# https://learnxinyminutes.com/docs/yaml/
|
||||||
#
|
#
|
||||||
|
@ -23,26 +23,27 @@ email: blog@newsblur.com
|
||||||
tagline: A new sound of an old instrument
|
tagline: A new sound of an old instrument
|
||||||
description: > # this means to ignore newlines until "baseurl:"
|
description: > # this means to ignore newlines until "baseurl:"
|
||||||
NewsBlur is a personal news reader that brings people together to talk about the world.
|
NewsBlur is a personal news reader that brings people together to talk about the world.
|
||||||
|
|
||||||
A new sound of an old instrument.
|
A new sound of an old instrument.
|
||||||
baseurl: "" # the subpath of your site, e.g. /blog
|
baseurl: "" # the subpath of your site, e.g. /blog
|
||||||
url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e.g. http://example.com
|
url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e.g. http://example.com
|
||||||
site.url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e.g. http://example.com
|
site.url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e.g. http://example.com
|
||||||
permalink: pretty
|
permalink: pretty
|
||||||
twitter_username: newsblur
|
twitter_username: newsblur
|
||||||
github_username: samuelclay
|
github_username: samuelclay
|
||||||
logo: /assets/newsblur_logo_512.png
|
logo: /assets/newsblur_logo_512.png
|
||||||
future: true
|
future: true
|
||||||
|
|
||||||
# Build settings
|
# Build settings
|
||||||
theme: minima
|
theme: minima
|
||||||
|
minima:
|
||||||
|
skin: auto
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-feed
|
- jekyll-feed
|
||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
- jekyll-paginate
|
- jekyll-paginate
|
||||||
paginate: 10
|
paginate: 10
|
||||||
paginate_path: "/page:num"
|
paginate_path: "/page:num"
|
||||||
|
|
||||||
# Exclude from processing.
|
# Exclude from processing.
|
||||||
# The following items will not be processed, by default.
|
# The following items will not be processed, by default.
|
||||||
# Any item listed under the `exclude:` key here will be automatically added to
|
# Any item listed under the `exclude:` key here will be automatically added to
|
||||||
|
|
|
@ -1,2 +1,32 @@
|
||||||
// Placeholder to allow defining custom styles that override everything else.
|
// Placeholder to allow defining custom styles that override everything else.
|
||||||
// (Use `_sass/minima/custom-variables.scss` to override variable defaults)
|
// (Use `_sass/minima/custom-variables.scss` to override variable defaults)
|
||||||
|
|
||||||
|
|
||||||
|
.site-header {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
background-color: $background-color;
|
||||||
|
|
||||||
|
// Positioning context for the mobile navigation icon
|
||||||
|
position: relative;
|
||||||
|
.wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.post {
|
||||||
|
img, video {
|
||||||
|
max-width: 650px;
|
||||||
|
vertical-align: middle;
|
||||||
|
display: block;
|
||||||
|
margin: 24px auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-title {
|
||||||
|
@include relative-font-size(2.125);
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: $base-line-height * $base-font-size * 2.25;
|
||||||
|
}
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
// Placeholder to allow overriding predefined variables smoothly.
|
// Placeholder to allow overriding predefined variables smoothly.
|
||||||
|
|
||||||
|
$lm-site-title-color: #1b3e63 !default;
|
||||||
|
$dm-site-title-color: #1b3e63 !default;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
// Define defaults for each variable.
|
// Define defaults for each variable.
|
||||||
|
|
||||||
$base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
|
$base-font-family: "Whitney A", "Whitney B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
||||||
$code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
|
$code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
|
||||||
$base-font-size: 16px !default;
|
$base-font-size: 16px !default;
|
||||||
$base-font-weight: 400 !default;
|
$base-font-weight: 400 !default;
|
||||||
|
|
|
@ -10,14 +10,14 @@ $color-scheme-dark: false !default;
|
||||||
// Light mode
|
// Light mode
|
||||||
// ----------
|
// ----------
|
||||||
|
|
||||||
$lm-brand-color: #828282 !default;
|
$lm-brand-color: #C66426 !default;
|
||||||
$lm-brand-color-light: lighten($lm-brand-color, 40%) !default;
|
$lm-brand-color-light: lighten($lm-brand-color, 40%) !default;
|
||||||
$lm-brand-color-dark: darken($lm-brand-color, 25%) !default;
|
$lm-brand-color-dark: darken($lm-brand-color, 25%) !default;
|
||||||
|
|
||||||
$lm-site-title-color: $lm-brand-color-dark !default;
|
$lm-site-title-color: $lm-brand-color-dark !default;
|
||||||
|
|
||||||
$lm-text-color: #111111 !default;
|
$lm-text-color: #111111 !default;
|
||||||
$lm-background-color: #fdfdfd !default;
|
$lm-background-color: #FDFCF3 !default;
|
||||||
$lm-code-background-color: #eeeeff !default;
|
$lm-code-background-color: #eeeeff !default;
|
||||||
|
|
||||||
$lm-link-base-color: #2a7ae2 !default;
|
$lm-link-base-color: #2a7ae2 !default;
|
||||||
|
|
Loading…
Add table
Reference in a new issue