new theme called thinker
2
Makefile
@ -118,6 +118,6 @@ newpost:
|
|||||||
$(PY) $(BASEDIR)/newpost.py
|
$(PY) $(BASEDIR)/newpost.py
|
||||||
|
|
||||||
writingenv:
|
writingenv:
|
||||||
docker-compose run --rm blog /bin/zsh
|
docker-compose run --rm --service-ports blog /bin/zsh
|
||||||
|
|
||||||
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github newpost writingenv
|
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github newpost writingenv
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||

|
|
||||||
|
|
||||||
blog
|
blog
|
||||||
====
|
====
|
||||||
|
|
||||||
## create environment ##
|
## create environment ##
|
||||||
1. `git clone git@github.com:xsteadfastx/blog.git`
|
1. `make writingenv`
|
||||||
2. build the environment with `cd blog && vagrant up`
|
|
||||||
3. login in the environment with `vagrant ssh`
|
|
||||||
|
|
||||||
## write ##
|
## write ##
|
||||||
1. create new post with `make newpost`
|
1. create new post with `make newpost`
|
||||||
|
28
Vagrantfile
vendored
@ -1,28 +0,0 @@
|
|||||||
# -*- mode: ruby -*-
|
|
||||||
# vi: set ft=ruby :
|
|
||||||
|
|
||||||
Vagrant.configure(2) do |config|
|
|
||||||
#config.vm.network "forwarded_port", guest: 8888, host: 8888
|
|
||||||
#config.vm.network "forwarded_port", guest: 8000, host: 8000
|
|
||||||
config.ssh.forward_agent = true
|
|
||||||
#config.ssh.username = "vagrant"
|
|
||||||
#config.ssh.private_key_path = ["~/.ssh/id_rsa", "~/.vagrant.d/insecure_private_key"]
|
|
||||||
#config.ssh.insert_key = false
|
|
||||||
|
|
||||||
config.vm.provider "docker" do |d|
|
|
||||||
d.build_dir = "./vagrant"
|
|
||||||
d.has_ssh = true
|
|
||||||
end
|
|
||||||
|
|
||||||
# provisioning
|
|
||||||
require 'rbconfig'
|
|
||||||
|
|
||||||
config.vm.provision "ansible" do |ansible|
|
|
||||||
ansible.playbook = "ansible/vagrant.yml"
|
|
||||||
ansible.limit = "all"
|
|
||||||
ansible.verbose = "v"
|
|
||||||
#ansible.vault_password_file = "ansible/.vault_pass.txt"
|
|
||||||
ansible.host_key_checking = false
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
@ -1,7 +1,7 @@
|
|||||||
Title: Profil über den Aeropress Erfinder Alan Adler
|
Title: Profil über den Aeropress Erfinder Alan Adler
|
||||||
Date: 2015-09-02 11:20
|
Date: 2015-09-02 11:20
|
||||||
Slug: profil-ueber-den-aeropress-erfinder-alan-adler
|
Slug: profil-ueber-den-aeropress-erfinder-alan-adler
|
||||||
Tags: aeropess, coffee
|
Tags: aeropress, coffee
|
||||||
Description: Kurze Dokumentation über Alan Adler
|
Description: Kurze Dokumentation über Alan Adler
|
||||||
|
|
||||||
Wieviel Zeit ich schon verbracht habe um Aeropress Videos auf Youtube zu schauen. Es ist immer noch meine liebste Art Kaffee zu zubereiten. Vor allem gibt es endlose Möglichkeiten und Methoden für den Brühprozess. Hier eine kleine Dokumentation über den Erfinder Alan Adler. Danke Mr. Adler <3.
|
Wieviel Zeit ich schon verbracht habe um Aeropress Videos auf Youtube zu schauen. Es ist immer noch meine liebste Art Kaffee zu zubereiten. Vor allem gibt es endlose Möglichkeiten und Methoden für den Brühprozess. Hier eine kleine Dokumentation über den Erfinder Alan Adler. Danke Mr. Adler <3.
|
||||||
|
@ -10,6 +10,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- $PWD:/blog
|
- $PWD:/blog
|
||||||
- $HOME/.ssh:/home/blog/.ssh
|
- $HOME/.ssh:/home/blog/.ssh
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8000:8000"
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
command: /bin/true
|
command: /bin/true
|
||||||
|
@ -5,16 +5,11 @@ from datetime import datetime
|
|||||||
AUTHOR = 'marvin'
|
AUTHOR = 'marvin'
|
||||||
SITENAME = 'xsteadfastx'
|
SITENAME = 'xsteadfastx'
|
||||||
SITEURL = ''
|
SITEURL = ''
|
||||||
SITELOGO = '/theme/img/avatar.png'
|
|
||||||
FAVICON = '/theme/img/favicon.png'
|
|
||||||
TIMEZONE = "Europe/Berlin"
|
TIMEZONE = "Europe/Berlin"
|
||||||
DESCRIPTION = "the cats are not what they seem"
|
|
||||||
|
|
||||||
# can be useful in development, but set to False when you're ready to publish
|
# can be useful in development, but set to False when you're ready to publish
|
||||||
RELATIVE_URLS = True
|
RELATIVE_URLS = True
|
||||||
|
|
||||||
GITHUB_URL = 'http://github.com/xsteadfastx/'
|
|
||||||
TWITTER_NAME = '@xsteadfastx'
|
|
||||||
FLATTR_USER = 'xsteadfastx'
|
FLATTR_USER = 'xsteadfastx'
|
||||||
PDF_GENERATOR = False
|
PDF_GENERATOR = False
|
||||||
REVERSE_CATEGORY_ORDER = True
|
REVERSE_CATEGORY_ORDER = True
|
||||||
@ -57,7 +52,7 @@ PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
|
|||||||
# have to be in caps
|
# have to be in caps
|
||||||
# foobar = "barbaz"
|
# foobar = "barbaz"
|
||||||
|
|
||||||
THEME = 'themes/flex'
|
THEME = 'themes/thinker'
|
||||||
OUTPUT_PATH = 'output'
|
OUTPUT_PATH = 'output'
|
||||||
PATH = 'content'
|
PATH = 'content'
|
||||||
|
|
||||||
|
38
themes/thinker/static/css/hack-extended.css
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/*!
|
||||||
|
* Hack v2.020 - https://sourcefoundry.org/hack/
|
||||||
|
* Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License
|
||||||
|
*/
|
||||||
|
/* FONT PATHS
|
||||||
|
* -------------------------- */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/hack-regular-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/hack-regular-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-regular-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-regular-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-regular-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/hack-bold-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/hack-bold-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-bold-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-bold-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-bold-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/hack-italic-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/hack-italic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-italic-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-italic-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-italic-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/hack-bolditalic-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/hack-bolditalic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-bolditalic-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-bolditalic-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-bolditalic-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
4
themes/thinker/static/css/hack-extended.min.css
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/*!
|
||||||
|
* Hack v2.020 - https://sourcefoundry.org/hack/
|
||||||
|
* Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License
|
||||||
|
*/@font-face{font-family:'Hack';src:url('../fonts/eot/hack-regular-webfont.eot?v=2.020');src:url('../fonts/eot/hack-regular-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/hack-regular-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/hack-regular-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/hack-regular-webfont.ttf?v=2.020') format('truetype');font-weight:400;font-style:normal}@font-face{font-family:'Hack';src:url('../fonts/eot/hack-bold-webfont.eot?v=2.020');src:url('../fonts/eot/hack-bold-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/hack-bold-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/hack-bold-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/hack-bold-webfont.ttf?v=2.020') format('truetype');font-weight:700;font-style:normal}@font-face{font-family:'Hack';src:url('../fonts/eot/hack-italic-webfont.eot?v=2.020');src:url('../fonts/eot/hack-italic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/hack-italic-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/hack-italic-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/hack-italic-webfont.ttf?v=2.020') format('truetype');font-weight:400;font-style:italic}@font-face{font-family:'Hack';src:url('../fonts/eot/hack-bolditalic-webfont.eot?v=2.020');src:url('../fonts/eot/hack-bolditalic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/hack-bolditalic-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/hack-bolditalic-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/hack-bolditalic-webfont.ttf?v=2.020') format('truetype');font-weight:700;font-style:italic}
|
37
themes/thinker/static/css/hack.css
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/*!
|
||||||
|
* Hack v2.020 - https://sourcefoundry.org/hack/
|
||||||
|
* Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License
|
||||||
|
*/
|
||||||
|
/* FONT PATHS
|
||||||
|
* -------------------------- */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/latin/hack-regular-latin-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/latin/hack-regular-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-regular-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-regular-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-regular-latin-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/latin/hack-bold-latin-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/latin/hack-bold-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-bold-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-bold-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-bold-latin-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/latin/hack-italic-latin-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/latin/hack-italic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-italic-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-italic-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-italic-latin-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Hack';
|
||||||
|
src: url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?v=2.020');
|
||||||
|
src: url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-bolditalic-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf?v=2.020') format('truetype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
4
themes/thinker/static/css/hack.min.css
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/*!
|
||||||
|
* Hack v2.020 - https://sourcefoundry.org/hack/
|
||||||
|
* Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License
|
||||||
|
*/@font-face{font-family:'Hack';src:url('../fonts/eot/latin/hack-regular-latin-webfont.eot?v=2.020');src:url('../fonts/eot/latin/hack-regular-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/latin/hack-regular-latin-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/latin/hack-regular-latin-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/latin/hack-regular-latin-webfont.ttf?v=2.020') format('truetype');font-weight:400;font-style:normal}@font-face{font-family:'Hack';src:url('../fonts/eot/latin/hack-bold-latin-webfont.eot?v=2.020');src:url('../fonts/eot/latin/hack-bold-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/latin/hack-bold-latin-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/latin/hack-bold-latin-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/latin/hack-bold-latin-webfont.ttf?v=2.020') format('truetype');font-weight:700;font-style:normal}@font-face{font-family:'Hack';src:url('../fonts/eot/latin/hack-italic-latin-webfont.eot?v=2.020');src:url('../fonts/eot/latin/hack-italic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/latin/hack-italic-latin-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/latin/hack-italic-latin-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/latin/hack-italic-latin-webfont.ttf?v=2.020') format('truetype');font-weight:400;font-style:italic}@font-face{font-family:'Hack';src:url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?v=2.020');src:url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'),url('../fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2?v=2.020') format('woff2'),url('../fonts/woff/latin/hack-bolditalic-latin-webfont.woff?v=2.020') format('woff'),url('../fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf?v=2.020') format('truetype');font-weight:700;font-style:italic}
|
427
themes/thinker/static/css/normalize.css
vendored
Normal file
@ -0,0 +1,427 @@
|
|||||||
|
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Set default font family to sans-serif.
|
||||||
|
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||||
|
* user zoom.
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: sans-serif; /* 1 */
|
||||||
|
-ms-text-size-adjust: 100%; /* 2 */
|
||||||
|
-webkit-text-size-adjust: 100%; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove default margin.
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* HTML5 display definitions
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||||
|
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||||
|
* and Firefox.
|
||||||
|
* Correct `block` display not defined for `main` in IE 11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
details,
|
||||||
|
figcaption,
|
||||||
|
figure,
|
||||||
|
footer,
|
||||||
|
header,
|
||||||
|
hgroup,
|
||||||
|
main,
|
||||||
|
menu,
|
||||||
|
nav,
|
||||||
|
section,
|
||||||
|
summary {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||||
|
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||||
|
*/
|
||||||
|
|
||||||
|
audio,
|
||||||
|
canvas,
|
||||||
|
progress,
|
||||||
|
video {
|
||||||
|
display: inline-block; /* 1 */
|
||||||
|
vertical-align: baseline; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent modern browsers from displaying `audio` without controls.
|
||||||
|
* Remove excess height in iOS 5 devices.
|
||||||
|
*/
|
||||||
|
|
||||||
|
audio:not([controls]) {
|
||||||
|
display: none;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||||
|
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[hidden],
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the gray background color from active links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Improve readability when focused and also mouse hovered in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-level semantics
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
border-bottom: 1px dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in Safari and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
dfn {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address variable `h1` font-size and margin within `section` and `article`
|
||||||
|
* contexts in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in IE 8/9.
|
||||||
|
*/
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background: #ff0;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address inconsistent and variable font size in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Embedded content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove border when inside `a` element in IE 8/9/10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
img {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct overflow not hidden in IE 9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
svg:not(:root) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grouping content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address margin not present in IE 8/9 and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 1em 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address differences between Firefox and other browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
hr {
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contain overflow in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
pre {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address odd `em`-unit font size rendering in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
pre,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||||
|
* styling of `select`, unless a `border` property is set.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct color not being inherited.
|
||||||
|
* Known issue: affects color of disabled elements.
|
||||||
|
* 2. Correct font properties not being inherited.
|
||||||
|
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
color: inherit; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
margin: 0; /* 3 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||||
|
* All other form control elements do not inherit `text-transform` values.
|
||||||
|
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||||
|
* Correct `select` style inheritance in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||||
|
* and `video` controls.
|
||||||
|
* 2. Correct inability to style clickable `input` types in iOS.
|
||||||
|
* 3. Improve usability and consistency of cursor style between image-type
|
||||||
|
* `input` and others.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
html input[type="button"], /* 1 */
|
||||||
|
input[type="reset"],
|
||||||
|
input[type="submit"] {
|
||||||
|
-webkit-appearance: button; /* 2 */
|
||||||
|
cursor: pointer; /* 3 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Re-set default cursor for disabled elements.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button[disabled],
|
||||||
|
html input[disabled] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove inner padding and border in Firefox 4+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
input::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||||
|
* the UA stylesheet.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input {
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It's recommended that you don't attempt to style these elements.
|
||||||
|
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||||
|
*
|
||||||
|
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||||
|
* 2. Remove excess padding in IE 8/9/10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="checkbox"],
|
||||||
|
input[type="radio"] {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||||
|
* `font-size` values of the `input`, it causes the cursor style of the
|
||||||
|
* decrement button to change from `default` to `text`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="number"]::-webkit-inner-spin-button,
|
||||||
|
input[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||||
|
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||||
|
* (include `-moz` to future-proof).
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"] {
|
||||||
|
-webkit-appearance: textfield; /* 1 */
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
-webkit-box-sizing: content-box; /* 2 */
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||||
|
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||||
|
* padding (and `textfield` appearance).
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-cancel-button,
|
||||||
|
input[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define consistent border, margin, and padding.
|
||||||
|
*/
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border: 1px solid #c0c0c0;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding: 0.35em 0.625em 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||||
|
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||||
|
*/
|
||||||
|
|
||||||
|
legend {
|
||||||
|
border: 0; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Don't inherit the `font-weight` (applied by a rule above).
|
||||||
|
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||||
|
*/
|
||||||
|
|
||||||
|
optgroup {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove most spacing between table cells.
|
||||||
|
*/
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
padding: 0;
|
||||||
|
}
|
418
themes/thinker/static/css/skeleton.css
vendored
Normal file
@ -0,0 +1,418 @@
|
|||||||
|
/*
|
||||||
|
* Skeleton V2.0.4
|
||||||
|
* Copyright 2014, Dave Gamache
|
||||||
|
* www.getskeleton.com
|
||||||
|
* Free to use under the MIT license.
|
||||||
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
|
* 12/29/2014
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Table of contents
|
||||||
|
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
|
- Grid
|
||||||
|
- Base Styles
|
||||||
|
- Typography
|
||||||
|
- Links
|
||||||
|
- Buttons
|
||||||
|
- Forms
|
||||||
|
- Lists
|
||||||
|
- Code
|
||||||
|
- Tables
|
||||||
|
- Spacing
|
||||||
|
- Utilities
|
||||||
|
- Clearing
|
||||||
|
- Media Queries
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Grid
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
.container {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 960px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 20px;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.column,
|
||||||
|
.columns {
|
||||||
|
width: 100%;
|
||||||
|
float: left;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
/* For devices larger than 400px */
|
||||||
|
@media (min-width: 400px) {
|
||||||
|
.container {
|
||||||
|
width: 85%;
|
||||||
|
padding: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For devices larger than 550px */
|
||||||
|
@media (min-width: 550px) {
|
||||||
|
.container {
|
||||||
|
width: 80%; }
|
||||||
|
.column,
|
||||||
|
.columns {
|
||||||
|
margin-left: 4%; }
|
||||||
|
.column:first-child,
|
||||||
|
.columns:first-child {
|
||||||
|
margin-left: 0; }
|
||||||
|
|
||||||
|
.one.column,
|
||||||
|
.one.columns { width: 4.66666666667%; }
|
||||||
|
.two.columns { width: 13.3333333333%; }
|
||||||
|
.three.columns { width: 22%; }
|
||||||
|
.four.columns { width: 30.6666666667%; }
|
||||||
|
.five.columns { width: 39.3333333333%; }
|
||||||
|
.six.columns { width: 48%; }
|
||||||
|
.seven.columns { width: 56.6666666667%; }
|
||||||
|
.eight.columns { width: 65.3333333333%; }
|
||||||
|
.nine.columns { width: 74.0%; }
|
||||||
|
.ten.columns { width: 82.6666666667%; }
|
||||||
|
.eleven.columns { width: 91.3333333333%; }
|
||||||
|
.twelve.columns { width: 100%; margin-left: 0; }
|
||||||
|
|
||||||
|
.one-third.column { width: 30.6666666667%; }
|
||||||
|
.two-thirds.column { width: 65.3333333333%; }
|
||||||
|
|
||||||
|
.one-half.column { width: 48%; }
|
||||||
|
|
||||||
|
/* Offsets */
|
||||||
|
.offset-by-one.column,
|
||||||
|
.offset-by-one.columns { margin-left: 8.66666666667%; }
|
||||||
|
.offset-by-two.column,
|
||||||
|
.offset-by-two.columns { margin-left: 17.3333333333%; }
|
||||||
|
.offset-by-three.column,
|
||||||
|
.offset-by-three.columns { margin-left: 26%; }
|
||||||
|
.offset-by-four.column,
|
||||||
|
.offset-by-four.columns { margin-left: 34.6666666667%; }
|
||||||
|
.offset-by-five.column,
|
||||||
|
.offset-by-five.columns { margin-left: 43.3333333333%; }
|
||||||
|
.offset-by-six.column,
|
||||||
|
.offset-by-six.columns { margin-left: 52%; }
|
||||||
|
.offset-by-seven.column,
|
||||||
|
.offset-by-seven.columns { margin-left: 60.6666666667%; }
|
||||||
|
.offset-by-eight.column,
|
||||||
|
.offset-by-eight.columns { margin-left: 69.3333333333%; }
|
||||||
|
.offset-by-nine.column,
|
||||||
|
.offset-by-nine.columns { margin-left: 78.0%; }
|
||||||
|
.offset-by-ten.column,
|
||||||
|
.offset-by-ten.columns { margin-left: 86.6666666667%; }
|
||||||
|
.offset-by-eleven.column,
|
||||||
|
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
|
||||||
|
|
||||||
|
.offset-by-one-third.column,
|
||||||
|
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
|
||||||
|
.offset-by-two-thirds.column,
|
||||||
|
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
|
||||||
|
|
||||||
|
.offset-by-one-half.column,
|
||||||
|
.offset-by-one-half.columns { margin-left: 52%; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Base Styles
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
/* NOTE
|
||||||
|
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
||||||
|
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
||||||
|
html {
|
||||||
|
font-size: 62.5%; }
|
||||||
|
body {
|
||||||
|
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
|
||||||
|
line-height: 1.6;
|
||||||
|
font-weight: 400;
|
||||||
|
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
|
color: #222; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Typography
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: 300; }
|
||||||
|
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
|
||||||
|
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
|
||||||
|
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
|
||||||
|
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
|
||||||
|
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
|
||||||
|
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
|
||||||
|
|
||||||
|
/* Larger than phablet */
|
||||||
|
@media (min-width: 550px) {
|
||||||
|
h1 { font-size: 5.0rem; }
|
||||||
|
h2 { font-size: 4.2rem; }
|
||||||
|
h3 { font-size: 3.6rem; }
|
||||||
|
h4 { font-size: 3.0rem; }
|
||||||
|
h5 { font-size: 2.4rem; }
|
||||||
|
h6 { font-size: 1.5rem; }
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Links
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
a {
|
||||||
|
color: #1EAEDB; }
|
||||||
|
a:hover {
|
||||||
|
color: #0FA0CE; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Buttons
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
.button,
|
||||||
|
button,
|
||||||
|
input[type="submit"],
|
||||||
|
input[type="reset"],
|
||||||
|
input[type="button"] {
|
||||||
|
display: inline-block;
|
||||||
|
height: 38px;
|
||||||
|
padding: 0 30px;
|
||||||
|
color: #555;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 38px;
|
||||||
|
letter-spacing: .1rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-decoration: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
cursor: pointer;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.button:hover,
|
||||||
|
button:hover,
|
||||||
|
input[type="submit"]:hover,
|
||||||
|
input[type="reset"]:hover,
|
||||||
|
input[type="button"]:hover,
|
||||||
|
.button:focus,
|
||||||
|
button:focus,
|
||||||
|
input[type="submit"]:focus,
|
||||||
|
input[type="reset"]:focus,
|
||||||
|
input[type="button"]:focus {
|
||||||
|
color: #333;
|
||||||
|
border-color: #888;
|
||||||
|
outline: 0; }
|
||||||
|
.button.button-primary,
|
||||||
|
button.button-primary,
|
||||||
|
input[type="submit"].button-primary,
|
||||||
|
input[type="reset"].button-primary,
|
||||||
|
input[type="button"].button-primary {
|
||||||
|
color: #FFF;
|
||||||
|
background-color: #33C3F0;
|
||||||
|
border-color: #33C3F0; }
|
||||||
|
.button.button-primary:hover,
|
||||||
|
button.button-primary:hover,
|
||||||
|
input[type="submit"].button-primary:hover,
|
||||||
|
input[type="reset"].button-primary:hover,
|
||||||
|
input[type="button"].button-primary:hover,
|
||||||
|
.button.button-primary:focus,
|
||||||
|
button.button-primary:focus,
|
||||||
|
input[type="submit"].button-primary:focus,
|
||||||
|
input[type="reset"].button-primary:focus,
|
||||||
|
input[type="button"].button-primary:focus {
|
||||||
|
color: #FFF;
|
||||||
|
background-color: #1EAEDB;
|
||||||
|
border-color: #1EAEDB; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
input[type="email"],
|
||||||
|
input[type="number"],
|
||||||
|
input[type="search"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="tel"],
|
||||||
|
input[type="url"],
|
||||||
|
input[type="password"],
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
height: 38px;
|
||||||
|
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #D1D1D1;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: none;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
/* Removes awkward default styles on some inputs for iOS */
|
||||||
|
input[type="email"],
|
||||||
|
input[type="number"],
|
||||||
|
input[type="search"],
|
||||||
|
input[type="text"],
|
||||||
|
input[type="tel"],
|
||||||
|
input[type="url"],
|
||||||
|
input[type="password"],
|
||||||
|
textarea {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none; }
|
||||||
|
textarea {
|
||||||
|
min-height: 65px;
|
||||||
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px; }
|
||||||
|
input[type="email"]:focus,
|
||||||
|
input[type="number"]:focus,
|
||||||
|
input[type="search"]:focus,
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="tel"]:focus,
|
||||||
|
input[type="url"]:focus,
|
||||||
|
input[type="password"]:focus,
|
||||||
|
textarea:focus,
|
||||||
|
select:focus {
|
||||||
|
border: 1px solid #33C3F0;
|
||||||
|
outline: 0; }
|
||||||
|
label,
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
font-weight: 600; }
|
||||||
|
fieldset {
|
||||||
|
padding: 0;
|
||||||
|
border-width: 0; }
|
||||||
|
input[type="checkbox"],
|
||||||
|
input[type="radio"] {
|
||||||
|
display: inline; }
|
||||||
|
label > .label-body {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: .5rem;
|
||||||
|
font-weight: normal; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Lists
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
ul {
|
||||||
|
list-style: circle inside; }
|
||||||
|
ol {
|
||||||
|
list-style: decimal inside; }
|
||||||
|
ol, ul {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-top: 0; }
|
||||||
|
ul ul,
|
||||||
|
ul ol,
|
||||||
|
ol ol,
|
||||||
|
ol ul {
|
||||||
|
margin: 1.5rem 0 1.5rem 3rem;
|
||||||
|
font-size: 90%; }
|
||||||
|
li {
|
||||||
|
margin-bottom: 1rem; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Code
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
code {
|
||||||
|
padding: .2rem .5rem;
|
||||||
|
margin: 0 .2rem;
|
||||||
|
font-size: 90%;
|
||||||
|
white-space: nowrap;
|
||||||
|
background: #F1F1F1;
|
||||||
|
border: 1px solid #E1E1E1;
|
||||||
|
border-radius: 4px; }
|
||||||
|
pre > code {
|
||||||
|
display: block;
|
||||||
|
padding: 1rem 1.5rem;
|
||||||
|
white-space: pre; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Tables
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
padding: 12px 15px;
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid #E1E1E1; }
|
||||||
|
th:first-child,
|
||||||
|
td:first-child {
|
||||||
|
padding-left: 0; }
|
||||||
|
th:last-child,
|
||||||
|
td:last-child {
|
||||||
|
padding-right: 0; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Spacing
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
button,
|
||||||
|
.button {
|
||||||
|
margin-bottom: 1rem; }
|
||||||
|
input,
|
||||||
|
textarea,
|
||||||
|
select,
|
||||||
|
fieldset {
|
||||||
|
margin-bottom: 1.5rem; }
|
||||||
|
pre,
|
||||||
|
blockquote,
|
||||||
|
dl,
|
||||||
|
figure,
|
||||||
|
table,
|
||||||
|
p,
|
||||||
|
ul,
|
||||||
|
ol,
|
||||||
|
form {
|
||||||
|
margin-bottom: 2.5rem; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Utilities
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
.u-full-width {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.u-max-full-width {
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.u-pull-right {
|
||||||
|
float: right; }
|
||||||
|
.u-pull-left {
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
hr {
|
||||||
|
margin-top: 3rem;
|
||||||
|
margin-bottom: 3.5rem;
|
||||||
|
border-width: 0;
|
||||||
|
border-top: 1px solid #E1E1E1; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Clearing
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
|
||||||
|
/* Self Clearing Goodness */
|
||||||
|
.container:after,
|
||||||
|
.row:after,
|
||||||
|
.u-cf {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Media Queries
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
/*
|
||||||
|
Note: The best way to structure the use of media queries is to create the queries
|
||||||
|
near the relevant code. For example, if you wanted to change the styles for buttons
|
||||||
|
on small devices, paste the mobile query code up in the buttons section and style it
|
||||||
|
there.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Larger than mobile */
|
||||||
|
@media (min-width: 400px) {}
|
||||||
|
|
||||||
|
/* Larger than phablet (also point when grid becomes active) */
|
||||||
|
@media (min-width: 550px) {}
|
||||||
|
|
||||||
|
/* Larger than tablet */
|
||||||
|
@media (min-width: 750px) {}
|
||||||
|
|
||||||
|
/* Larger than desktop */
|
||||||
|
@media (min-width: 1000px) {}
|
||||||
|
|
||||||
|
/* Larger than Desktop HD */
|
||||||
|
@media (min-width: 1200px) {}
|
85
themes/thinker/static/css/thinker.css
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
body {
|
||||||
|
background: #afa970;
|
||||||
|
height: 100%;
|
||||||
|
font-family: Hack, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #546850;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #706f31;
|
||||||
|
margin-top: 75px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: solid #546850 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.post-meta {
|
||||||
|
color: #546850;
|
||||||
|
font-size: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.footer {
|
||||||
|
color: #546850;
|
||||||
|
font-size: 75%;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
max-width: 90%;
|
||||||
|
font-size: small;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content pre, blockquote {
|
||||||
|
border: 1px solid #546850;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tipue_search_input {
|
||||||
|
font-family: Hack, monospace;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tipue_search_results_count, .tipue_search_content_title a, .tipue_search_content_url a, .tipue_search_content_text, #tipue_search_warning {
|
||||||
|
font-family: Hack, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
background-image: url(../images/background.png);
|
||||||
|
position: absolute;
|
||||||
|
height: 65px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 550px) {
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
background-image: url(../images/background.png);
|
||||||
|
background-size: cover;
|
||||||
|
position: fixed;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
251
themes/thinker/static/css/tipuesearch.css
Normal file
@ -0,0 +1,251 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
Tipue Search 6.0
|
||||||
|
Copyright (c) 2017 Tipue
|
||||||
|
Tipue Search is released under the MIT License
|
||||||
|
http://www.tipue.com/search
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* fonts */
|
||||||
|
|
||||||
|
|
||||||
|
#tipue_search_input, #tipue_search_foot_boxes
|
||||||
|
{
|
||||||
|
font: 300 14px/1 Roboto, sans-serif;
|
||||||
|
}
|
||||||
|
#tipue_search_results_count, #tipue_search_warning, .tipue_search_content_url, .tipue_search_content_debug, .tipue_search_related_text
|
||||||
|
{
|
||||||
|
font: 300 14px/1.7 Roboto, sans-serif;
|
||||||
|
}
|
||||||
|
.tipue_search_content_title
|
||||||
|
{
|
||||||
|
font: 100 26px/1.7 Roboto, sans-serif;
|
||||||
|
}
|
||||||
|
.tipue_search_content_text, .tipue_search_related_title
|
||||||
|
{
|
||||||
|
font: 300 15px/1.7 Roboto, sans-serif;
|
||||||
|
}
|
||||||
|
.tipue_search_content_bold, .tipue_search_related_bold
|
||||||
|
{
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* search box */
|
||||||
|
|
||||||
|
|
||||||
|
#tipue_search_input
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
max-width: 210px;
|
||||||
|
padding: 17px;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 0;
|
||||||
|
-moz-appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
box-shadow: none;
|
||||||
|
outline: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.tipue_search_icon
|
||||||
|
{
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
.tipue_search_left
|
||||||
|
{
|
||||||
|
float: left;
|
||||||
|
padding: 15px 9px 0 0;
|
||||||
|
}
|
||||||
|
.tipue_search_right
|
||||||
|
{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* search results */
|
||||||
|
|
||||||
|
|
||||||
|
#tipue_search_content
|
||||||
|
{
|
||||||
|
max-width: 750px;
|
||||||
|
padding-top: 15px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
#tipue_search_results_count
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
#tipue_search_warning
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
margin: 7px 0;
|
||||||
|
}
|
||||||
|
#tipue_search_warning a
|
||||||
|
{
|
||||||
|
color: #5396ea;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
#tipue_search_warning a:hover
|
||||||
|
{
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
.tipue_search_content_title
|
||||||
|
{
|
||||||
|
color: #666;
|
||||||
|
margin-top: 21px;
|
||||||
|
}
|
||||||
|
.tipue_search_content_title a
|
||||||
|
{
|
||||||
|
color: #666;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.tipue_search_content_title a:hover
|
||||||
|
{
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
.tipue_search_content_url
|
||||||
|
{
|
||||||
|
word-wrap: break-word;
|
||||||
|
hyphens: auto;
|
||||||
|
}
|
||||||
|
.tipue_search_content_url a, .tipue_search_related_text a
|
||||||
|
{
|
||||||
|
color: #5396ea;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.tipue_search_content_url a:hover, .tipue_search_related_text a:hover, .tipue_search_related_before, .tipue_search_related_after
|
||||||
|
{
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
.tipue_search_content_text
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
word-wrap: break-word;
|
||||||
|
hyphens: auto;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
.tipue_search_content_bold
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.tipue_search_content_debug
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
.tipue_search_related_title
|
||||||
|
{
|
||||||
|
color: #333;
|
||||||
|
margin: 26px 0 7px 0;
|
||||||
|
}
|
||||||
|
.tipue_search_related_cols
|
||||||
|
{
|
||||||
|
-webkit-columns: 230px 2;
|
||||||
|
-moz-columns: 230px 2;
|
||||||
|
columns: 230px 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tipue_search_foot
|
||||||
|
{
|
||||||
|
margin: 51px 0 21px 0;
|
||||||
|
}
|
||||||
|
#tipue_search_foot_boxes
|
||||||
|
{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
#tipue_search_foot_boxes li
|
||||||
|
{
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#tipue_search_foot_boxes li a
|
||||||
|
{
|
||||||
|
padding: 10px 17px 11px 17px;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 1px;
|
||||||
|
color: #333;
|
||||||
|
margin-right: 7px;
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#tipue_search_foot_boxes li.current
|
||||||
|
{
|
||||||
|
padding: 10px 17px 11px 17px;
|
||||||
|
background: #f6f6f6;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 1px;
|
||||||
|
color: #333;
|
||||||
|
margin-right: 7px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#tipue_search_foot_boxes li a:hover
|
||||||
|
{
|
||||||
|
background: #f6f6f6;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* spinner */
|
||||||
|
|
||||||
|
|
||||||
|
.tipue_search_spinner
|
||||||
|
{
|
||||||
|
width: 50px;
|
||||||
|
height: 28px;
|
||||||
|
}
|
||||||
|
.tipue_search_spinner > div
|
||||||
|
{
|
||||||
|
background-color: #e3e3e3;
|
||||||
|
height: 100%;
|
||||||
|
width: 2px;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 2px;
|
||||||
|
-webkit-animation: stretchdelay 1.2s infinite ease-in-out;
|
||||||
|
animation: stretchdelay 1.2s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
.tipue_search_spinner .tipue_search_rect2
|
||||||
|
{
|
||||||
|
-webkit-animation-delay: -1.1s;
|
||||||
|
animation-delay: -1.1s;
|
||||||
|
}
|
||||||
|
.tipue_search_spinner .tipue_search_rect3
|
||||||
|
{
|
||||||
|
-webkit-animation-delay: -1.0s;
|
||||||
|
animation-delay: -1.0s;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes stretchdelay
|
||||||
|
{
|
||||||
|
0%, 40%, 100%
|
||||||
|
{
|
||||||
|
-webkit-transform: scaleY(0.4)
|
||||||
|
}
|
||||||
|
20%
|
||||||
|
{
|
||||||
|
-webkit-transform: scaleY(1.0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes stretchdelay
|
||||||
|
{
|
||||||
|
0%, 40%, 100%
|
||||||
|
{
|
||||||
|
transform: scaleY(0.4);
|
||||||
|
-webkit-transform: scaleY(0.4);
|
||||||
|
}
|
||||||
|
20%
|
||||||
|
{
|
||||||
|
transform: scaleY(1.0);
|
||||||
|
-webkit-transform: scaleY(1.0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
themes/thinker/static/fonts/eot/hack-bold-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/hack-bolditalic-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/hack-italic-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/hack-regular-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/latin/hack-bold-latin-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/latin/hack-bolditalic-latin-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/latin/hack-italic-latin-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/eot/latin/hack-regular-latin-webfont.eot
Executable file
BIN
themes/thinker/static/fonts/web-ttf/hack-bold-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/hack-bolditalic-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/hack-italic-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/hack-regular-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/latin/hack-bold-latin-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/latin/hack-italic-latin-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/web-ttf/latin/hack-regular-latin-webfont.ttf
Executable file
BIN
themes/thinker/static/fonts/woff/hack-bold-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/hack-bolditalic-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/hack-italic-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/hack-regular-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/latin/hack-bold-latin-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/latin/hack-bolditalic-latin-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/latin/hack-italic-latin-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff/latin/hack-regular-latin-webfont.woff
Executable file
BIN
themes/thinker/static/fonts/woff2/hack-bold-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/hack-bolditalic-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/hack-italic-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/hack-regular-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/latin/hack-bold-latin-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/latin/hack-italic-latin-webfont.woff2
Executable file
BIN
themes/thinker/static/fonts/woff2/latin/hack-regular-latin-webfont.woff2
Executable file
BIN
themes/thinker/static/images/background.png
Normal file
After Width: | Height: | Size: 272 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-144x144.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-192x192.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-36x36.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-48x48.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-72x72.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
themes/thinker/static/images/favicon/android-icon-96x96.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-114x114.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-120x120.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-144x144.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-152x152.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-180x180.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-57x57.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-60x60.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-72x72.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-76x76.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon-precomposed.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
themes/thinker/static/images/favicon/apple-icon.png
Normal file
After Width: | Height: | Size: 92 KiB |
2
themes/thinker/static/images/favicon/browserconfig.xml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
|
BIN
themes/thinker/static/images/favicon/favicon-16x16.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
themes/thinker/static/images/favicon/favicon-32x32.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
themes/thinker/static/images/favicon/favicon-96x96.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
themes/thinker/static/images/favicon/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
41
themes/thinker/static/images/favicon/manifest.json
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"name": "App",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-36x36.png",
|
||||||
|
"sizes": "36x36",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "0.75"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-48x48.png",
|
||||||
|
"sizes": "48x48",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "1.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-72x72.png",
|
||||||
|
"sizes": "72x72",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "1.5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-96x96.png",
|
||||||
|
"sizes": "96x96",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "2.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "3.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-icon-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image\/png",
|
||||||
|
"density": "4.0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
themes/thinker/static/images/favicon/ms-icon-144x144.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
themes/thinker/static/images/favicon/ms-icon-150x150.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
themes/thinker/static/images/favicon/ms-icon-310x310.png
Normal file
After Width: | Height: | Size: 189 KiB |
BIN
themes/thinker/static/images/favicon/ms-icon-70x70.png
Normal file
After Width: | Height: | Size: 13 KiB |
4
themes/thinker/static/js/jquery-3.2.1.min.js
vendored
Normal file
87
themes/thinker/static/js/jquery.fitvids.js
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
/*jshint browser:true */
|
||||||
|
/*!
|
||||||
|
* FitVids 1.1
|
||||||
|
*
|
||||||
|
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
|
||||||
|
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
|
||||||
|
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
;(function( $ ){
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
$.fn.fitVids = function( options ) {
|
||||||
|
var settings = {
|
||||||
|
customSelector: null,
|
||||||
|
ignore: null
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!document.getElementById('fit-vids-style')) {
|
||||||
|
// appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
|
||||||
|
var head = document.head || document.getElementsByTagName('head')[0];
|
||||||
|
var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
|
||||||
|
var div = document.createElement("div");
|
||||||
|
div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
|
||||||
|
head.appendChild(div.childNodes[1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( options ) {
|
||||||
|
$.extend( settings, options );
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.each(function(){
|
||||||
|
var selectors = [
|
||||||
|
'iframe[src*="player.vimeo.com"]',
|
||||||
|
'iframe[src*="youtube.com"]',
|
||||||
|
'iframe[src*="youtube-nocookie.com"]',
|
||||||
|
'iframe[src*="kickstarter.com"][src*="video.html"]',
|
||||||
|
'object',
|
||||||
|
'embed'
|
||||||
|
];
|
||||||
|
|
||||||
|
if (settings.customSelector) {
|
||||||
|
selectors.push(settings.customSelector);
|
||||||
|
}
|
||||||
|
|
||||||
|
var ignoreList = '.fitvidsignore';
|
||||||
|
|
||||||
|
if(settings.ignore) {
|
||||||
|
ignoreList = ignoreList + ', ' + settings.ignore;
|
||||||
|
}
|
||||||
|
|
||||||
|
var $allVideos = $(this).find(selectors.join(','));
|
||||||
|
$allVideos = $allVideos.not('object object'); // SwfObj conflict patch
|
||||||
|
$allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
|
||||||
|
|
||||||
|
$allVideos.each(function(){
|
||||||
|
var $this = $(this);
|
||||||
|
if($this.parents(ignoreList).length > 0) {
|
||||||
|
return; // Disable FitVids on this video.
|
||||||
|
}
|
||||||
|
if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
|
||||||
|
if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))
|
||||||
|
{
|
||||||
|
$this.attr('height', 9);
|
||||||
|
$this.attr('width', 16);
|
||||||
|
}
|
||||||
|
var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
|
||||||
|
width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
|
||||||
|
aspectRatio = height / width;
|
||||||
|
if(!$this.attr('name')){
|
||||||
|
var videoName = 'fitvid' + $.fn.fitVids._count;
|
||||||
|
$this.attr('name', videoName);
|
||||||
|
$.fn.fitVids._count++;
|
||||||
|
}
|
||||||
|
$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');
|
||||||
|
$this.removeAttr('height').removeAttr('width');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Internal counter for unique video names.
|
||||||
|
$.fn.fitVids._count = 0;
|
||||||
|
|
||||||
|
// Works with either jQuery or Zepto
|
||||||
|
})( window.jQuery || window.Zepto );
|
178
themes/thinker/static/js/tipuesearch.min.js
vendored
Normal file
@ -0,0 +1,178 @@
|
|||||||
|
(function($){$.fn.tipuesearch=function(options){var set=$.extend({'contentLocation':'tipuesearch/tipuesearch_content.json','contextBuffer':60,'contextLength':60,'contextStart':90,'debug':false,'descriptiveWords':25,'highlightTerms':true,'liveContent':'*','liveDescription':'*','minimumLength':3,'mode':'static','newWindow':false,'show':9,'showContext':true,'showRelated':true,'showTime':true,'showTitleCount':true,'showURL':true,'wholeWords':true},options);return this.each(function(){var tipuesearch_in={pages:[]};$.ajaxSetup({async:false});var tipuesearch_t_c=0;$('#tipue_search_content').hide().html('<div class="tipue_search_spinner"><div class="tipue_search_rect1"></div><div class="tipue_search_rect2"></div><div class="rect3"></div></div>').show();if(set.mode=='live')
|
||||||
|
{for(var i=0;i<tipuesearch_pages.length;i++)
|
||||||
|
{$.get(tipuesearch_pages[i]).done(function(html)
|
||||||
|
{var cont=$(set.liveContent,html).text();cont=cont.replace(/\s+/g,' ');var desc=$(set.liveDescription,html).text();desc=desc.replace(/\s+/g,' ');var t_1=html.toLowerCase().indexOf('<title>');var t_2=html.toLowerCase().indexOf('</title>',t_1+7);if(t_1!=-1&&t_2!=-1)
|
||||||
|
{var tit=html.slice(t_1+7,t_2);}
|
||||||
|
else
|
||||||
|
{var tit=tipuesearch_string_1;}
|
||||||
|
tipuesearch_in.pages.push({"title":tit,"text":desc,"tags":cont,"url":tipuesearch_pages[i]});});}}
|
||||||
|
if(set.mode=='json')
|
||||||
|
{$.getJSON(set.contentLocation).done(function(json)
|
||||||
|
{tipuesearch_in=$.extend({},json);});}
|
||||||
|
if(set.mode=='static')
|
||||||
|
{tipuesearch_in=$.extend({},tipuesearch);}
|
||||||
|
var tipue_search_w='';if(set.newWindow)
|
||||||
|
{tipue_search_w=' target="_blank"';}
|
||||||
|
function getURLP(name)
|
||||||
|
{var _locSearch=location.search;var _splitted=(new RegExp('[?|&]'+name+'='+'([^&;]+?)(&|#|;|$)').exec(_locSearch)||[,""]);var searchString=_splitted[1].replace(/\+/g,'%20');try
|
||||||
|
{searchString=decodeURIComponent(searchString);}
|
||||||
|
catch(e)
|
||||||
|
{searchString=unescape(searchString);}
|
||||||
|
return searchString||null;}
|
||||||
|
if(getURLP('q'))
|
||||||
|
{$('#tipue_search_input').val(getURLP('q'));getTipueSearch(0,true);}
|
||||||
|
$(this).keyup(function(event)
|
||||||
|
{if(event.keyCode=='13')
|
||||||
|
{getTipueSearch(0,true);}});function getTipueSearch(start,replace)
|
||||||
|
{var out='';var results='';var show_replace=false;var show_stop=false;var standard=true;var c=0;found=[];var d_o=$('#tipue_search_input').val();var d=d_o.toLowerCase();d=$.trim(d);if((d.match("^\"")&&d.match("\"$"))||(d.match("^'")&&d.match("'$")))
|
||||||
|
{standard=false;}
|
||||||
|
var d_w=d.split(' ');if(standard)
|
||||||
|
{d='';for(var i=0;i<d_w.length;i++)
|
||||||
|
{var a_w=true;for(var f=0;f<tipuesearch_stop_words.length;f++)
|
||||||
|
{if(d_w[i]==tipuesearch_stop_words[f])
|
||||||
|
{a_w=false;show_stop=true;}}
|
||||||
|
if(a_w)
|
||||||
|
{d=d+' '+d_w[i];}}
|
||||||
|
d=$.trim(d);d_w=d.split(' ');}
|
||||||
|
else
|
||||||
|
{d=d.substring(1,d.length-1);}
|
||||||
|
if(d.length>=set.minimumLength)
|
||||||
|
{if(standard)
|
||||||
|
{if(replace)
|
||||||
|
{var d_r=d;for(var i=0;i<d_w.length;i++)
|
||||||
|
{for(var f=0;f<tipuesearch_replace.words.length;f++)
|
||||||
|
{if(d_w[i]==tipuesearch_replace.words[f].word)
|
||||||
|
{d=d.replace(d_w[i],tipuesearch_replace.words[f].replace_with);show_replace=true;}}}
|
||||||
|
d_w=d.split(' ');}
|
||||||
|
var d_t=d;for(var i=0;i<d_w.length;i++)
|
||||||
|
{for(var f=0;f<tipuesearch_stem.words.length;f++)
|
||||||
|
{if(d_w[i]==tipuesearch_stem.words[f].word)
|
||||||
|
{d_t=d_t+' '+tipuesearch_stem.words[f].stem;}}}
|
||||||
|
d_w=d_t.split(' ');for(var i=0;i<tipuesearch_in.pages.length;i++)
|
||||||
|
{var score=0;var s_t=tipuesearch_in.pages[i].text;for(var f=0;f<d_w.length;f++)
|
||||||
|
{if(set.wholeWords)
|
||||||
|
{var pat=new RegExp('\\b'+d_w[f]+'\\b','gi');}
|
||||||
|
else
|
||||||
|
{var pat=new RegExp(d_w[f],'gi');}
|
||||||
|
if(tipuesearch_in.pages[i].title.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].title.match(pat).length;score+=(20*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].text.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].text.match(pat).length;score+=(20*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].tags.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].tags.match(pat).length;score+=(10*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].url.search(pat)!=-1)
|
||||||
|
{score+=20;}
|
||||||
|
if(score!=0)
|
||||||
|
{for(var e=0;e<tipuesearch_weight.weight.length;e++)
|
||||||
|
{if(tipuesearch_in.pages[i].url==tipuesearch_weight.weight[e].url)
|
||||||
|
{score+=tipuesearch_weight.weight[e].score;}}}
|
||||||
|
if(d_w[f].match('^-'))
|
||||||
|
{pat=new RegExp(d_w[f].substring(1),'i');if(tipuesearch_in.pages[i].title.search(pat)!=-1||tipuesearch_in.pages[i].text.search(pat)!=-1||tipuesearch_in.pages[i].tags.search(pat)!=-1)
|
||||||
|
{score=0;}}}
|
||||||
|
if(score!=0)
|
||||||
|
{found.push({"score":score,"title":tipuesearch_in.pages[i].title,"desc":s_t,"url":tipuesearch_in.pages[i].url});c++;}}}
|
||||||
|
else
|
||||||
|
{for(var i=0;i<tipuesearch_in.pages.length;i++)
|
||||||
|
{var score=0;var s_t=tipuesearch_in.pages[i].text;var pat=new RegExp(d,'gi');if(tipuesearch_in.pages[i].title.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].title.match(pat).length;score+=(20*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].text.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].text.match(pat).length;score+=(20*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].tags.search(pat)!=-1)
|
||||||
|
{var m_c=tipuesearch_in.pages[i].tags.match(pat).length;score+=(10*m_c);}
|
||||||
|
if(tipuesearch_in.pages[i].url.search(pat)!=-1)
|
||||||
|
{score+=20;}
|
||||||
|
if(score!=0)
|
||||||
|
{for(var e=0;e<tipuesearch_weight.weight.length;e++)
|
||||||
|
{if(tipuesearch_in.pages[i].url==tipuesearch_weight.weight[e].url)
|
||||||
|
{score+=tipuesearch_weight.weight[e].score;}}}
|
||||||
|
if(score!=0)
|
||||||
|
{found.push({"score":score,"title":tipuesearch_in.pages[i].title,"desc":s_t,"url":tipuesearch_in.pages[i].url});c++;}}}
|
||||||
|
if(c!=0)
|
||||||
|
{if(set.showTitleCount&&tipuesearch_t_c==0)
|
||||||
|
{var title=document.title;document.title='('+c+') '+title;tipuesearch_t_c++;}
|
||||||
|
if(show_replace)
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_2+' '+d+'. '+tipuesearch_string_3+' <a id="tipue_search_replaced">'+d_r+'</a></div>';}
|
||||||
|
if(c==1)
|
||||||
|
{out+='<div id="tipue_search_results_count">'+tipuesearch_string_4;}
|
||||||
|
else
|
||||||
|
{c_c=c.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");out+='<div id="tipue_search_results_count">'+c_c+' '+tipuesearch_string_5;}
|
||||||
|
if(set.showTime)
|
||||||
|
{var endTimer=new Date().getTime();var time=(endTimer-startTimer)/ 1000;out+=' ('+time.toFixed(2)+' '+tipuesearch_string_14+')';set.showTime=false;}
|
||||||
|
out+='</div>';found.sort(function(a,b){return b.score-a.score});var l_o=0;for(var i=0;i<found.length;i++)
|
||||||
|
{if(l_o>=start&&l_o<set.show+start)
|
||||||
|
{out+='<div class="tipue_search_content_title"><a href="'+found[i].url+'"'+tipue_search_w+'>'+found[i].title+'</a></div>';if(set.debug)
|
||||||
|
{out+='<div class="tipue_search_content_debug">Score: '+found[i].score+'</div>';}
|
||||||
|
if(set.showURL)
|
||||||
|
{var s_u=found[i].url.toLowerCase();if(s_u.indexOf('http://')==0)
|
||||||
|
{s_u=s_u.slice(7);}
|
||||||
|
out+='<div class="tipue_search_content_url"><a href="'+found[i].url+'"'+tipue_search_w+'>'+s_u+'</a></div>';}
|
||||||
|
if(found[i].desc)
|
||||||
|
{var t=found[i].desc;if(set.showContext)
|
||||||
|
{d_w=d.split(' ');var s_1=found[i].desc.toLowerCase().indexOf(d_w[0]);if(s_1>set.contextStart)
|
||||||
|
{var t_1=t.substr(s_1-set.contextBuffer);var s_2=t_1.indexOf(' ');t_1=t.substr(s_1-set.contextBuffer+s_2);t_1=$.trim(t_1);if(t_1.length>set.contextLength)
|
||||||
|
{t='... '+t_1;}}}
|
||||||
|
if(standard)
|
||||||
|
{d_w=d.split(' ');for(var f=0;f<d_w.length;f++)
|
||||||
|
{if(set.highlightTerms)
|
||||||
|
{var patr=new RegExp('('+d_w[f]+')','gi');t=t.replace(patr,"<span class=\"h0011\">$1</span>");}}}
|
||||||
|
else if(set.highlightTerms)
|
||||||
|
{var patr=new RegExp('('+d+')','gi');t=t.replace(patr,"<span class=\"h0011\">$1</span>");}
|
||||||
|
var t_d='';var t_w=t.split(' ');if(t_w.length<set.descriptiveWords)
|
||||||
|
{t_d=t;}
|
||||||
|
else
|
||||||
|
{for(var f=0;f<set.descriptiveWords;f++)
|
||||||
|
{t_d+=t_w[f]+' ';}}
|
||||||
|
t_d=$.trim(t_d);if(t_d.charAt(t_d.length-1)!='.')
|
||||||
|
{t_d+=' ...';}
|
||||||
|
t_d=t_d.replace(/h0011/g,'tipue_search_content_bold');out+='<div class="tipue_search_content_text">'+t_d+'</div>';}}
|
||||||
|
l_o++;}
|
||||||
|
if(set.showRelated&&standard)
|
||||||
|
{f=0;for(var i=0;i<tipuesearch_related.searches.length;i++)
|
||||||
|
{if(d==tipuesearch_related.searches[i].search)
|
||||||
|
{if(show_replace)
|
||||||
|
{d_o=d;}
|
||||||
|
if(!f)
|
||||||
|
{out+='<div class="tipue_search_related_title">Searches related to <span class="tipue_search_related_bold">'+d_o+'</span></div><div class="tipue_search_related_cols">';}
|
||||||
|
out+='<div class="tipue_search_related_text"><a class="tipue_search_related" id="'+tipuesearch_related.searches[i].related+'">';if(tipuesearch_related.searches[i].before)
|
||||||
|
{out+='<span class="tipue_search_related_before">'+tipuesearch_related.searches[i].before+'</span> ';}
|
||||||
|
out+=tipuesearch_related.searches[i].related;if(tipuesearch_related.searches[i].after)
|
||||||
|
{out+=' <span class="tipue_search_related_after">'+tipuesearch_related.searches[i].after+'</span>';}
|
||||||
|
out+='</a></div>';f++;}}
|
||||||
|
if(f)
|
||||||
|
{out+='</div>';}}
|
||||||
|
if(c>set.show)
|
||||||
|
{var pages=Math.ceil(c / set.show);var page=(start / set.show);out+='<nav><div id="tipue_search_foot"><ul id="tipue_search_foot_boxes">';if(start>0)
|
||||||
|
{out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="b" id="'+(start-set.show)+'_'+replace+'">'+tipuesearch_string_6+'</a></li>';}
|
||||||
|
if(page<=2)
|
||||||
|
{var p_b=pages;if(pages>3)
|
||||||
|
{p_b=3;}
|
||||||
|
for(var f=0;f<p_b;f++)
|
||||||
|
{if(f==page)
|
||||||
|
{out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
|
||||||
|
else
|
||||||
|
{out+='<li role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}}}
|
||||||
|
else
|
||||||
|
{var p_b=page+2;if(p_b>pages)
|
||||||
|
{p_b=pages;}
|
||||||
|
for(var f=page-1;f<p_b;f++)
|
||||||
|
{if(f==page)
|
||||||
|
{out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
|
||||||
|
else
|
||||||
|
{out+='<li role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}}}
|
||||||
|
if(page+1!=pages)
|
||||||
|
{out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="m" id="'+(start+set.show)+'_'+replace+'">'+tipuesearch_string_7+'</a></li>';}
|
||||||
|
out+='</ul></div></nav>';}}
|
||||||
|
else
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_8+'</div>';}}
|
||||||
|
else
|
||||||
|
{if(show_stop)
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_8+'. '+tipuesearch_string_9+'</div>';}
|
||||||
|
else
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_10+'</div>';if(set.minimumLength==1)
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_11+'</div>';}
|
||||||
|
else
|
||||||
|
{out+='<div id="tipue_search_warning">'+tipuesearch_string_12+' '+set.minimumLength+' '+tipuesearch_string_13+'</div>';}}}
|
||||||
|
$('#tipue_search_content').hide().html(out).slideDown(200);$('#tipue_search_replaced').click(function()
|
||||||
|
{getTipueSearch(0,false);});$('.tipue_search_related').click(function()
|
||||||
|
{$('#tipue_search_input').val($(this).attr('id'));getTipueSearch(0,true);});$('.tipue_search_foot_box').click(function()
|
||||||
|
{var id_v=$(this).attr('id');var id_a=id_v.split('_');getTipueSearch(parseInt(id_a[0]),id_a[1]);});}});};})(jQuery);
|
80
themes/thinker/static/js/tipuesearch_set.js
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
Tipue Search 6.0
|
||||||
|
Copyright (c) 2017 Tipue
|
||||||
|
Tipue Search is released under the MIT License
|
||||||
|
http://www.tipue.com/search
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Stop words
|
||||||
|
Stop words list from http://www.ranks.nl/stopwords
|
||||||
|
*/
|
||||||
|
|
||||||
|
var tipuesearch_stop_words = ["a", "about", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "aren't", "as", "at", "be", "because", "been", "before", "being", "below", "between", "both", "but", "by", "can't", "cannot", "could", "couldn't", "did", "didn't", "do", "does", "doesn't", "doing", "don't", "down", "during", "each", "few", "for", "from", "further", "had", "hadn't", "has", "hasn't", "have", "haven't", "having", "he", "he'd", "he'll", "he's", "her", "here", "here's", "hers", "herself", "him", "himself", "his", "how", "how's", "i", "i'd", "i'll", "i'm", "i've", "if", "in", "into", "is", "isn't", "it", "it's", "its", "itself", "let's", "me", "more", "most", "mustn't", "my", "myself", "no", "nor", "not", "of", "off", "on", "once", "only", "or", "other", "ought", "our", "ours", "ourselves", "out", "over", "own", "same", "shan't", "she", "she'd", "she'll", "she's", "should", "shouldn't", "so", "some", "such", "than", "that", "that's", "the", "their", "theirs", "them", "themselves", "then", "there", "there's", "these", "they", "they'd", "they'll", "they're", "they've", "this", "those", "through", "to", "too", "under", "until", "up", "very", "was", "wasn't", "we", "we'd", "we'll", "we're", "we've", "were", "weren't", "what", "what's", "when", "when's", "where", "where's", "which", "while", "who", "who's", "whom", "why", "why's", "with", "won't", "would", "wouldn't", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself", "yourselves"];
|
||||||
|
|
||||||
|
|
||||||
|
// Word replace
|
||||||
|
|
||||||
|
var tipuesearch_replace = {'words': [
|
||||||
|
{'word': 'tip', 'replace_with': 'tipue'},
|
||||||
|
{'word': 'javscript', 'replace_with': 'javascript'},
|
||||||
|
{'word': 'jqeury', 'replace_with': 'jquery'}
|
||||||
|
]};
|
||||||
|
|
||||||
|
|
||||||
|
// Weighting
|
||||||
|
|
||||||
|
var tipuesearch_weight = {'weight': [
|
||||||
|
{'url': 'http://www.tipue.com', 'score': 20},
|
||||||
|
{'url': 'http://www.tipue.com/search', 'score': 30},
|
||||||
|
{'url': 'http://www.tipue.com/is', 'score': 10}
|
||||||
|
]};
|
||||||
|
|
||||||
|
|
||||||
|
// Illogical stemming
|
||||||
|
|
||||||
|
var tipuesearch_stem = {'words': [
|
||||||
|
{'word': 'e-mail', 'stem': 'email'},
|
||||||
|
{'word': 'javascript', 'stem': 'jquery'},
|
||||||
|
{'word': 'javascript', 'stem': 'js'}
|
||||||
|
]};
|
||||||
|
|
||||||
|
|
||||||
|
// Related searches
|
||||||
|
|
||||||
|
var tipuesearch_related = {'searches': [
|
||||||
|
{'search': 'tipue', 'related': 'Tipue Search'},
|
||||||
|
{'search': 'tipue', 'before': 'Tipue Search', 'related': 'Getting Started'},
|
||||||
|
{'search': 'tipue', 'before': 'Tipue', 'related': 'jQuery'},
|
||||||
|
{'search': 'tipue', 'before': 'Tipue', 'related': 'Blog'}
|
||||||
|
]};
|
||||||
|
|
||||||
|
|
||||||
|
// Internal strings
|
||||||
|
|
||||||
|
var tipuesearch_string_1 = 'No title';
|
||||||
|
var tipuesearch_string_2 = 'Showing results for';
|
||||||
|
var tipuesearch_string_3 = 'Search instead for';
|
||||||
|
var tipuesearch_string_4 = '1 result';
|
||||||
|
var tipuesearch_string_5 = 'results';
|
||||||
|
var tipuesearch_string_6 = 'Back';
|
||||||
|
var tipuesearch_string_7 = 'More';
|
||||||
|
var tipuesearch_string_8 = 'Nothing found.';
|
||||||
|
var tipuesearch_string_9 = 'Common words are largely ignored.';
|
||||||
|
var tipuesearch_string_10 = 'Search too short';
|
||||||
|
var tipuesearch_string_11 = 'Should be one character or more.';
|
||||||
|
var tipuesearch_string_12 = 'Should be';
|
||||||
|
var tipuesearch_string_13 = 'characters or more.';
|
||||||
|
var tipuesearch_string_14 = 'seconds';
|
||||||
|
var tipuesearch_string_15 = 'Searches related to';
|
||||||
|
|
||||||
|
|
||||||
|
// Internals
|
||||||
|
|
||||||
|
|
||||||
|
// Timer for showTime
|
||||||
|
|
||||||
|
var startTimer = new Date().getTime();
|
||||||
|
|
23
themes/thinker/templates/article.html
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %} - {{ article.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>{{ article.title }}</h2>
|
||||||
|
<p class="post-meta">
|
||||||
|
Posted on {{ article.locale_date }}
|
||||||
|
{% if article.tags %}
|
||||||
|
• Tagged with
|
||||||
|
{% for tag in article.tags %}
|
||||||
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if DISQUS_SITENAME %}
|
||||||
|
• <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Leave a comment</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
{{ article.content }}
|
||||||
|
|
||||||
|
{% include 'disqus.html' %}
|
||||||
|
|
||||||
|
{% endblock %}
|
84
themes/thinker/templates/base.html
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<title>{{ SITENAME }}{% block title %}{% endblock %}</title>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
{% block styles %}
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/hack.min.css">
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/skeleton.css">
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/thinker.css">
|
||||||
|
{% if CUSTOM_CSS %}
|
||||||
|
<link href="{{ SITEURL }}/{{ CUSTOM_CSS }}" rel="stylesheet">
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% if FEED_ALL_ATOM %}
|
||||||
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom">
|
||||||
|
{% endif %}
|
||||||
|
{% if FEED_ALL_RSS %}
|
||||||
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<link rel="apple-touch-icon" sizes="57x57" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-57x57.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="60x60" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-60x60.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-72x72.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="76x76" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-76x76.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-114x114.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-120x120.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="144x144" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-144x144.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="152x152" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-152x152.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-icon-180x180.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="192x192" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/android-icon-192x192.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="96x96" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/manifest.json">
|
||||||
|
<meta name="msapplication-TileColor" content="#ffffff">
|
||||||
|
<meta name="msapplication-TileImage" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/ms-icon-144x144.png">
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<a href="{{ SITEURL }}"><div class="four columns sidebar"></div></a>
|
||||||
|
|
||||||
|
<div class="eight columns offset-by-four">
|
||||||
|
<div class="container content">
|
||||||
|
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<p class="footer">LINKS: {% for name, url in LINKS %}<a href="{{ url }}">{{ name }}</a> {% endfor %}</p>
|
||||||
|
<p class="footer">PAGES: {% for page in pages %}<a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a> {% endfor %}</p>
|
||||||
|
<p class="footer">SOCIAL: {% for name, url in SOCIAL %}<a href="{{ url }}">{{ name }}</a> {% endfor %}</p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery-3.2.1.min.js"></script>
|
||||||
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery.fitvids.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
$(".content img").each(function() {
|
||||||
|
if($(this).attr("alt"))
|
||||||
|
$(this).wrap('<figure class="image"></figure>')
|
||||||
|
.after('<figcaption>'+$(this).attr("alt")+'</figcaption>');
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".videobox").fitVids();
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
||||||
|
</body>
|
12
themes/thinker/templates/disqus.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{% if DISQUS_SITENAME %}
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
||||||
|
{% endif %}
|
11
themes/thinker/templates/disqus_count.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{% if DISQUS_SITENAME %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
31
themes/thinker/templates/index.html
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
{% for article in articles_page.object_list %}
|
||||||
|
<h2><a href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ article.title }}</a></h2>
|
||||||
|
<p class="post-meta">
|
||||||
|
Posted on {{ article.locale_date }}
|
||||||
|
{% if article.tags %}
|
||||||
|
• Tagged with
|
||||||
|
{% for tag in article.tags %}
|
||||||
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if DISQUS_SITENAME %}
|
||||||
|
• <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Leave a comment</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
{{ article.content }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if articles_page.has_other_pages() %}
|
||||||
|
{% include 'pagination.html' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
|
{% include 'disqus_count.html' %}
|
||||||
|
{% endblock %}
|
9
themes/thinker/templates/page.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %} - {{ page.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>{{ page.title }}</h2>
|
||||||
|
{{ page.content }}
|
||||||
|
|
||||||
|
{% endblock %}
|
11
themes/thinker/templates/pagination.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{% if DEFAULT_PAGINATION %}
|
||||||
|
<p class="paginator footer">
|
||||||
|
{% if articles_page.has_previous() %}
|
||||||
|
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a>
|
||||||
|
{% endif %}
|
||||||
|
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||||
|
{% if articles_page.has_next() %}
|
||||||
|
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
35
themes/thinker/templates/search.html
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %} - Search{% endblock %}
|
||||||
|
|
||||||
|
{% block styles %}
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/tipuesearch.css">
|
||||||
|
{{ super() }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>Search</h2>
|
||||||
|
<form action="{{ SITEURL}}/pages/search.html">
|
||||||
|
<input type="text" value="" placeholder="Suchen" name="q" id="tipue_search_input" autocomplete="on" required>
|
||||||
|
<br>
|
||||||
|
<br><input type="submit"/>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="tipue_search_content"><div id="tipue_search_loading"></div></div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
|
<script type="text/javascript" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/tipuesearch_set.js"></script>
|
||||||
|
<script type="text/javascript" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/tipuesearch.min.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#tipue_search_input').tipuesearch({
|
||||||
|
'mode' : 'json',
|
||||||
|
'show': 1000,
|
||||||
|
'newWindow': false,
|
||||||
|
'contentLocation': '{{ SITEURL }}/tipuesearch_content.json'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
3
themes/thinker/templates/tag.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{% extends 'index.html' %}
|
||||||
|
|
||||||
|
{% block title %} - {{ tag }}{% endblock %}
|
10
themes/thinker/templates/tags.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %} - Tags{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>Tags for {{ SITENAME }}</h2>
|
||||||
|
{%- for tag, articles in tags|sort %}
|
||||||
|
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
@ -32,4 +32,4 @@ RUN set -ex \
|
|||||||
&& /bin/zsh -c "source /home/blog/.zshrc && antigen update" \
|
&& /bin/zsh -c "source /home/blog/.zshrc && antigen update" \
|
||||||
&& sudo rm -rf /var/cache/apk/*
|
&& sudo rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
EXPOSE 8000
|
||||||
|