mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +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
|
@ -30,19 +30,20 @@ url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e
|
|||
site.url: "https://blog.newsblur.com" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
permalink: pretty
|
||||
twitter_username: newsblur
|
||||
github_username: samuelclay
|
||||
github_username: samuelclay
|
||||
logo: /assets/newsblur_logo_512.png
|
||||
future: true
|
||||
|
||||
# Build settings
|
||||
theme: minima
|
||||
minima:
|
||||
skin: auto
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
- jekyll-redirect-from
|
||||
- jekyll-paginate
|
||||
paginate: 10
|
||||
paginate_path: "/page:num"
|
||||
|
||||
# Exclude from processing.
|
||||
# The following items will not be processed, by default.
|
||||
# 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.
|
||||
// (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.
|
||||
|
||||
$lm-site-title-color: #1b3e63 !default;
|
||||
$dm-site-title-color: #1b3e63 !default;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// 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;
|
||||
$base-font-size: 16px !default;
|
||||
$base-font-weight: 400 !default;
|
||||
|
|
|
@ -10,14 +10,14 @@ $color-scheme-dark: false !default;
|
|||
// 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-dark: darken($lm-brand-color, 25%) !default;
|
||||
|
||||
$lm-site-title-color: $lm-brand-color-dark !default;
|
||||
|
||||
$lm-text-color: #111111 !default;
|
||||
$lm-background-color: #fdfdfd !default;
|
||||
$lm-background-color: #FDFCF3 !default;
|
||||
$lm-code-background-color: #eeeeff !default;
|
||||
|
||||
$lm-link-base-color: #2a7ae2 !default;
|
||||
|
|
Loading…
Add table
Reference in a new issue