添加主题文件
This commit is contained in:
parent
9a009669e4
commit
470a4bdd9c
6
themes/material/.eslintrc.json
Executable file
6
themes/material/.eslintrc.json
Executable file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "airbnb-base",
|
||||
"plugins": [
|
||||
"import"
|
||||
]
|
||||
}
|
7
themes/material/.gitignore
vendored
Executable file
7
themes/material/.gitignore
vendored
Executable file
@ -0,0 +1,7 @@
|
||||
.DS_Store
|
||||
|
||||
npm-debug.log
|
||||
|
||||
node_modules
|
||||
|
||||
.idea
|
3
themes/material/.travis.yml
Executable file
3
themes/material/.travis.yml
Executable file
@ -0,0 +1,3 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "4"
|
103
themes/material/CONTRIBUTING.md
Executable file
103
themes/material/CONTRIBUTING.md
Executable file
@ -0,0 +1,103 @@
|
||||
|
||||
|
||||
# Commit message format
|
||||
|
||||
*Read this in other languages: [English](CONTRIBUTING.md), [简体中文](CONTRIBUTING.zh-cn.md).*
|
||||
|
||||
## 1. Title (Header)
|
||||
|
||||
**(1)type**
|
||||
|
||||
`type` is used to describe the commit class. It must be one of the following:
|
||||
|
||||
>- feat: A new feature
|
||||
- fix: A bug fix
|
||||
- docs: Documentation only changes
|
||||
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
|
||||
- refactor: A code change that neither fixes a bug nor adds a feature
|
||||
- test: Adding missing tests or correcting existing tests
|
||||
- chore: Changes that affect the build system or external dependencies
|
||||
|
||||
|
||||
**(2)scope**
|
||||
|
||||
`scope` is used to describe the scope of the impact of commit, such as sns, lang, share.
|
||||
|
||||
`scope` is placed after `type` and within parenthesis (`()`).
|
||||
|
||||
**(3)subject**
|
||||
|
||||
`subject` is a short description of the commit purpose, not more than 50 characters.
|
||||
|
||||
> - starts with a verb and uses the first person present, such as change, not changed or changes
|
||||
- The first letter is lowercase
|
||||
- End without a period (.)
|
||||
|
||||
---
|
||||
See #119 `refactor(sns): simplify conditional display` for example.
|
||||
|
||||
## 2. Body
|
||||
|
||||
Body is a detailed description that can be divided into multiple lines. The following is an example.
|
||||
|
||||
>More detailed explanatory text, if necessary. Wrap it around
|
||||
72 characters or so.
|
||||
|
||||
>Further paragraphs come after blank lines.
|
||||
|
||||
>- Bullet points are okay, too
|
||||
- Use a hanging indent
|
||||
|
||||
There are two points to note:
|
||||
|
||||
(1) Use the first person present, such as `change` instead of `changed` or `changes`.
|
||||
|
||||
(2) The motivation for the code change should be stated, as well as the comparison with the previous behavior.
|
||||
|
||||
## 3. Footer
|
||||
|
||||
The Footer section is used only in two cases.
|
||||
|
||||
** (1) Incompatible changes **
|
||||
|
||||
If the current code is incompatible with the previous version, the Footer section begins with `BREAKING CHANGE`, followed by a description of the change, along with the reason for the change and the migration method.
|
||||
|
||||
BREAKING CHANGE: isolate scope bindings definition has changed.
|
||||
|
||||
To migrate the code follow the example below:
|
||||
|
||||
Before:
|
||||
|
||||
scope: {
|
||||
myAttr: 'attribute',
|
||||
}
|
||||
|
||||
After:
|
||||
|
||||
scope: {
|
||||
myAttr: '@',
|
||||
}
|
||||
|
||||
The removed `inject` wasn't generally useful for directives so there should be no code using it.
|
||||
|
||||
** (2) Close Issue **
|
||||
|
||||
If the current commit is for an issue, then you can close the issue in the Footer section.
|
||||
|
||||
Closes #234
|
||||
|
||||
You can also close more than one issue at a time.
|
||||
|
||||
Closes #123, #245, #992.
|
||||
|
||||
## 4. Revert
|
||||
|
||||
There is also a special case that if the current commit is used to revoke a previous commit, it must begin with `revert:` followed by the commit header.
|
||||
|
||||
revert: feat(pencil): add 'graphiteWidth' option
|
||||
|
||||
This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
|
||||
|
||||
Body part of the format is fixed, must be written as `This reverts commit <hash>.`, Where `hash` is revoked SHA identifier of the commit.
|
||||
|
||||
If the current commit is in the same release as the revoked commit, they will not appear in the Change log. If the two are in different releases, the current commit will appear in the Change log under the `Reverts` subtitle.
|
102
themes/material/CONTRIBUTING.zh-cn.md
Executable file
102
themes/material/CONTRIBUTING.zh-cn.md
Executable file
@ -0,0 +1,102 @@
|
||||
|
||||
|
||||
# Commit message format
|
||||
|
||||
*其他语言版本: [English](CONTRIBUTING.md), [简体中文](CONTRIBUTING.zh-cn.md).*
|
||||
|
||||
## 1. Title (Header)
|
||||
|
||||
**(1)type**
|
||||
|
||||
`type` 用于说明 commit 的类别,只允许使用下面 7 个标识。
|
||||
|
||||
>- feat: New feature 新功能
|
||||
- fix: Fix bug 修补 bug
|
||||
- docs: Documentation 文档
|
||||
- style: Format 格式(不影响代码运行的变动)
|
||||
- refactor: Refactor 重构(即不是新增功能,也不是修改 bug 的代码变动)
|
||||
- test: Test 增加测试
|
||||
- chore: 构建过程或辅助工具的变动
|
||||
|
||||
**(2)scope**
|
||||
|
||||
`scope` 用于说明 commit 影响的范围,比如 sns,lang,share。
|
||||
|
||||
`scope` 紧接 `type` 置于 `()` 之内。
|
||||
|
||||
**(3)subject**
|
||||
|
||||
`subject` 是 commit 目的的简短描述,不超过 50 个字符。
|
||||
|
||||
>- 以动词开头,使用第一人称现在时,比如change,而不是changed或changes
|
||||
- 第一个字母小写
|
||||
- 结尾不加句号(.)
|
||||
|
||||
---
|
||||
Title 可参考 #119 `refactor(sns): simplify conditional display`
|
||||
|
||||
## 2. Body
|
||||
|
||||
Body 部分是对本次 commit 的详细描述,可以分成多行。下面是一个范例。
|
||||
|
||||
>More detailed explanatory text, if necessary. Wrap it to
|
||||
about 72 characters or so.
|
||||
|
||||
>Further paragraphs come after blank lines.
|
||||
|
||||
>- Bullet points are okay, too
|
||||
- Use a hanging indent
|
||||
|
||||
有两个注意点:
|
||||
|
||||
(1)使用第一人称现在时,比如使用 `change` 而不是 `changed` 或 `changes`。
|
||||
|
||||
(2)应该说明代码变动的动机,以及与以前行为的对比。
|
||||
|
||||
## 3. Footer
|
||||
|
||||
Footer 部分只用于两种情况。
|
||||
|
||||
**(1)不兼容变动**
|
||||
|
||||
如果当前代码与上一个版本不兼容,则 Footer 部分以 `BREAKING CHANGE` 开头,后面是对变动的描述、以及变动理由和迁移方法。
|
||||
|
||||
BREAKING CHANGE: isolate scope bindings definition has changed.
|
||||
|
||||
To migrate the code follow the example below:
|
||||
|
||||
Before:
|
||||
|
||||
scope: {
|
||||
myAttr: 'attribute',
|
||||
}
|
||||
|
||||
After:
|
||||
|
||||
scope: {
|
||||
myAttr: '@',
|
||||
}
|
||||
|
||||
The removed `inject` wasn't generally useful for directives so there should be no code using it.
|
||||
|
||||
**(2)关闭 Issue**
|
||||
|
||||
如果当前 commit 针对某个 issue,那么可以在 Footer 部分关闭这个 issue 。
|
||||
|
||||
Closes #234
|
||||
|
||||
也可以一次关闭多个 issue 。
|
||||
|
||||
Closes #123, #245, #992
|
||||
|
||||
## 4. Revert
|
||||
|
||||
还有一种特殊情况,如果当前 commit 用于撤销以前的 commit,则必须以 `revert:` 开头,后面跟着被撤销 Commit 的 Header。
|
||||
|
||||
revert: feat(pencil): add 'graphiteWidth' option
|
||||
|
||||
This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
|
||||
|
||||
Body 部分的格式是固定的,必须写成 `This reverts commit <hash>.`,其中的 `hash` 是被撤销 commit 的 SHA 标识符。
|
||||
|
||||
如果当前 commit 与被撤销的 commit,在同一个发布(release)里面,那么它们都不会出现在 Change log 里面。如果两者在不同的发布,那么当前 commit,会出现在 Change log 的 `Reverts` 小标题下面。
|
674
themes/material/LICENSE
Executable file
674
themes/material/LICENSE
Executable file
@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
82
themes/material/README.md
Executable file
82
themes/material/README.md
Executable file
@ -0,0 +1,82 @@
|
||||

|
||||
|
||||
# Material 原质
|
||||
|
||||
[Material Theme](https://material.viosey.com)
|
||||
|
||||
>Nature, Source | 原之质,物之渊
|
||||
|
||||
## Contents 目录
|
||||
|
||||
- [General 概括](#general-概括)
|
||||
- [Demo 演示](#demo-演示)
|
||||
- [Quick start 快速开始](#quick-start-快速开始)
|
||||
- [Docs 文档](#docs-文档)
|
||||
- [Contributing 贡献](#contributing-贡献)
|
||||
- [License 许可证](#license-许可证)
|
||||
- [Support 支持](#support-支持)
|
||||
- [Render 渲染](#render-渲染)
|
||||
- [Changelog 开发日志](https://github.com/viosey/hexo-theme-material/releases)
|
||||
|
||||
## General 概括
|
||||
|
||||
[]()
|
||||
[](https://viosey.com)
|
||||
|
||||
[](https://hexo.io)
|
||||
[](https://nodejs.org/)
|
||||
|
||||
[](https://travis-ci.org/viosey/hexo-theme-material)
|
||||
[](https://www.npmjs.com/package/hexo-material)
|
||||
|
||||
## Demo 演示
|
||||
|
||||
[Viosey's Blog](https://blog.viosey.com)
|
||||
|
||||
## Quick start 快速开始
|
||||
|
||||
[Install Material](https://material.viosey.com/en/start/#install-material)
|
||||
|
||||
[安装 Material](https://material.viosey.com/start/#install-material)
|
||||
|
||||
|
||||
## Docs 文档
|
||||
|
||||
[Material Theme Docs](https://material.viosey.com/en/)
|
||||
|
||||
[Material 主题文档](https://material.viosey.com)
|
||||
|
||||
>[Docs Markdown Files](https://github.com/viosey/material-theme-docs)
|
||||
|
||||
|
||||
## Contributing 贡献
|
||||
|
||||
All kinds of contributions (enhancements, new features, documentation & code improvements, issues & bugs reporting) are welcome.
|
||||
|
||||
Before you start your contributing, please read the [Contributing Rules Wiki](https://github.com/viosey/hexo-theme-material/wiki) first.
|
||||
|
||||
欢迎各种形式的贡献,包括但不限于优化,添加功能,文档 & 代码的改进,问题和 bugs 的报告。期待您的 `Pull Request`。
|
||||
|
||||
在参与贡献之前,请阅读[项目贡献 Wiki](https://github.com/viosey/hexo-theme-material/wiki),了解如何为 Material 主题贡献。
|
||||
|
||||
|
||||
## License 许可证
|
||||
|
||||
[](https://github.com/viosey/hexo-theme-material/blob/master/LICENSE)
|
||||
|
||||
Open sourced under the GPL v3.0 license.
|
||||
|
||||
根据 GPL V3.0 许可证开源。
|
||||
|
||||
## Support 支持
|
||||

|
||||
|
||||
Proudly using BrowserStack.
|
||||
|
||||
[](https://www.browserstack.com/)
|
||||
|
||||
>**BrowserStack** is a cloud-based cross-browser testing tool that enables developers to test their websites across various browsers on different operating systems and mobile devices, without requiring users to install virtual machines, devices or emulators.
|
||||
|
||||
## Render 渲染
|
||||
|
||||

|
228
themes/material/_config.template.yml
Executable file
228
themes/material/_config.template.yml
Executable file
@ -0,0 +1,228 @@
|
||||
# ---------------------------------------------------------------
|
||||
# Site Information Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# Head info
|
||||
head:
|
||||
favicon: "/img/favicon.png"
|
||||
high_res_favicon: "/img/favicon.png"
|
||||
apple_touch_icon: "/img/favicon.png"
|
||||
keywords:
|
||||
site_verification:
|
||||
google:
|
||||
baidu:
|
||||
|
||||
# Enable generate structured-data as JSON+LD for SEO or not.
|
||||
# Set as 'false' if it cause some wrong when `hexo g`.
|
||||
structured_data: true
|
||||
|
||||
# Jump Links Settings
|
||||
url:
|
||||
rss:
|
||||
daily_pic: "#"
|
||||
logo: "#"
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Style Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# Schemes
|
||||
scheme: Paradox
|
||||
#scheme: Isolation
|
||||
|
||||
# UI & UX: slogan, color, effect
|
||||
uiux:
|
||||
slogan: "Hi, nice to meet you"
|
||||
theme_color: "#0097A7"
|
||||
theme_sub_color: "#00838F"
|
||||
hyperlink_color: "#00838F"
|
||||
button_color: "#757575"
|
||||
android_chrome_color: "#0097A7"
|
||||
nprogress_color: "#29d"
|
||||
nprogress_buffer: "800"
|
||||
|
||||
# JS Effect Switches
|
||||
js_effect:
|
||||
fade: true
|
||||
smoothscroll: false
|
||||
|
||||
# Reading experience
|
||||
reading:
|
||||
entry_excerpt: 80
|
||||
|
||||
# Thumbnail Settings
|
||||
thumbnail:
|
||||
purecolor:
|
||||
random_amount: 19
|
||||
|
||||
# Background Settings
|
||||
# bing available parameter:
|
||||
# new | color= | type=
|
||||
# color available value: black, blue, brown, green, multi, orange, pink, purple, red, white, yellow
|
||||
# type available value: A (animal), C (culture), N (nature), S (space), T (travel)
|
||||
background:
|
||||
purecolor: "#F5F5F5"
|
||||
#bgimg: "/img/bg.png"
|
||||
bing:
|
||||
enable: false
|
||||
parameter:
|
||||
|
||||
# Images Settings
|
||||
img:
|
||||
logo: "/img/logo.png"
|
||||
avatar: "/img/avatar.png"
|
||||
daily_pic: "/img/daily_pic.png"
|
||||
sidebar_header: "/img/sidebar_header.png"
|
||||
random_thumbnail: "/img/random/material-"
|
||||
footer_image:
|
||||
#upyun_logo:
|
||||
#link: "https://www.upyun.com/"
|
||||
#src: "/img/upyun_logo.svg"
|
||||
|
||||
# Custom Fonts
|
||||
# family: the font-family which will be used in the theme
|
||||
# host: uri of fonts host.
|
||||
# Available value of "host": google | baomitu | ustc | custom
|
||||
fonts:
|
||||
family: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif
|
||||
use: google
|
||||
custom_font_host:
|
||||
|
||||
# Card Elevation Level
|
||||
card_elevation: 2
|
||||
|
||||
# Copyright
|
||||
# Specify the date when the site was setup.
|
||||
# For example, if you set it as 2015, then footer will show '© 2015 - 2017'
|
||||
copyright_since:
|
||||
|
||||
# Qrcode for redirect at other device
|
||||
# use: choose which method to generate the qrcode for each posts.
|
||||
# Available value of "use": plugin | online
|
||||
# - When use "plugin", you need to install the hexo-helper-qrcode.
|
||||
# - When use "online", the qrcode will be generated by 'pan.baidu.com' in China.
|
||||
qrcode:
|
||||
enable: false
|
||||
use: plugin
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Menu Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# TOC Button
|
||||
|
||||
toc:
|
||||
# use: choose whether the line_number of toc will show or not.
|
||||
# Available value of "linenumber": true | false
|
||||
linenumber: true
|
||||
|
||||
# SNS Menu
|
||||
sns:
|
||||
email: youremail@email.com
|
||||
facebook: "https://www.facebook.com/facebook"
|
||||
twitter: "https://twitter.com/twitter"
|
||||
googleplus: "https://www.google.com/"
|
||||
weibo:
|
||||
instagram:
|
||||
tumblr:
|
||||
github:
|
||||
linkedin:
|
||||
zhihu:
|
||||
bilibili:
|
||||
telegram:
|
||||
|
||||
# SNS Share Switch
|
||||
sns_share:
|
||||
twitter: true
|
||||
facebook: true
|
||||
googleplus: true
|
||||
weibo: true
|
||||
linkedin: false
|
||||
qq: false
|
||||
telegram: false
|
||||
|
||||
# Sidebar Customize
|
||||
sidebar:
|
||||
dropdown:
|
||||
Email Me:
|
||||
link: "#"
|
||||
icon: email
|
||||
homepage:
|
||||
use: true
|
||||
icon: home
|
||||
divider: false
|
||||
archives:
|
||||
use: true
|
||||
icon: inbox
|
||||
divider: false
|
||||
categories:
|
||||
use: false
|
||||
icon: chrome_reader_mode
|
||||
divider: false
|
||||
pages:
|
||||
#About:
|
||||
#link: "/about"
|
||||
#icon: person
|
||||
#divider: false
|
||||
article_num:
|
||||
use: false
|
||||
divider: false
|
||||
footer:
|
||||
divider: true
|
||||
theme: true
|
||||
support: false
|
||||
feedback: false
|
||||
material: false
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Integrated Services
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# MaterialCDN
|
||||
# When you set 'use' as true, the needed css, js, font file will have a new src.
|
||||
# The new src will have the base domain you configured in 'base'.
|
||||
materialcdn:
|
||||
use:
|
||||
base:
|
||||
|
||||
# Comment Systems
|
||||
# Available value of "use":
|
||||
# disqus | disqus_click | changyan | 163gentie
|
||||
comment:
|
||||
use:
|
||||
shortname: # duoshuo or disqus shortname
|
||||
changyan_appid:
|
||||
changyan_conf:
|
||||
changyan_thread_key_type: path
|
||||
gentie_productKey:
|
||||
|
||||
# Search Systems
|
||||
# Available value:
|
||||
# swiftype | google | local
|
||||
search:
|
||||
use: google
|
||||
swiftype_key:
|
||||
|
||||
# Analytics Systems
|
||||
# Available value:
|
||||
# baidu | google | cnzz
|
||||
analytics:
|
||||
use:
|
||||
site_id:
|
||||
|
||||
# Leancloud Views
|
||||
leancloud:
|
||||
enable: false
|
||||
app_id: #你的 app_id
|
||||
app_key: #你的 app_key
|
||||
av_core_mini: "https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"
|
||||
|
||||
# Busuanzi 不蒜子 Views
|
||||
busuanzi:
|
||||
enable: false
|
||||
all_site_uv: false
|
||||
post_pv: false
|
||||
busuanzi_pure_mini_js: "https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"
|
244
themes/material/_config.yml
Normal file
244
themes/material/_config.yml
Normal file
@ -0,0 +1,244 @@
|
||||
# ---------------------------------------------------------------
|
||||
# Site Information Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# Head info
|
||||
head:
|
||||
favicon: "/img/favicon.png"
|
||||
high_res_favicon: "/img/favicon.png"
|
||||
apple_touch_icon: "/img/favicon.png"
|
||||
keywords: 'web全栈工程师,摇滚,vue,vuex,react,webpack,git,koa2'
|
||||
site_verification:
|
||||
google:
|
||||
baidu:
|
||||
|
||||
# Enable generate structured-data as JSON+LD for SEO or not.
|
||||
# Set as 'false' if it cause some wrong when `hexo g`.
|
||||
structured_data: true
|
||||
|
||||
# Jump Links Settings
|
||||
url:
|
||||
rss: atom.xml
|
||||
daily_pic: "#"
|
||||
logo: "logo.jpg"
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Style Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# Schemes
|
||||
scheme: Paradox
|
||||
#scheme: Isolation
|
||||
|
||||
# UI & UX: slogan, color, effect
|
||||
uiux:
|
||||
slogan: "对的,坚持!错的,放弃!"
|
||||
theme_color: "#77546f"
|
||||
theme_sub_color: ""
|
||||
hyperlink_color: "#679cc5"
|
||||
button_color: "#1b1d3a"
|
||||
android_chrome_color: "#0097A7"
|
||||
nprogress_color: "#fff"
|
||||
nprogress_buffer: "888"
|
||||
|
||||
# JS Effect Switches
|
||||
js_effect:
|
||||
fade: true
|
||||
smoothscroll: true
|
||||
|
||||
# Reading experience
|
||||
reading:
|
||||
entry_excerpt: 80
|
||||
|
||||
# Thumbnail Settings
|
||||
thumbnail:
|
||||
purecolor:
|
||||
random_amount: 19
|
||||
|
||||
# Background Settings
|
||||
# bing available parameter:
|
||||
# new | color= | type=
|
||||
# color available value: black, blue, brown, green, multi, orange, pink, purple, red, white, yellow
|
||||
# type available value: A (animal), C (culture), N (nature), S (space), T (travel)
|
||||
background:
|
||||
purecolor: "#F5F5F5"
|
||||
bgimg: "/img/bg.png"
|
||||
bing:
|
||||
enable: false
|
||||
parameter:
|
||||
|
||||
# Images Settings
|
||||
img:
|
||||
logo: "/img/logo.svg"
|
||||
avatar: "/img/avatar.png"
|
||||
daily_pic: "/img/daily_pic.jpg"
|
||||
sidebar_header: "/img/sidebar_header.png"
|
||||
random_thumbnail: "/img/random/material-"
|
||||
footer_image:
|
||||
#upyun_logo:
|
||||
#link: "https://www.upyun.com/"
|
||||
#src: "/img/upyun_logo.svg"
|
||||
|
||||
# Custom Fonts
|
||||
# family: the font-family which will be used in the theme
|
||||
# host: uri of fonts host.
|
||||
# Available value of "host": google | baomitu | ustc | custom
|
||||
fonts:
|
||||
family: Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif
|
||||
use: google
|
||||
custom_font_host:
|
||||
|
||||
# Card Elevation Level
|
||||
card_elevation: 4
|
||||
|
||||
# Copyright
|
||||
# Specify the date when the site was setup.
|
||||
# For example, if you set it as 2015, then footer will show '© 2015 - 2017'
|
||||
copyright_since: 2016
|
||||
|
||||
# Qrcode for redirect at other device
|
||||
# use: choose which method to generate the qrcode for each posts.
|
||||
# Available value of "use": plugin | online
|
||||
# - When use "plugin", you need to install the hexo-helper-qrcode.
|
||||
# - When use "online", the qrcode will be generated by 'pan.baidu.com' in China.
|
||||
qrcode:
|
||||
enable: true
|
||||
use: plugin
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Menu Settings
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# TOC Button
|
||||
|
||||
toc:
|
||||
# use: choose whether the line_number of toc will show or not.
|
||||
# Available value of "linenumber": true | false
|
||||
linenumber: true
|
||||
|
||||
# SNS Menu
|
||||
sns:
|
||||
email: 710328466@qq.com
|
||||
facebook: "https://www.facebook.com/facebook"
|
||||
twitter: "https://twitter.com/Rockhellbear"
|
||||
googleplus: "https://www.google.com/"
|
||||
weibo: 'http://weibo.com/5330486979/fans?topnav=1&wvr=6&mod=message&need_filter=1'
|
||||
instagram: 'https://www.instagram.com/jzxer'
|
||||
tumblr:
|
||||
github: 'https://github.com/j710328466'
|
||||
linkedin: 'http://www.linkedin.com/in/%E5%BF%97%E9%9B%84-%E6%B1%9F-338928105/'
|
||||
zhihu:
|
||||
bilibili: 'https://space.bilibili.com/73148384/#/'
|
||||
telegram:
|
||||
|
||||
# SNS Share Switch
|
||||
sns_share:
|
||||
twitter: true
|
||||
facebook: true
|
||||
googleplus: true
|
||||
weibo: true
|
||||
linkedin: true
|
||||
qq: true
|
||||
telegram: true
|
||||
|
||||
# Sidebar Customize
|
||||
sidebar:
|
||||
dropdown:
|
||||
Email Me:
|
||||
link: "710328466@qq.com"
|
||||
icon: email
|
||||
homepage:
|
||||
use: true
|
||||
icon: home
|
||||
divider: false
|
||||
archives:
|
||||
use: true
|
||||
icon: inbox
|
||||
divider: false
|
||||
categories:
|
||||
use: false
|
||||
icon: chrome_reader_mode
|
||||
divider: false
|
||||
pages:
|
||||
时间轴:
|
||||
link: "/timeline"
|
||||
icon: person
|
||||
divider: true
|
||||
标签:
|
||||
link: "/tags"
|
||||
icon: person
|
||||
divider: false
|
||||
图库:
|
||||
link: "/gallery"
|
||||
icon: person
|
||||
divider: false
|
||||
我的足迹:
|
||||
link: "/footprint"
|
||||
icon: person
|
||||
divider: true
|
||||
About:
|
||||
link: "/about"
|
||||
icon: person
|
||||
divider: false
|
||||
article_num:
|
||||
use: true
|
||||
divider: false
|
||||
footer:
|
||||
divider: true
|
||||
theme: false
|
||||
support: false
|
||||
feedback: false
|
||||
material: false
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Integrated Services
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
# MaterialCDN
|
||||
# When you set 'use' as true, the needed css, js, font file will have a new src.
|
||||
# The new src will have the base domain you configured in 'base'.
|
||||
materialcdn:
|
||||
use:
|
||||
base:
|
||||
|
||||
# Comment Systems
|
||||
# Available value of "use":
|
||||
# disqus | disqus_click | changyan | 163gentie
|
||||
comment:
|
||||
use: valine
|
||||
valine_leancloud_appId: ONAFtjxhaBqrA7LGAQFYsmUx-gzGzoHsz
|
||||
valine_leancloud_appKey: hUSwCACEEbPBcGUh42RMzy6P
|
||||
valine_notify: true
|
||||
valine_verify: true
|
||||
valine_placeholder: 说说你的感想~
|
||||
|
||||
# Search Systems
|
||||
# Available value:
|
||||
# swiftype | google | local
|
||||
search:
|
||||
use: local
|
||||
swiftype_key:
|
||||
|
||||
# Analytics Systems
|
||||
# Available value:
|
||||
# baidu | google | cnzz
|
||||
analytics:
|
||||
use:
|
||||
site_id:
|
||||
|
||||
# Leancloud Views
|
||||
leancloud:
|
||||
enable: true
|
||||
app_id: ONAFtjxhaBqrA7LGAQFYsmUx-gzGzoHsz
|
||||
app_key: hUSwCACEEbPBcGUh42RMzy6P
|
||||
av_core_mini: "https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"
|
||||
|
||||
# Busuanzi 不蒜子 Views
|
||||
busuanzi:
|
||||
enable: false
|
||||
all_site_uv: false
|
||||
post_pv: false
|
||||
busuanzi_pure_mini_js: "https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"
|
40
themes/material/contributing.json
Executable file
40
themes/material/contributing.json
Executable file
@ -0,0 +1,40 @@
|
||||
// https://gitmagic.io/rules
|
||||
{
|
||||
"commit": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_be_in_tense": "imperative",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
"subject_lines_must_be_shorter_than": 51,
|
||||
"subject_must_be_single_line": true,
|
||||
"subject_must_be_in_case": "lower",
|
||||
"subject_must_include_prefix": {
|
||||
"prefixes": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
|
||||
"require_after_prefix": "(*): "
|
||||
}
|
||||
},
|
||||
"pull_request": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_be_in_tense": "imperative",
|
||||
"subject_must_start_with_case": "lower",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
"subject_must_include_prefix": {
|
||||
"prefixes": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
|
||||
"require_after_prefix": "(*): "
|
||||
},
|
||||
"body_cannot_be_empty": true,
|
||||
"body_must_include_verification_steps": true
|
||||
},
|
||||
"issue": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_start_with_case": "upper",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
"body_cannot_be_empty": true,
|
||||
"body_must_include_reproduction_steps": ["bug"]
|
||||
},
|
||||
"branch": {
|
||||
"name_must_be_longer_than": 4,
|
||||
"name_must_include_prefix": {
|
||||
"prefixes": ["feat", "fix", "refactor", "chore"],
|
||||
"require_after_prefix": "/"
|
||||
}
|
||||
}
|
28
themes/material/languages/ar.yml
Executable file
28
themes/material/languages/ar.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "الرئيسية"
|
||||
archive: "أرشيف"
|
||||
article_num: "رقم المقالة"
|
||||
post:
|
||||
visitor: "زوار"
|
||||
views: "مشاهدات"
|
||||
continue: "واصل القراءة"
|
||||
older: "أقدم"
|
||||
newer: "أحدث"
|
||||
qrcode: "اقرأ هذا المقال على جهاز آخر"
|
||||
comments_load_button: "قراءة تعليقات 「تأكد !disq.us & disquscdn.com & disqus.com يمكن تحميل」"
|
||||
share:
|
||||
article_rss: "مقالات RSS"
|
||||
comment_rss: "تعليقات RSS"
|
||||
toTwitter: "شارك على Twitter"
|
||||
toFacebook: "شارك على Facebook"
|
||||
toLinkedIn: "شارك على LinkedIn"
|
||||
toTelegram: "شارك على Telegram"
|
||||
toGplus: "شارك على Google+"
|
||||
toWeibo: "شارك على Weibo"
|
||||
toQQ: "شارك على QQ"
|
||||
title:
|
||||
category: "فئة"
|
||||
tag: "وسم"
|
||||
misc:
|
||||
home: "رئيسية"
|
||||
theme: "سمة"
|
28
themes/material/languages/de.yml
Executable file
28
themes/material/languages/de.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "Home"
|
||||
archive: "Archive"
|
||||
article_num: "Artikel Nummer"
|
||||
post:
|
||||
visitor: "Besucher"
|
||||
views: "Aufrufe"
|
||||
continue: "Weiterlesen"
|
||||
older: "Älteren"
|
||||
newer: "Neuren"
|
||||
qrcode: "Lesen Sie diesen Artikel auf anderem Gerät"
|
||||
comments_load_button: "Lesen Sie Kommentare 「Stellen Sie sicher, dass 'disq.us & disquscdn.com & disqus.com' geladen werden kann 」"
|
||||
share:
|
||||
article_rss: "Artikel als RSS"
|
||||
comment_rss: "Kommentare als RSS"
|
||||
toTwitter: "Auf Twitter teilen"
|
||||
toFacebook: "Auf Facebook teilen"
|
||||
toLinkedIn: "Auf LinkedIn teilen"
|
||||
toTelegram: "Auf Telegram teilen"
|
||||
toGplus: "Auf Google+ teilen"
|
||||
toWeibo: "Auf Weibo teilen"
|
||||
toQQ: "Auf QQ teilen"
|
||||
title:
|
||||
category: "Kategorie"
|
||||
tag: "Tag"
|
||||
misc:
|
||||
home: "Home"
|
||||
theme: "Theme"
|
28
themes/material/languages/en.yml
Executable file
28
themes/material/languages/en.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "Home"
|
||||
archive: "Archives"
|
||||
article_num: "Number of articles"
|
||||
post:
|
||||
visitor: "Visitors"
|
||||
views: "Views"
|
||||
continue: "Read more"
|
||||
older: "Older"
|
||||
newer: "Newer"
|
||||
qrcode: "Read this article on other devices"
|
||||
comments_load_button: "Read Comments (Make sure disq.us, disquscdn.com and disqus.com can load properly)"
|
||||
share:
|
||||
article_rss: "Article RSS"
|
||||
comment_rss: "Comment RSS"
|
||||
toTwitter: "Share to Twitter"
|
||||
toFacebook: "Share to Facebook"
|
||||
toLinkedIn: "Share to LinkedIn"
|
||||
toTelegram: "Share to Telegram"
|
||||
toGplus: "Share to Google+"
|
||||
toWeibo: "Share to Weibo"
|
||||
toQQ: "Share to QQ"
|
||||
title:
|
||||
category: "Categories"
|
||||
tag: "Tag"
|
||||
misc:
|
||||
home: "Home"
|
||||
theme: "Theme"
|
28
themes/material/languages/es.yml
Executable file
28
themes/material/languages/es.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "Casa"
|
||||
archive: "Archivo"
|
||||
article_num: "Número de artículo"
|
||||
post:
|
||||
visitor: "Visitantes"
|
||||
views: "Vista"
|
||||
continue: "Sigue leyendo"
|
||||
older: "Mayor"
|
||||
newer: "Más nuevo"
|
||||
qrcode: "Lea este artículo en otro dispositivo"
|
||||
comments_load_button: "Leer comentarios 「Asegúrese de que 'disq.us & disquscdn.com & disqus.com' se puede cargar」"
|
||||
share:
|
||||
article_rss: "Artículo RSS"
|
||||
comment_rss: "Comentario RSS"
|
||||
toTwitter: "Compartir en Twitter"
|
||||
toFacebook: "Compartir en Facebook"
|
||||
toLinkedIn: "Compartir en LinkedIn"
|
||||
toTelegram: "Compartir en Telegram"
|
||||
toGplus: "Compartir en Google+"
|
||||
toWeibo: "Compartir en Weibo"
|
||||
toQQ: "Compartir en QQ"
|
||||
title:
|
||||
category: "Categoría"
|
||||
tag: "Etiqueta"
|
||||
misc:
|
||||
home: "Casa"
|
||||
theme: "tema"
|
28
themes/material/languages/fr.yml
Executable file
28
themes/material/languages/fr.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "Accueil"
|
||||
archive: "Archives"
|
||||
article_num: "Nombre d'articles"
|
||||
post:
|
||||
visitor: "Visiteurs"
|
||||
views: "Vues"
|
||||
continue: "Continuer la lecture"
|
||||
older: "Ancien"
|
||||
newer: "Récent"
|
||||
qrcode: "Lire cet article depuis un autre appareil"
|
||||
comments_load_button: "Lire les commentaires (Assurez-vous que disq.us, disquscdn.com et disqus.com peuvent être chargés)"
|
||||
share:
|
||||
article_rss: "Flux RSS des articles"
|
||||
comment_rss: "Flux RSS des commentaires"
|
||||
toTwitter: "Partager sur Twitter"
|
||||
toFacebook: "Partager sur Facebook"
|
||||
toLinkedIn: "Partager sur LinkedIn"
|
||||
toTelegram: "Partager sur Telegram"
|
||||
toGplus: "Partager sur Google+"
|
||||
toWeibo: "Partager sur Weibo"
|
||||
toQQ: "Partager sur QQ"
|
||||
title:
|
||||
category: "Catégorie"
|
||||
tag: "Libellé"
|
||||
misc:
|
||||
home: "Accueil"
|
||||
theme: "Thème"
|
28
themes/material/languages/ja.yml
Executable file
28
themes/material/languages/ja.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "ホーム"
|
||||
archive: "過去の投稿"
|
||||
article_num: "記事番号"
|
||||
post:
|
||||
visitor: "訪問者"
|
||||
views: "ビュー"
|
||||
continue: "読み続けて"
|
||||
older: "古い"
|
||||
newer: "新しい"
|
||||
qrcode: "他のデバイスでこの記事を読む"
|
||||
comments_load_button: "論評を読む「 あなたは disqus & disquscdn.com & disqus.com をロードできることを確認します」"
|
||||
share:
|
||||
article_rss: "記事 RSS"
|
||||
comment_rss: "論評 RSS"
|
||||
toTwitter: "Twitter での共有"
|
||||
toFacebook: "Share to Facebook"
|
||||
toLinkedIn: "LinkedIn での共有"
|
||||
toTelegram: "Telegram での共有"
|
||||
toGplus: "Google+ での共有"
|
||||
toWeibo: "Weibo での共有"
|
||||
toQQ: "Share to QQ"
|
||||
title:
|
||||
category: "カテゴリー"
|
||||
tag: "ラベル"
|
||||
misc:
|
||||
home: "ホーム"
|
||||
theme: "テーマ"
|
28
themes/material/languages/ms.yml
Executable file
28
themes/material/languages/ms.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "Laman"
|
||||
archive: "Arkib"
|
||||
article_num: "Bilangan Artikel"
|
||||
post:
|
||||
visitor: "Pelawat"
|
||||
views: "Paparan"
|
||||
continue: "Teruskan Membaca"
|
||||
older: "Lama"
|
||||
newer: "Baru"
|
||||
qrcode: "Baca artikel ini pada peranti lain"
|
||||
comments_load_button: "Read comments 「Pastikan 'disq.us & disquscdn.com & disqus.com' boleh dimuatkan」"
|
||||
share:
|
||||
article_rss: "RSS Artikel"
|
||||
comment_rss: "RSS Ulasan"
|
||||
toTwitter: "Kongsi ke Twitter"
|
||||
toFacebook: "Kongsi ke Facebook"
|
||||
toLinkedIn: "Kongsi ke LinkedIn"
|
||||
toTelegram: "Kongsi ke Telegram"
|
||||
toGplus: "Kongsi ke Google+"
|
||||
toWeibo: "Kongsi ke Weibo"
|
||||
toQQ: "Kongsi ke QQ"
|
||||
title:
|
||||
category: "Kategori"
|
||||
tag: "Tag"
|
||||
misc:
|
||||
home: "Laman"
|
||||
theme: "Tema"
|
27
themes/material/languages/pt-BR.yml
Executable file
27
themes/material/languages/pt-BR.yml
Executable file
@ -0,0 +1,27 @@
|
||||
sidebar:
|
||||
homepage: "Home"
|
||||
archive: "Arquivos"
|
||||
article_num: "Número de Artigos"
|
||||
post:
|
||||
visitor: "Visitantes"
|
||||
views: "Visualizações"
|
||||
continue: "Continue lendo"
|
||||
older: "Anteriores"
|
||||
newer: "Recentes"
|
||||
qrcode: "Veja este artigo em outro dispositivo"
|
||||
share:
|
||||
article_rss: "Artigos RSS"
|
||||
comment_rss: "Comentários RSS"
|
||||
toTwitter: "Compartilhar no Twitter"
|
||||
toFacebook: "Compartilhar no Facebook"
|
||||
toLinkedIn: "Compartilhar no LinkedIn"
|
||||
toTelegram: "Compartilhar no Telegram"
|
||||
toGplus: "Compartilhar no Google+"
|
||||
toWeibo: "Compartilhar no Weibo"
|
||||
toQQ: "Compartilhar no QQ"
|
||||
title:
|
||||
category: "Categorias"
|
||||
tag: "Marcadores"
|
||||
misc:
|
||||
home: "Home"
|
||||
theme: "Tema"
|
30
themes/material/languages/zh-CN.yml
Executable file
30
themes/material/languages/zh-CN.yml
Executable file
@ -0,0 +1,30 @@
|
||||
sidebar:
|
||||
homepage: "主页"
|
||||
archive: "归档"
|
||||
article_num: "文章总数"
|
||||
post:
|
||||
visitor: "访客"
|
||||
views: "浏览量"
|
||||
continue: "阅读全文"
|
||||
older: "旧篇"
|
||||
newer: "新篇"
|
||||
qrcode: "在其它设备中阅读本文章"
|
||||
comments_load_button: "阅读评论(请确保 disqus 可以正常加载)"
|
||||
comments_fully_load_button: "加载完整评论(请确保 disqus 可以正常加载)"
|
||||
comments_proxy_load_button: "加载评论基本模式"
|
||||
share:
|
||||
article_rss: "文章 RSS"
|
||||
comment_rss: "评论 RSS"
|
||||
toTwitter: "分享到 Twitter"
|
||||
toFacebook: "分享到 Facebook"
|
||||
toLinkedIn: "分享到 LinkedIn"
|
||||
toTelegram: "分享到 Telegram"
|
||||
toGplus: "分享到 Google+"
|
||||
toWeibo: "分享到微博"
|
||||
toQQ: "分享到 QQ"
|
||||
title:
|
||||
category: "分类"
|
||||
tag: "标签"
|
||||
misc:
|
||||
home: "主页"
|
||||
theme: "主题"
|
28
themes/material/languages/zh-TW.yml
Executable file
28
themes/material/languages/zh-TW.yml
Executable file
@ -0,0 +1,28 @@
|
||||
sidebar:
|
||||
homepage: "首頁"
|
||||
archive: "過往"
|
||||
article_num: "文章總數"
|
||||
post:
|
||||
visitor: "訪客"
|
||||
views: "瀏覽量"
|
||||
continue: "繼續閱讀"
|
||||
older: "舊篇"
|
||||
newer: "新篇"
|
||||
qrcode: "在其他設備中閱讀本文章"
|
||||
comments_load_button: "閱讀評論 「請確認 disq.us & disquscdn.com & disqus.com 可正常載入」"
|
||||
share:
|
||||
article_rss: "文章 RSS"
|
||||
comment_rss: "評論 RSS"
|
||||
toTwitter: "分享到 Twitter"
|
||||
toFacebook: "分享到 Facebook"
|
||||
toLinkedIn: "分享到 LinkedIn"
|
||||
toTelegram: "分享到 Telegram"
|
||||
toGplus: "分享到 Google+"
|
||||
toWeibo: "分享到微博"
|
||||
toQQ: "分享到 QQ"
|
||||
title:
|
||||
category: "分類"
|
||||
tag: "標籤"
|
||||
misc:
|
||||
home: "主頁"
|
||||
theme: "主題"
|
0
themes/material/layout/_partial/Isolation-post-info.ejs
Executable file
0
themes/material/layout/_partial/Isolation-post-info.ejs
Executable file
77
themes/material/layout/_partial/Isolation-post_entry.ejs
Executable file
77
themes/material/layout/_partial/Isolation-post_entry.ejs
Executable file
@ -0,0 +1,77 @@
|
||||
<div class="post_entry-module mdl-card <% if(theme.card_elevation) { %><%= 'mdl-shadow--' + theme.card_elevation + 'dp' %><% } %> mdl-cell mdl-cell--12-col fade out">
|
||||
<!-- Post_entry Header -->
|
||||
<% if(!post.thumbnail) { %>
|
||||
<!-- Post Header Info -->
|
||||
<div class="post_entry-header_info without-thumbnail">
|
||||
<!-- Author Avatar & Name -->
|
||||
<img src="<%= theme.img.avatar %>" class="avatar-img" width="44px" height="44px" alt="<%= config.author %>'s avatar">
|
||||
<span class="name-span"><%= config.author %></span>
|
||||
</div>
|
||||
|
||||
<!-- Null Thumbnail -->
|
||||
<div class="post_thumbnail-null">
|
||||
<% } else { %>
|
||||
<!-- Post Header Info -->
|
||||
<div class="post_entry-header_info with-thumbnail">
|
||||
<!-- Author Avatar & Name -->
|
||||
<img src="<%= theme.img.avatar %>" class="avatar-img" width="44px" height="44px" alt="<%= config.author %>'s avatar">
|
||||
<span class="name-span"><%= config.author %></span>
|
||||
</div>
|
||||
|
||||
<!-- Custom thumbnail -->
|
||||
<div class="post_thumbnail-custom">
|
||||
<img src="<%= post.thumbnail %>">
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<!-- Post_entry Content -->
|
||||
<div class="post_entry-content mdl-color-text--grey-600 mdl-card__supporting-text">
|
||||
<!-- Post Title -->
|
||||
<p class="post_entry-title">
|
||||
<a href="<%= url_for(post.path) %>"><% if(pin) { %><span>[Top]</span><% } %><%= post.title %></a>
|
||||
</p>
|
||||
|
||||
<!-- Post Excerpt -->
|
||||
<p class="post_entry-excerpt">
|
||||
<%if(post.excerpt) {%>
|
||||
<%- strip_html(post.excerpt) %>
|
||||
<%}else{%>
|
||||
<%- strip_html(truncate(post.content,{length: theme.reading.entry_excerpt })) %>
|
||||
<%}%>
|
||||
|
||||
<span>
|
||||
<a href="<%= url_for(post.path) %>" target="_self"><%= __('post.continue') %></a>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<!-- Post Tags -->
|
||||
<%- list_tags(post.tags, {
|
||||
show_count: false,
|
||||
class: 'post_entry-tags',
|
||||
style: 'list',
|
||||
separator: ''
|
||||
}) %>
|
||||
</div>
|
||||
|
||||
<!-- Post_entry Footer -->
|
||||
<div class="post_entry-footer">
|
||||
<div class="post_entry-footer-border"></div>
|
||||
<div class="post_entry-footer-info">
|
||||
<div class="post_entry-footer-date">
|
||||
<%= date(post.date, 'MMM DD, YYYY') %>
|
||||
</div>
|
||||
<div class="post_entry-footer-comment">
|
||||
<% if(theme.comment.use === 'duoshuo') { %>
|
||||
<!-- Comment Number -->
|
||||
<span class="ds-thread-count" data-thread-key="<% theme.comment.duoshuo_thread_key_type === 'id' ? page.id : page.path %>" data-count-type="comments"></span>
|
||||
<% } %>
|
||||
<% if(theme.comment.use === 'changyan') { %>
|
||||
<!-- Comment Number -->
|
||||
<span class="post_entry-comment" >
|
||||
<span id = "sourceId::<%= theme.comment.changyan_thread_key_type === 'id' ? page.id : page.path %>" class = "cy_cmt_count" ></span>条评论
|
||||
</span>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
47
themes/material/layout/_partial/Paradox-post-info.ejs
Executable file
47
themes/material/layout/_partial/Paradox-post-info.ejs
Executable file
@ -0,0 +1,47 @@
|
||||
<div class="mdl-color-text--grey-700 mdl-card__supporting-text meta">
|
||||
|
||||
<!-- Author Avatar -->
|
||||
<div id="author-avatar">
|
||||
<img src="<%- theme.img.avatar %>" width="44px" height="44px" alt="Author Avatar"/>
|
||||
</div>
|
||||
<!-- Author Name & Date -->
|
||||
<div>
|
||||
<strong><%= config.author %></strong>
|
||||
<span><%= date(page.date, 'MMM DD, YYYY') %></span>
|
||||
</div>
|
||||
|
||||
<div class="section-spacer"></div>
|
||||
|
||||
<!-- Favorite -->
|
||||
<!--
|
||||
<button id="article-functions-like-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon btn-like">
|
||||
<i class="material-icons" role="presentation">favorite</i>
|
||||
<span class="visuallyhidden">favorites</span>
|
||||
</button>
|
||||
-->
|
||||
|
||||
<!-- Qrcode -->
|
||||
<% if(theme.qrcode.enable === true) { %>
|
||||
<%- partial('_widget/qrcode') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Tags (bookmark) -->
|
||||
<% if(page.notag !== true) { %>
|
||||
<button id="article-functions-viewtags-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
||||
<i class="material-icons" role="presentation">bookmark</i>
|
||||
<span class="visuallyhidden">bookmark</span>
|
||||
</button>
|
||||
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="article-functions-viewtags-button">
|
||||
<li class="mdl-menu__item">
|
||||
<%- list_tags(page.tags, {
|
||||
show_count: false,
|
||||
class: 'post_tag',
|
||||
style: 'none',
|
||||
separator: '</li><li class="mdl-menu__item">'
|
||||
}) %>
|
||||
</ul>
|
||||
<% } %>
|
||||
|
||||
<!-- Share -->
|
||||
<%- partial('_partial/post-info-share') %>
|
||||
</div>
|
6
themes/material/layout/_partial/Paradox-post-thumbnail.ejs
Executable file
6
themes/material/layout/_partial/Paradox-post-thumbnail.ejs
Executable file
@ -0,0 +1,6 @@
|
||||
<script type="text/ls-javascript" id="post-thumbnail-script">
|
||||
var randomNum = Math.floor(Math.random() * <%= theme.thumbnail.random_amount %> + 1);
|
||||
|
||||
$('.post_thumbnail-random').attr('data-original', '<%= theme.img.random_thumbnail %>' + randomNum + '.png');
|
||||
$('.post_thumbnail-random').addClass('lazy');
|
||||
</script>
|
14
themes/material/layout/_partial/Paradox-post_entry-thumbnail.ejs
Executable file
14
themes/material/layout/_partial/Paradox-post_entry-thumbnail.ejs
Executable file
@ -0,0 +1,14 @@
|
||||
<script type="text/ls-javascript" id="thumbnail-script">
|
||||
var randomNum;
|
||||
|
||||
var locatePost = $('.locate-thumbnail-symbol').next();
|
||||
for(var i = 0; i < <%= config.per_page %>; i++) {
|
||||
randomNum = Math.floor(Math.random() * <%= theme.thumbnail.random_amount %> + 1);
|
||||
|
||||
locatePost.children('.post_thumbnail-random').attr('id', 'random_thumbnail-'+randomNum);
|
||||
locatePost.children('.post_thumbnail-random').attr('data-original', '<%= theme.img.random_thumbnail %>' + randomNum + '.png');
|
||||
$('.post_thumbnail-random').addClass('lazy');
|
||||
|
||||
locatePost = locatePost.next();
|
||||
}
|
||||
</script>
|
75
themes/material/layout/_partial/Paradox-post_entry.ejs
Executable file
75
themes/material/layout/_partial/Paradox-post_entry.ejs
Executable file
@ -0,0 +1,75 @@
|
||||
<div class="post_entry-module mdl-card <% if(theme.card_elevation) { %><%= 'mdl-shadow--' + theme.card_elevation + 'dp' %><% } %> mdl-cell mdl-cell--12-col fade out">
|
||||
<!-- Post Thumbnail -->
|
||||
<% if(!post.thumbnail) { %>
|
||||
<% if(!theme.thumbnail.purecolor) { %>
|
||||
<!-- Random Thumbnail -->
|
||||
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
|
||||
<% } else { %>
|
||||
<!-- Pure Thumbnail -->
|
||||
<div class="post-thumbnail-pure mdl-card__media mdl-color-text--grey-50" style="background-color:<%= theme.thumbnail.purecolor %> !important">
|
||||
<% } %>
|
||||
<% } else { %>
|
||||
<!-- Custom Thumbnail -->
|
||||
<div class="post_thumbnail-custom mdl-card__media mdl-color-text--grey-50 lazy" data-original="<%= post.thumbnail %>">
|
||||
<% } %>
|
||||
|
||||
<!-- Post Title -->
|
||||
<p class="article-headline-p"><a href="<%= url_for(post.path) %>"><% if(pin) { %><span>[Top]</span><% } %><%= post.title %></a></p>
|
||||
</div>
|
||||
|
||||
<!-- Post Excerpt -->
|
||||
<div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content">
|
||||
<%if(post.excerpt) {%>
|
||||
<%- strip_html(post.excerpt) %>
|
||||
<%}else{%>
|
||||
<%- strip_html(truncate(post.content,{length: theme.reading.entry_excerpt })) %>
|
||||
<%}%>
|
||||
|
||||
<span>
|
||||
<a href="<%= url_for(post.path) %>" target="_self"><%= __('post.continue') %></a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- Post_entry Info-->
|
||||
<div id="post_entry-info">
|
||||
<div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600 ">
|
||||
<!-- Author Avatar -->
|
||||
<div id="author-avatar">
|
||||
<img src="<%= theme.img.avatar %>" width="44px" height="44px" alt="<%= config.author %>'s avatar">
|
||||
</div>
|
||||
<div>
|
||||
<strong><%= config.author %></strong>
|
||||
<span><%= date(post.date, 'MMM DD, YYYY') %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="post_entry-right-info">
|
||||
<!-- Category -->
|
||||
<span class="post_entry-category">
|
||||
<%- list_categories(post.categories, {
|
||||
show_count: false,
|
||||
class: 'post_category',
|
||||
style: 'none'
|
||||
}) %>
|
||||
</span>
|
||||
|
||||
<% if(theme.comment.use === 'duoshuo') { %>
|
||||
<!-- Comment Number -->
|
||||
|
|
||||
<span class="post_entry-comment" >
|
||||
<span class="ds-thread-count" data-thread-key="<%= theme.comment.duoshuo_thread_key_type === 'id' ? post.id : post.path %>" data-count-type="comments"></span>
|
||||
</span>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.comment.use === 'changyan') { %>
|
||||
<!-- Comment Number -->
|
||||
|
|
||||
<span class="post_entry-comment" >
|
||||
<span id = "sourceId::<%= theme.comment.changyan_thread_key_type === 'id' ? post.id : post.path %>" class = "cy_cmt_count" ></span>条评论
|
||||
</span>
|
||||
<% } %>
|
||||
|
||||
<!-- Post Views -->
|
||||
<span class="post_entry-views">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
44
themes/material/layout/_partial/Paradox-search.ejs
Executable file
44
themes/material/layout/_partial/Paradox-search.ejs
Executable file
@ -0,0 +1,44 @@
|
||||
<% if( theme.search.use === 'google' ) { %>
|
||||
<!-- Google -->
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" method="post" action="">
|
||||
<label id="search-label" class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent mdl-shadow--4dp" for="search">
|
||||
<i class="material-icons mdl-color-text--white" role="presentation">search</i>
|
||||
</label>
|
||||
|
||||
<form autocomplete="off" id="search-form" method="get" action="//google.com/search" accept-charset="UTF-8" class="mdl-textfield__expandable-holder" target="_blank">
|
||||
<input class="mdl-textfield__input search-input" type="search" name="q" id="search" placeholder="">
|
||||
<label id="search-form-label" class="mdl-textfield__label" for="search"></label>
|
||||
|
||||
<input type="hidden" name="sitesearch" value="<%= config.url %>">
|
||||
</form>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if( theme.search.use === 'swiftype' ) { %>
|
||||
<!-- Swiftype -->
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" method="post" action="">
|
||||
<label id="search-label" class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent mdl-shadow--4dp" for="search">
|
||||
<i class="material-icons mdl-color-text--white" role="presentation">search</i>
|
||||
</label>
|
||||
|
||||
<form autocomplete="off" id="search-form" class="mdl-textfield__expandable-holder" action="">
|
||||
<input class="mdl-textfield__input search-input st-default-search-input" type="text" name="q" id="search">
|
||||
<label id="search-form-label" class="mdl-textfield__label" for="search"></label>
|
||||
</form>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if( theme.search.use === 'local' ) { %>
|
||||
<!-- Local -->
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" method="post" action="">
|
||||
<label id="search-label" class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent mdl-shadow--4dp" for="search">
|
||||
<i class="material-icons mdl-color-text--white" role="presentation">search</i>
|
||||
</label>
|
||||
|
||||
<form autocomplete="off" id="search-form" class="mdl-textfield__expandable-holder">
|
||||
<input type="text" id="search" class="form-control mdl-textfield__input search-input" name="q" results="0" placeholder=""/>
|
||||
<label id="search-form-label" class="mdl-textfield__label" for="search"></label>
|
||||
</form>
|
||||
</div>
|
||||
<div id="local-search-result"></div>
|
||||
<% } %>
|
119
themes/material/layout/_partial/blog_info.ejs
Executable file
119
themes/material/layout/_partial/blog_info.ejs
Executable file
@ -0,0 +1,119 @@
|
||||
<!-- Blog info -->
|
||||
<div class="mdl-card <% if(theme.card_elevation) { %><%= 'mdl-shadow--' + theme.card_elevation + 'dp' %><% } %> something-else mdl-cell mdl-cell--8-col mdl-cell--4-col-desktop index-top-block">
|
||||
|
||||
<!-- Search -->
|
||||
<%- partial('_partial/Paradox-search') %>
|
||||
|
||||
<!-- LOGO -->
|
||||
<div class="something-else-logo mdl-color--white mdl-color-text--grey-600">
|
||||
<a href="<%= theme.url.logo || '#' %>" target="_blank">
|
||||
<img src="<%= theme.img.logo %>" alt="logo" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Infomation -->
|
||||
<div class="mdl-card__supporting-text meta meta--fill mdl-color-text--grey-600">
|
||||
<!-- Blog Title -->
|
||||
<div>
|
||||
<strong><%= config.title %></strong>
|
||||
</div>
|
||||
<div class="section-spacer"></div>
|
||||
|
||||
<!-- Pages -->
|
||||
<button id="show-pages-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
||||
<i class="material-icons" role="presentation">view_carousel</i>
|
||||
<span class="visuallyhidden">Pages</span>
|
||||
</button>
|
||||
<ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="show-pages-button">
|
||||
<% for (var i in theme.sidebar.pages) { %>
|
||||
<a class="index_share-link" href="<%= theme.sidebar.pages[i].link || '#' %>" title="<%= i %>">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= i %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
</ul>
|
||||
|
||||
<!-- Menu -->
|
||||
<button id="menubtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
||||
<i class="material-icons" role="presentation">more_vert</i>
|
||||
<span class="visuallyhidden">show menu</span>
|
||||
</button>
|
||||
<ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="menubtn">
|
||||
<% if(theme.busuanzi.all_site_uv === true) { %>
|
||||
<!-- All Site UV -->
|
||||
<a class="index_share-link" href="#">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<span id="busuanzi_container_site_uv">
|
||||
<span id="busuanzi_value_site_uv"></span> <%= __('post.views') %>
|
||||
</span>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.url.rss) { %>
|
||||
<a class="index_share-link" href="<%= theme.url.rss || '#' %>">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.article_rss') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.weibo === true) { %>
|
||||
<a class="index_share-link" href="http://service.weibo.com/share/share.php?appkey=&title=<%= config.title %>&url=<%- config.url + config.root %>&pic=&searchPic=false&style=simple" target="_blank">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.toWeibo') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.twitter === true) { %>
|
||||
<a class="index_share-link" href="https://twitter.com/intent/tweet?text=<%= config.title %>&url=<%- config.url + config.root %>&via=<%= config.author %>" target="_blank">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.toTwitter') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.facebook === true) { %>
|
||||
<a class="index_share-link" href="https://www.facebook.com/sharer/sharer.php?u=<%= config.url + url_for(path) %>" target="_blank">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.toFacebook') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.googleplus === true) { %>
|
||||
<a class="index_share-link" href="https://plus.google.com/share?url=<%- config.url + config.root %>" target="_blank">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.toGplus') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.linkedin === true) { %>
|
||||
<a class="index_share-link" href="https://www.linkedin.com/shareArticle?mini=true&url=<%- config.url + config.root %>&title=<%= config.title %>" target="_blank">
|
||||
<li class="mdl-menu__item mdl-js-ripple-effect">
|
||||
<%= __('share.toLinkedIn') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.qq === true) { %>
|
||||
<a class="post_share-link" href="http://connect.qq.com/widget/shareqq/index.html?site=<%= config.title %>&title=<%= config.title %>&summary=<%= config.description %>&pics=<%- config.url + theme.head.favicon %>&url=<%- config.url + config.root %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toQQ') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.sns_share.telegram === true) { %>
|
||||
<a class="post_share-link" href="https://telegram.me/share/url?url=<%- config.url + config.root %>&text=<%= config.title %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toTelegram') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
3
themes/material/layout/_partial/comment.ejs
Executable file
3
themes/material/layout/_partial/comment.ejs
Executable file
@ -0,0 +1,3 @@
|
||||
<% if(theme.comment.use) { %>
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/enter') %>
|
||||
<% } %>
|
121
themes/material/layout/_partial/config_css.ejs
Executable file
121
themes/material/layout/_partial/config_css.ejs
Executable file
@ -0,0 +1,121 @@
|
||||
<!-- Config CSS -->
|
||||
|
||||
<!-- Other Styles -->
|
||||
<style>
|
||||
body, html {
|
||||
font-family: <%- theme.fonts.family %>;
|
||||
}
|
||||
|
||||
a {
|
||||
color: <%= theme.uiux.hyperlink_color %>;
|
||||
}
|
||||
|
||||
.mdl-card__media,
|
||||
#search-label,
|
||||
#search-form-label:after,
|
||||
#scheme-Paradox .hot_tags-count,
|
||||
#scheme-Paradox .sidebar_archives-count,
|
||||
#scheme-Paradox .sidebar-colored .sidebar-header,
|
||||
#scheme-Paradox .sidebar-colored .sidebar-badge{
|
||||
background-color: <%= theme.uiux.theme_color %> !important;
|
||||
}
|
||||
|
||||
/* Sidebar User Drop Down Menu Text Color */
|
||||
#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:hover,
|
||||
#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:focus {
|
||||
color: <%= theme.uiux.theme_color %> !important;
|
||||
}
|
||||
|
||||
#post_entry-right-info,
|
||||
.sidebar-colored .sidebar-nav li:hover > a,
|
||||
.sidebar-colored .sidebar-nav li:hover > a i,
|
||||
.sidebar-colored .sidebar-nav li > a:hover,
|
||||
.sidebar-colored .sidebar-nav li > a:hover i,
|
||||
.sidebar-colored .sidebar-nav li > a:focus i,
|
||||
.sidebar-colored .sidebar-nav > .open > a,
|
||||
.sidebar-colored .sidebar-nav > .open > a:hover,
|
||||
.sidebar-colored .sidebar-nav > .open > a:focus,
|
||||
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a {
|
||||
color: <%= theme.uiux.theme_color %> !important;
|
||||
}
|
||||
|
||||
.toTop {
|
||||
background: <%= theme.uiux.button_color %> !important;
|
||||
}
|
||||
|
||||
.material-layout .material-post>.material-nav,
|
||||
.material-layout .material-index>.material-nav,
|
||||
.material-nav a {
|
||||
color: <%= theme.uiux.button_color %>;
|
||||
}
|
||||
|
||||
#scheme-Paradox .MD-burger-layer {
|
||||
background-color: <%= theme.uiux.button_color %>;
|
||||
}
|
||||
|
||||
#scheme-Paradox #post-toc-trigger-btn {
|
||||
color: <%= theme.uiux.button_color %>;
|
||||
}
|
||||
|
||||
.post-toc a:hover {
|
||||
color: <%= theme.uiux.hyperlink_color %>;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Theme Background Related-->
|
||||
<% if(theme.background.bing.enable === true) { %>
|
||||
<style>
|
||||
body {
|
||||
background-color: <%= theme.background.purecolor %>;
|
||||
}
|
||||
|
||||
/* blog_info bottom background */
|
||||
#scheme-Paradox .material-layout .something-else .mdl-card__supporting-text {
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
<% } else if(!theme.background.bgimg) { %>
|
||||
<style>
|
||||
body{
|
||||
background-color: <%= theme.background.purecolor %>;
|
||||
}
|
||||
|
||||
/* blog_info bottom background */
|
||||
#scheme-Paradox .material-layout .something-else .mdl-card__supporting-text{
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
<% } else { %>
|
||||
<style>
|
||||
body{
|
||||
background-image: url(<%= theme.background.bgimg %>);
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
<!-- Fade Effect -->
|
||||
<% if(theme.js_effect.fade === true) { %>
|
||||
<style>
|
||||
.fade {
|
||||
transition: all <%= theme.uiux.nprogress_buffer %>ms linear;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
-moz-transform: translate3d(0,0,0);
|
||||
-ms-transform: translate3d(0,0,0);
|
||||
-o-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.fade.out{
|
||||
opacity: 0;
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
|
||||
<!-- Import Font -->
|
||||
<%- partial('_partial/config_font') %>
|
44
themes/material/layout/_partial/config_font.ejs
Executable file
44
themes/material/layout/_partial/config_font.ejs
Executable file
@ -0,0 +1,44 @@
|
||||
<% if(theme.fonts.use === "google") { %>
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">
|
||||
<% } else if(theme.fonts.use === "ustc") { %>
|
||||
<link href="https://fonts.proxy.ustclug.org/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
<link href="https://fonts.proxy.ustclug.org/icon?family=Material+Icons"rel="stylesheet">
|
||||
<% } else if(theme.fonts.use === "custom") { %>
|
||||
<link href="<%= theme.fonts.custom_font_host %>/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
<link href="<%= theme.fonts.custom_font_host %>/icon?family=Material+Icons"rel="stylesheet">
|
||||
<% } else if(theme.fonts.use === "baomitu") { %>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.eot);
|
||||
src: local('Roboto'),local('Roboto-Normal'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.eot?#iefix) format('embedded-opentype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.woff2) format('woff2'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.woff) format('woff'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.ttf) format('truetype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-300.svg#Roboto) format('svg')
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: regular;
|
||||
src: url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.eot);
|
||||
src: local('Roboto'),local('Roboto-Normal'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.eot?#iefix) format('embedded-opentype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.woff2) format('woff2'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.woff) format('woff'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.ttf) format('truetype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-regular.svg#Roboto) format('svg')
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Roboto;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.eot);
|
||||
src: local('Roboto'),local('Roboto-Normal'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.eot?#iefix) format('embedded-opentype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.woff2) format('woff2'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.woff) format('woff'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.ttf) format('truetype'),url(https://lib.baomitu.com/fonts/roboto/roboto-v15-latin-500.svg#Roboto) format('svg')
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://lib.baomitu.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.eot);
|
||||
src: url(https://lib.baomitu.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff2) format('woff2'),url(https://lib.baomitu.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff) format('woff'),url(https://lib.baomitu.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.ttf) format('truetype')
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
57
themes/material/layout/_partial/config_footer.ejs
Executable file
57
themes/material/layout/_partial/config_footer.ejs
Executable file
@ -0,0 +1,57 @@
|
||||
<style>
|
||||
<% if(theme.sns.facebook) { %>
|
||||
.footer-sns-facebook {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzguNiA3OGMtMjIuNCA1LjItNTUuOCA0MC4yLTYwLjYgNjMuNC0xLjQgNi40LTIgMTI5LjgtMS42IDM2Ny42LjYgMjk4LjYgMSAzNTguOCAzLjQgMzYzIDExIDI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uMi01NyAzLjQtNjEuNiAyLjgtMy42IDYtNCAzNy44LTUgMzMtMSAzNS4yLTEuMiAzOS40LTUuNiA0LjYtNC40IDQuNi01LjIgNS44LTcxIDEuMi03My40LjItNjcuMiAxNi42LTk5LjQgOC0xNS44IDEyLjgtMjIgMjgtMzcgMTUuMi0xNS4yIDIxLjQtMTkuNiAzOC4yLTI4IDExLTUuNCAyNC0xMSAyOS0xMi4yIDYuMi0xLjggMjguNi0yLjYgNzEuMi0yLjYgNTguNi0uMiA2Mi42IDAgNjcgMy42eiIvPjwvc3ZnPg==);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.twitter) { %>
|
||||
.footer-sns-twitter {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzguNiA3OGMtMjIuNCA1LjItNTUuOCA0MC4yLTYwLjYgNjMuNC0xLjQgNi40LTIgMTI5LjgtMS42IDM2Ny42LjYgMjk4LjYgMSAzNTguOCAzLjQgMzYzIDExIDIwLjIgMjEuNiAzMi40IDM3LjIgNDMgMTUgMTAuMiAxNy40IDExLjIgMzMgMTMgMTEuMiAxLjQgMTM2IDIgMzY1IDEuNiAzMTQtLjYgMzQ4LjYtMSAzNTUtMy44IDE1LjgtNy4yIDMzLjgtMjIgNDMuMi0zNS40IDUuMi03LjQgMTAuOC0xNi42IDEyLjYtMjAuNCAyLjgtNi40IDMuMi00MC44IDMuOC0zNTQgLjQtMjIzLS4yLTM1My40LTEuNC0zNjUtMi0xNy0yLjYtMTguNi0xMy0zNC04LjYtMTIuNi0xNC4yLTE4LjQtMjUuMi0yNS44LTcuOC01LjQtMTcuNC0xMS0yMS42LTEyLjQtNi0yLjItNzIuOC0yLjYtMzY1LjQtMi42LTE5Ni44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tMTMuMi0yNS44LTEzLjItNTUuMiAwLTI4LjggMi42LTM3LjggMTItNDAuMiA5LTIuMiAxNC44IDEgMzUuNiAyMC4yIDI0LjggMjIuOCA0My42IDM2LjYgNjIuOCA0NS44IDggMy44IDE3LjggOS4yIDIyIDEyIDQuMiAyLjggMTQuOCA3IDIzLjQgOS4yIDguNiAyLjIgMjQuMiA2LjggMzQuOCAxMC4yIDEzLjQgNC40IDIzLjYgNi40IDMzIDYuNiAxMi44LjIgMTQuMi0uMiAxOC42LTUuNCA0LTQuOCA0LjgtNy44IDQuOC0xOS4yIDAtMTQuNCA1LjYtMzkuNiAxMS4yLTUwLjYgNC4yLTguNCAyOS4yLTM0LjIgMzkuOC00MS40IDcuOC01LjQgMzUuNi0xNiA1Mi0yMCAxNC4yLTMuNiAzMi42LTEuMiA1Mi40IDYuOHoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.googleplus) { %>
|
||||
.footer-sns-gplus {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzguNiA3OGMtMjIuNCA1LjItNTUuOCA0MC4yLTYwLjYgNjMuNC0xLjQgNi40LTIgMTI5LjgtMS42IDM2Ny42LjYgMjk4LjYgMSAzNTguOCAzLjQgMzYzIDExIDIwLjIgMjEuNiAzMi40IDM3LjIgNDMgMTUgMTAuMiAxNy40IDExLjIgMzMgMTMgMTEuMiAxLjQgMTM2IDIgMzY1IDEuNiAzMTQtLjYgMzQ4LjYtMSAzNTUtMy44IDE1LjgtNy4yIDMzLjgtMjIgNDMuMi0zNS40IDUuMi03LjQgMTAuOC0xNi42IDEyLjYtMjAuNCAyLjgtNi40IDMuMi00MC44IDMuOC0zNTQgLjQtMjIzLS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IDAgMjIuMiAxIDI1IDIuMnoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.weibo) { %>
|
||||
.footer-sns-weibo {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzUuMiA3OWMtOC42IDMtMjIuOCAxMi40LTMyLjggMjEuOC04LjIgNy44LTIyLjIgMzEtMjQuNiA0MC42LTEgNC4yLTEuNiAxNjctMS42IDM2NC42IDAgMjg0LjguNCAzNTguNCAyLjYgMzY0IDEuNCAzLjggNi44IDEzIDEyIDIwLjQgOC44IDEyLjggMjQgMjUuNCA0MS44IDM1IDYgMy40IDI3IDMuNiAzNjcuNCAzLjYgMjg2LjIgMCAzNjIuNi0uNiAzNjktMi42IDE5LjgtNi4yIDUxLjItMzcuNiA1Ny40LTU3LjQgMi02LjQgMi42LTgyLjYgMi42LTM2OFYxNDFsLTQuMi05Yy0xMS42LTI0LTM5LjItNDkuOC01OC4yLTU0LjItNC4yLTEtMTY4LjYtMS42LTM2NS42LTEuNi0zMDAgMC0zNTkuMi40LTM2NS44IDIuOHptNTU4LjYgMTY5YzguNiAxLjIgMTYuNCA0IDI0IDguNiA2LjIgMy42IDE1LjIgOC4yIDIwLjIgMTAuMiA1LjggMi4yIDE0LjYgOC44IDI1IDE4LjggMjUuNCAyNC44IDMyLjggMzQuOCAzNy44IDUxIDIuNiA4IDcuNCAxOS44IDEwLjggMjYuNCA3LjggMTQuNiAxMS42IDQyLjYgOS40IDY5LTEgMTQuMi0yLjIgMTguNi03LjQgMjYuNC0zLjIgNS4yLTkgMTIuMi0xMi44IDE1LjYtMTMuOCAxMi0zNCA1LjgtMzguOC0xMi0xLjYtNi0xLjQtMTEuNCAxLjItMjMuNC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uOCA0MC42IDguNiA2LjYtOC44IDcuOC0xNi4yIDQuMi0yNC00LjgtMTAuMi0xNS40LTEzLjQtMjkuOC05LjJ6Ii8+PC9zdmc+);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.instagram) { %>
|
||||
.footer-sns-instagram {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xNDAuNiA3OGMtOS44IDIuMi0yOC40IDEzLjgtMzguNiAyNC0xMC42IDEwLjgtMjEuNiAyOC44LTI0LjIgMzkuNC0yLjYgMTEuNC0yLjQgNzE0LjguNCA3MjUuMiA1LjIgMjAuNCAyOSA0Ni4yIDUzLjIgNTcuNiA4LjIgMy44IDE1LjQgMy44IDM3MC42IDMuOCAzNTEuOCAwIDM2Mi44LS4yIDM3MS0zLjggMjEtOS4yIDM4LjgtMjcgNTAtNDkuMmw1LTEwLjItLjQtMzYzLjgtLjYtMzY0LTQuNC04Yy0xMC44LTE5LjYtMTgtMjguMi0zMi42LTM4LjQtOS4yLTYuMi0xOC44LTExLjItMjQuNi0xMi40LTExLjItMi42LTcxNC40LTIuOC03MjQuOC0uMnpNNjYyIDIwMi44YzEyLjYgMi44IDYwLjIgMjIuMiA2OC40IDI4IDQuNCAzIDMwLjIgMzEuNCAzOSA0Mi42IDIuOCAzLjYgOS42IDE5LjQgMTUuMiAzNWwxMCAyOC42LjggMTQ2Yy42IDEwNi40LjQgMTQ5LjItMS40IDE1Ny44LTEuMiA2LjYtNiAyMi4yLTEwLjQgMzQuNi05LjggMjcuOC0yMyA0Ni42LTQ4LjIgNjguOC0yMi4yIDE5LjQtMzYuOCAyNi44LTYxLjQgMzAuOC0xMC40IDEuNi0yMi42IDQtMjcgNS4yLTE1IDMuOC0xNDAu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LjQtNDAuNC01OC40LTU1LjItOC40LTQuMi0yNy44LTYuMi0zOS0zLjh6Ii8+PC9zdmc+);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.tumblr) { %>
|
||||
.footer-sns-tumblr {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzguNCA3OGMtNi4yIDEuNC0yNi4yIDE0LjItMzYuMiAyMi44LTIuNiAyLjQtOSAxMC44LTE0LjIgMTguOC03LjQgMTEtMTAgMTcuMi0xMSAyNS0uNiA1LjgtMSAxNzAuNi0uNiAzNjYuNC42IDI5Ni44IDEgMzU2LjggMy40IDM2MSAxMSAyMC4yIDIxLjYgMzIuNCAzNy4yIDQzIDE1LjYgMTAuNiAxNy4yIDExLjIgMzQuMiAxMy4yIDExLjQgMS4yIDE0My4yIDEuOCAzNjQuOCAxLjQgMzEzLjgtLjYgMzQ3LjYtMSAzNTQtMy44IDIzLjItMTAuNiA0Mi40LTI5LjIgNTMuNi01MS44bDUuNC0xMSAuNi0zNDdjLjQtMjIzLS4yLTM1My40LTEuNC0zNjUtMi0xNy0yLjYtMTguNi0xMy4yLTM0LjItMTAuNi0xNS44LTIyLjQtMjUuOC00My0zNy00LjItMi40LTY1LjQtMi44LTM2Ni0zLjItMTk4LjYgMC0zNjQgLjQtMzY3LjYgMS40em00MDAuNCAxMzEuOGw1LjIgNC44djQ3LjhjMCAzNS40LjYgNDkuNCAyLjYgNTQuMiA1LjQgMTIuNCA0LjggMTIuNCA2Mi42IDEyLjYgNTcuNi4yIDU3IDAgNjIuMiAxMi4yIDMuMiA4IDMuOCA5My42LjYgMTA1LTEuMiA0LTQuNiA5LjQtNy40IDExLjYtNS4yIDQtNy4yIDQuMi01NiAzLjZMNTU4IDQ2MWwtNiA2LjJjLTkuMiA5LjItMTAuNCAyMi42LTkuNiAxMTMuNi42IDcxLjQgMSA3OC44IDQuMiA4NSA1IDkgMTguOCAyMy44IDI1LjYgMjcuNCA2LjYgMy4yIDQyLjYgNCA1MC44LjggMi44LTEgOS42LTYgMTUtMTEuMiA4LjQtNy44IDEwLjYtOSAxNy4yLTguNCA5LjIuOCAxNC44IDcuNiAxNyAyMSAyLjggMTYuOCAyLjIgNjgtMSA3NS4yLTQgOS42LTI1LjIgMjguOC0zMy40IDMwLjQtMy44LjYtNDEuNC44LTgzLjguNi04My42LS42LTgwLjgtLjItOTQtMTIuNi0zLjgtMy42LTEyLTguMi0xOC0xMC0xOC4yLTYtMjctMTguNi0yOS44LTQzLjYtMS4yLTguNi00LTE5LjItNy40LTI2LjQtNy0xNC44LTctMTYuNi03LjgtMTQ1LjgtLjYtMTA4LjguOC0xMDEuMi0xNy40LTEwMS4yLTUuNCAwLTEyLjItMS4yLTE1LjItMi44LTEwLjQtNS40LTExLjQtMTAtMTEuNC01NS4yIDAtMzUuNi42LTQyIDMuNi00Ni42IDUtNy42IDExLTEzIDIzLjQtMjEgMTEuNi03LjQgMjkuMi0yNC42IDM3LTM2LjQgMi40LTMuOCA3LjgtMTAuMiAxMS44LTEzLjggNi42LTYuNCA3LjItOCA3LjItMTguMiAwLTYuMiAxLjItMTUuOCAyLjgtMjEuMiAxLjYtNS40IDMuNC0xMy44IDQuMi0xOC44IDMuMi0yMS42IDktMjQuMiA1NS40LTIzLjQgMzQuMi40IDM1LjQuNiA0MC40IDUuMnoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.github) { %>
|
||||
.footer-sns-github {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0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Ni44IDI2LjIgMjYgMTUgMjkgMTUuNCA4Mi40IDcuMiAyNC42LTMuOCAzMy44LTQuMiA2MC0zLjIgMTcgLjYgNDEuNCAzIDU0IDUuMiAzOC40IDYuNiA0OS42IDUuMiA3My0xMCA2LjYtNC4yIDE3LjQtOS40IDI0LTExLjYgNi42LTIuMiAxNi01LjggMjEtOC4yIDEzLTYgMjgtNS42IDM1LjYuOCAxMi40IDEwLjQgMTguNiA0MS40IDE0LjQgNzEuNi00LjQgMzAuNi0zIDM5LjQgOC40IDUzLjggMy40IDQuNCAxMS4yIDE5LjIgMTcuNCAzMy4yTDc3NSA0NDN2NzhsLTEwIDI4Yy0xNS4yIDQzLjItMzYuOCA3My4yLTY2LjIgOTIuOC0xMy40IDguOC01NyAyNS40LTc2LjggMjktMjguMiA1LjItMzMuMiAxMi42LTIyIDMyLjIgMTEuMiAxOS40IDEyLjQgMzIuOCAxMS42IDEyOS42bC0uNiA4NS44IDUuNCA0LjZjMy42IDMgOS4yIDUuMiAxNiA2IDUuOC44IDYwLjIgMSAxMjAuNi42IDEwOC40LS42IDExMC4yLS42IDExOS01IDI0LTExLjYgNDAtMjcuNCA1MS42LTUwLjZsNS40LTExIC42LTM0N2MuNC0yMjMtLjItMzUzLjQtMS40LTM2NS0yLTE3LTIuNi0xOC42LTEzLTM0LTEwLjYtMTUuNC0yMi44LTI2LjItNDMuMi0zNy4yLTQuMi0yLjQtNjQuNi0yLjgtMzY2LTMuMi0xOTguNiAwLTM2NCAuNC0zNjcuNiAxLjR6Ii8+PC9zdmc+);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.linkedin) { %>
|
||||
.footer-sns-linkedin {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9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MTguNiAxMi0zMS40IDMzLTM1LjYgNTgtMS4yIDcuNi0yIDUzLjgtMiAxMTMuNCAwIDEwOS4yIDAgMTA5LTExIDExNC0zLjYgMS42LTIwLjYgMi40LTU0LjggMi40LTQ3IDAtNTAtLjItNTQuOC00LTMtMi40LTYtNy02LjgtMTAuNi0uOC0zLjYtMS4yLTkwLjQtLjYtMTkzbDEtMTg2LjggNS42LTQuOGM1LjYtNC44IDUuOC00LjggNTMuNC00LjggMzEuMiAwIDQ5LjYuOCA1Mi44IDIuMiA2IDIuOCA4LjYgOSAxMC40IDI0LjggMi40IDIzIDExLjggMjUuMiAyOC40IDcgMTEuOC0xMi44IDI5LjYtMjUuMiA0NC40LTMwLjggMjUuMi05LjQgNjQuNC0xMS40IDEwMS4yLTUuMnptLTM3NC40IDRjMTIgNC42IDExLjQtNi40IDExLjQgMjAxIC4yIDE4MC44IDAgMTg5LjYtMy42IDE5My40LTIgMi4yLTUuOCA0LjgtOC40IDUuOC0yLjYgMS4yLTI2LjIgMi01Mi42IDItNTEuOCAwLTU2LjYtMS02MS40LTExLjYtMS42LTMuNC0yLjItNjEuNC0yLjItMTkwLjggMC0xNzAuNC4yLTE4Ni42IDMuNC0xOTEuOCAxLjgtMy4yIDUuMi02LjYgNy40LTcuOCA1LjQtMi42IDk5LjItMi44IDEwNi0uMnoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.zhihu) { %>
|
||||
.footer-sns-zhihu {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzYuOCA3OC44Yy04LjYgMi44LTI0IDEyLjQtMzMuNiAyMS04LjYgNy44LTIxLjQgMjcuOC0yNC40IDM3LjgtNC4yIDE0LTQgNzI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0zMy4yLTM5LjQtMzMuNC04LjggMC0xMy42LTIuOC0xNy4yLTkuOC0yLjYtNC44LTMtMzMuOC0yLjYtMjA4LjguNC0xOTkuOC40LTIwMyA0LjQtMjA3LjQgMi4yLTIuNCA1LjgtNS4yIDgtNi4yIDIuMi0uOCA1MS44LTEuNCAxMTAtMS4yIDk5IC40IDEwNi42LjYgMTExLjggNHoiLz48cGF0aCBkPSJNNjA2LjggMzM3LjRjLTIuNC40LTYuNCAzLTkgNS44bC00LjggNS4yLS42IDE1Ni40LS40IDE1Ni40IDYuNCA5LjRjMy42IDUuMiA5LjggMTUuMiAxMy42IDIxLjggOCAxNC4yIDE2LjggMjAuNiAyNS42IDE4LjYgMy4yLS42IDEzLjgtNyAyMy42LTE0LjIgMjMtMTcgMjcuOC0xOSA1MC4yLTIwLjIgMTYuNC0xIDE5LjItMS44IDIzLjYtNi4yIDIuOC0yLjggNS02LjQgNS4yLTguMlY1MDUuNmMwLTExNi0uNi0xNTQuNC0yLjYtMTU4LjYtNC44LTEwLjQtOC40LTExLTcwLTEwLjgtMzEuMi4yLTU4LjYuOC02MC44IDEuMnoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.bilibili) { %>
|
||||
.footer-sns-bilibili {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMzguOCA3Ny44Yy03LjggMi0zMiAxNy44LTM4LjggMjUuNi05LjYgMTAuNi0xOC40IDI1LTIxLjIgMzQtNC4yIDE0LjItNC4yIDcyMy42IDAgNzMzLjYgOC40IDIwLjIgMjkuNCA0MS42IDUzLjIgNTQuMiA2LjggMy42IDE4LjggMy44IDM3MCAzLjhoMzYzbDktNC4yYzE0LTYuOCAzMS42L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My40LTExLjIgMTItMTEuMiAxMjAuNnMtLjIgMTA1LjYgMTEuMiAxMjIuNEMzMTggNjczLjggMzA3IDY3MyA0OTIgNjczLjZjOTAuOC40IDE3MC42IDAgMTc3LjQtLjYgMTUuNi0xLjYgMjMuNi02LjggMzIuMi0yMWw2LjQtMTAuOFY1MzcuOGMwLTY4LS44LTEwNS40LTIuMi0xMDkuMi0zLTgtMTUuMi0yMi4yLTIyLjItMjUuOC01LjItMi42LTI2LjYtMy4yLTE3NS42LTMuNC05My40LS4yLTE3My40LjItMTc3LjggMXptNzguNCA3MC40YzkuNiA0IDIyLjggMTcuOCAyNS4yIDI2LjYgMi44IDkuOCAyLjggMzMuNCAwIDQzLjItMi40IDguNi0xMS44IDIwLjItMjAgMjQuNi04IDQtMjMuNiAzLjYtMzEtMS0zLjYtMi4yLTguNC04LTExLTEzLjYtNC4yLTguNC00LjgtMTIuNC00LjgtMzEuOCAwLTIxIC4yLTIyLjYgNi0zMS44IDQtNi40IDktMTEuMiAxNC44LTE0LjQgMTAuMi01LjQgMTIuMi01LjYgMjAuOC0xLjh6bTIwNiAwYzIwIDguMiAyOS4yIDM2LjQgMjIuMiA2Ny40LTIuOCAxMi00LjggMTYuMi0xMC44IDIyLjItNyA3LTguNCA3LjYtMTguOCA3LjYtMTkgMC0zMC42LTkuMi0zNi40LTI5LjItMy42LTEyLjQtMi40LTM3LjggMi4yLTQ2LjggNS05LjYgMjQtMjQgMzEuNi0yNCAyIDAgNi40IDEuMiAxMCAyLjh6Ii8+PC9zdmc+);
|
||||
}
|
||||
<% } %>
|
||||
<% if(theme.sns.telegram) { %>
|
||||
.footer-sns-telegram {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMjMuNC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yLjYtMTEuMiA3LTE3LjYgMTAtNi4yIDMtMTQgNy40LTE3IDEwLTMgMi42LTExIDcuOC0xNy42IDExLjgtMTEuNCA2LjYtMjMgMTguNC0yOC40IDI4LjYtMy42IDYuNi0yLjggMTkuMiAxLjYgMzAuNiAyLjIgNS42IDYuOCAyMyAxMCAzOC42IDYuOCAzMS44IDkuNiAzOCAxNy40IDM3IDgtMSAxMi4yLTguNiAxOC40LTM0LjIgMy42LTE0LjggNy44LTI2LjQgMTEtMzEuMiA3LjYtMTAuOCA3Ny03Ny40IDExOC4yLTExMy4yIDEwLTguNiAyNy42LTI0LjYgMzkuNC0zNS42IDExLjgtMTEgMjQuNi0yMiAyOC40LTI0LjZDNjM5LjQgMzkzIDY2MCAzNjcgNjYwIDM2MmMwLTUuOC01LTYuMi0xNC40LTEuMnoiLz48L3N2Zz4=);
|
||||
}
|
||||
<% } %>
|
||||
</style>
|
27
themes/material/layout/_partial/daily_pic.ejs
Executable file
27
themes/material/layout/_partial/daily_pic.ejs
Executable file
@ -0,0 +1,27 @@
|
||||
<!-- Daily pic -->
|
||||
<div class="mdl-card <% if(theme.card_elevation) { %><%= 'mdl-shadow--' + theme.card_elevation + 'dp' %><% } %> daily-pic mdl-cell mdl-cell--8-col index-top-block">
|
||||
|
||||
<!-- Pic & Slogan -->
|
||||
<div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(<%= theme.img.daily_pic %>)">
|
||||
<p class="index-top-block-slogan"><a href="<%= theme.url.daily_pic %>">
|
||||
<% if(theme.uiux.slogan) { %>
|
||||
<% if(Array.isArray(theme.uiux.slogan)) { %>
|
||||
<%- theme.uiux.slogan.join('<br>') %>
|
||||
<% } else { %>
|
||||
<%- theme.uiux.slogan %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</a></p>
|
||||
</div>
|
||||
|
||||
<!-- Avatar & Name -->
|
||||
<div class="mdl-card__supporting-text meta mdl-color-text--grey-600">
|
||||
<!-- Author Avatar -->
|
||||
<div id="author-avatar">
|
||||
<img src="<%= theme.img.avatar %>" width="32px" height="32px" alt="avatar">
|
||||
</div>
|
||||
<div>
|
||||
<strong><%= config.author %></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
100
themes/material/layout/_partial/footer-left.ejs
Executable file
100
themes/material/layout/_partial/footer-left.ejs
Executable file
@ -0,0 +1,100 @@
|
||||
<div class="mdl-mini-footer--left-section sns-list">
|
||||
<!-- Twitter -->
|
||||
<% if(theme.sns.twitter) { %>
|
||||
<a href="<%= theme.sns.twitter %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-twitter">
|
||||
<span class="visuallyhidden">Twitter</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Facebook -->
|
||||
<% if(theme.sns.facebook) { %>
|
||||
<a href="<%= theme.sns.facebook %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-facebook">
|
||||
<span class="visuallyhidden">Facebook</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Google + -->
|
||||
<% if(theme.sns.googleplus) { %>
|
||||
<a href="<%= theme.sns.googleplus %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-gplus">
|
||||
<span class="visuallyhidden">Google Plus</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Weibo -->
|
||||
<% if(theme.sns.weibo) { %>
|
||||
<a href="<%= theme.sns.weibo %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-weibo">
|
||||
<span class="visuallyhidden">Weibo</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Instagram -->
|
||||
<% if(theme.sns.instagram) { %>
|
||||
<a href="<%= theme.sns.instagram %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-instagram">
|
||||
<span class="visuallyhidden">Instagram</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Tumblr -->
|
||||
<% if(theme.sns.tumblr) { %>
|
||||
<a href="<%= theme.sns.tumblr %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-tumblr">
|
||||
<span class="visuallyhidden">Tumblr</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Github -->
|
||||
<% if(theme.sns.github) { %>
|
||||
<a href="<%= theme.sns.github %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-github">
|
||||
<span class="visuallyhidden">Github</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- LinkedIn -->
|
||||
<% if(theme.sns.linkedin) { %>
|
||||
<a href="<%= theme.sns.linkedin %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-linkedin">
|
||||
<span class="visuallyhidden">LinkedIn</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Zhihu -->
|
||||
<% if(theme.sns.zhihu) { %>
|
||||
<a href="<%= theme.sns.zhihu %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-zhihu">
|
||||
<span class="visuallyhidden">Zhihu</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Bilibili -->
|
||||
<% if(theme.sns.bilibili) { %>
|
||||
<a href="<%= theme.sns.bilibili %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-bilibili">
|
||||
<span class="visuallyhidden">Bilibili</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
|
||||
<!-- Telegram -->
|
||||
<% if(theme.sns.telegram) { %>
|
||||
<a href="<%= theme.sns.telegram %>" target="_blank">
|
||||
<button class="mdl-mini-footer--social-btn social-btn footer-sns-telegram">
|
||||
<span class="visuallyhidden">Telegram</span>
|
||||
</button><!--
|
||||
--></a>
|
||||
<% } %>
|
||||
</div>
|
17
themes/material/layout/_partial/footer-option.ejs
Executable file
17
themes/material/layout/_partial/footer-option.ejs
Executable file
@ -0,0 +1,17 @@
|
||||
<% if(theme.leancloud.enable === true) { %>
|
||||
<!-- Leancloud -->
|
||||
<script src="<%= theme.leancloud.av_core_mini %>"></script>
|
||||
<script>
|
||||
AV.initialize('<%= theme.leancloud.app_id %>', '<%= theme.leancloud.app_key %>');
|
||||
</script>
|
||||
<%- partial('_widget/leancloud-views') %>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.busuanzi.enable === true) { %>
|
||||
<!-- Busuanzi -->
|
||||
<script src="<%= theme.busuanzi.busuanzi_pure_mini_js %>"></script>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.comment.use){ %>
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/common') %>
|
||||
<% } %>
|
29
themes/material/layout/_partial/footer.ejs
Executable file
29
themes/material/layout/_partial/footer.ejs
Executable file
@ -0,0 +1,29 @@
|
||||
<!--Footer-->
|
||||
<footer class="mdl-mini-footer" id="bottom">
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Paradox Footer Left Section -->
|
||||
<%- partial('_partial/footer-left') %>
|
||||
|
||||
<!--Copyright-->
|
||||
<div id="copyright">
|
||||
Copyright ©<% if(theme.copyright_since) { %> <%= theme.copyright_since %> -<% } %><script type="text/javascript">var fd = new Date();document.write(" " + fd.getFullYear() + " ");</script><%- config.title %>
|
||||
</div>
|
||||
|
||||
<!-- Paradox Footer Right Section -->
|
||||
|
||||
<!--
|
||||
I am glad you use this theme, the development is no so easy, I hope you can keep the copyright.
|
||||
It will not impact the appearance and can give developers a lot of support :)
|
||||
|
||||
很高兴您使用该主题,开发不易,希望您可以保留一下版权声明。
|
||||
它不会影响美观并可以给开发者很大的支持。 :)
|
||||
-->
|
||||
|
||||
<div class="mdl-mini-footer--right-section">
|
||||
<div>
|
||||
<div class="footer-develop-div">Powered by <a href="https://hexo.io" target="_blank" class="footer-develop-a">Hexo</a></div>
|
||||
<div class="footer-develop-div">Theme - <a href="https://github.com/viosey/hexo-theme-material" target="_blank" class="footer-develop-a">Material</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
</footer>
|
5
themes/material/layout/_partial/footer_top.ejs
Executable file
5
themes/material/layout/_partial/footer_top.ejs
Executable file
@ -0,0 +1,5 @@
|
||||
<div id="back-to-top" class="toTop-wrap">
|
||||
<a href="#top" class="toTop">
|
||||
<i class="material-icons footer_top-i">expand_less</i>
|
||||
</a>
|
||||
</div>
|
184
themes/material/layout/_partial/head.ejs
Executable file
184
themes/material/layout/_partial/head.ejs
Executable file
File diff suppressed because one or more lines are too long
105
themes/material/layout/_partial/import_js.ejs
Executable file
105
themes/material/layout/_partial/import_js.ejs
Executable file
@ -0,0 +1,105 @@
|
||||
<!-- Import File -->
|
||||
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<%- jsLsload({path:(theme.materialcdn.base + '/js/lazyload.min.js'),key:'js/lazyload.min.js'}) %>
|
||||
<%- jsLsload({path:(theme.materialcdn.base + '/js/js.min.js'),key:'js/js.min.js'}) %>
|
||||
<%}else{%>
|
||||
<%- jsLsload('js/lazyload.min.js') %>
|
||||
<%- jsLsload('js/js.min.js') %>
|
||||
<%}%>
|
||||
|
||||
<%- partial('_widget/nprogress') %>
|
||||
|
||||
<% if( theme.js_effect.smoothscroll === true ) { %>
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<%- jsLsload({path:(theme.materialcdn.base + '/js/smoothscroll.js'),key:'js/smoothscroll.js'}) %>
|
||||
<%}else{%>
|
||||
<%- jsLsload('js/smoothscroll.js') %>
|
||||
<%}%>
|
||||
<% } %>
|
||||
|
||||
<%- partial('_partial/footer-option') %>
|
||||
|
||||
<% if( (page.current === 1) && (is_home()) ) { %>
|
||||
<!-- Swiftye -->
|
||||
<% if( theme.search.use === 'swiftype' ) { %>
|
||||
<%- partial('_widget/search-swiftype-js') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Local Search-->
|
||||
<% if( theme.search.use === 'local' ) { %>
|
||||
<%- partial('_widget/search-local-js') %>
|
||||
|
||||
<script type="text/ls-javascript" id="search-input-script">
|
||||
var inputArea = document.querySelector('#search');
|
||||
var getSearchFile = function() {
|
||||
var path = '<%= config.search.path %>';
|
||||
searchFunc(path, 'search', 'local-search-result');
|
||||
}
|
||||
|
||||
if(inputArea) {
|
||||
inputArea.onfocus = function() {
|
||||
getSearchFile();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- UC Browser Compatible -->
|
||||
<script>
|
||||
var agent = navigator.userAgent.toLowerCase();
|
||||
if(agent.indexOf('ucbrowser')>0) {
|
||||
document.write('<%- css("css/uc") %>');
|
||||
alert('由于 UC 浏览器使用极旧的内核,而本网站使用了一些新的特性。\n为了您能更好的浏览,推荐使用 Chrome 或 Firefox 浏览器。');
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Window Load-->
|
||||
<script type="text/ls-javascript" id="window-load">
|
||||
$(window).on('load', function() {
|
||||
// Post_Toc parent position fixed
|
||||
$('.post-toc-wrap').parent('.mdl-menu__container').css('position', 'fixed');
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- MathJax Load-->
|
||||
<% if (page.mathjax) { %>
|
||||
<%- partial('_widget/mathjax') %>
|
||||
<% } %>
|
||||
<script type="text/ls-javascript" id="lazy-load">
|
||||
// Offer LazyLoad
|
||||
queue.offer(function(){
|
||||
$('.lazy').lazyload({
|
||||
effect : 'show'
|
||||
});
|
||||
});
|
||||
|
||||
// Start Queue
|
||||
$(document).ready(function(){
|
||||
setInterval(function(){
|
||||
queue.execNext();
|
||||
},200);
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Bing Background -->
|
||||
<% if(theme.background.bing.enable) { %>
|
||||
<script type="text/ls-javascript" id="Bing-Background-script">
|
||||
queue.offer(function(){
|
||||
$('body').attr('data-original', 'https://api.i-meto.com/bing?<%= theme.background.bing.parameter %>');
|
||||
});
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
<script>
|
||||
(function(){
|
||||
var scriptList = document.querySelectorAll('script[type="text/ls-javascript"]')
|
||||
|
||||
for (var i = 0; i < scriptList.length; ++i) {
|
||||
var item = scriptList[i];
|
||||
lsloader.runInlineScript(item.id,item.id);
|
||||
}
|
||||
})()
|
||||
console.log('\n %c © Material Theme | Version: 1.4.0 | https://github.com/viosey/hexo-theme-material %c \n', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-left-radius:5px;border-bottom-left-radius:5px;', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-right-radius:5px;border-bottom-right-radius:5px;');
|
||||
</script>
|
64
themes/material/layout/_partial/isolate-sns_list.ejs
Executable file
64
themes/material/layout/_partial/isolate-sns_list.ejs
Executable file
@ -0,0 +1,64 @@
|
||||
<div class="header-item header-sns_list">
|
||||
<!-- Twitter -->
|
||||
<% if(theme.sns.twitter) { %>
|
||||
<a href="<%= theme.sns.twitter %>" target="_blank">
|
||||
<i class="fa fa-twitter fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Facebook -->
|
||||
<% if(theme.sns.facebook) { %>
|
||||
<a href="<%= theme.sns.facebook %>" target="_blank">
|
||||
<i class="fa fa-facebook fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Google + -->
|
||||
<% if(theme.sns.googleplus) { %>
|
||||
<a href="<%= theme.sns.googleplus %>" target="_blank">
|
||||
<i class="fa fa-google-plus fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Weibo -->
|
||||
<% if(theme.sns.weibo) { %>
|
||||
<a href="<%= theme.sns.weibo %>" target="_blank">
|
||||
<i class="fa fa-weibo fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Instagram -->
|
||||
<% if(theme.sns.instagram) { %>
|
||||
<a href="<%= theme.sns.instagram %>" target="_blank">
|
||||
<i class="fa fa-instagram fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Tumblr -->
|
||||
<% if(theme.sns.tumblr) { %>
|
||||
<a href="<%= theme.sns.tumblr %>" target="_blank">
|
||||
<i class="fa fa-tumblr fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Github -->
|
||||
<% if(theme.sns.github) { %>
|
||||
<a href="<%= theme.sns.github %>" target="_blank">
|
||||
<i class="fa fa-github fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- LinkedIn -->
|
||||
<% if(theme.sns.linkedin) { %>
|
||||
<a href="<%= theme.sns.linkedin %>" target="_blank">
|
||||
<i class="fa fa-linkedin fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Telegram -->
|
||||
<% if(theme.sns.telegram) { %>
|
||||
<a href="<%= theme.sns.telegram %>" target="_blank">
|
||||
<i class="fa fa-telegram fa-lg" aria-hidden="true"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
</div>
|
66
themes/material/layout/_partial/isolate_info.ejs
Executable file
66
themes/material/layout/_partial/isolate_info.ejs
Executable file
@ -0,0 +1,66 @@
|
||||
<header class="header">
|
||||
<div class="header-wrapper">
|
||||
<!-- Header Copyright -->
|
||||
<div class="header-copyright">
|
||||
<div class="header-site">
|
||||
©
|
||||
<script type="text/javascript">
|
||||
var fd = new Date();
|
||||
document.write(fd.getFullYear());
|
||||
</script>
|
||||
<%- config.title %>
|
||||
</div>
|
||||
<!--
|
||||
I'm glad you use this theme, the development is no so easy, I hope you can keep the copyright.
|
||||
It will not impact the appearance and can give developers a lot of support :)
|
||||
|
||||
很高兴您使用该主题,开发不易,希望您可以保留一下版权声明。
|
||||
它不会影响美观并可以给开发者很大的支持。 :)
|
||||
-->
|
||||
<div>
|
||||
Powered by <a href="https://hexo.io" target="_blank" class="footer-develop-a">Hexo</a>
|
||||
<br>
|
||||
Theme - <a href="https://github.com/viosey/hexo-theme-material" target="_blank" class="footer-develop-a">Material</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Header Title -->
|
||||
<span class="header-title header-item">
|
||||
<a href="<%= config.root %>" title="<%= config.title %>">
|
||||
<%= config.title %>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<p class="header-slogan header-item">
|
||||
<% if(theme.uiux.slogan) { %>
|
||||
<% if(Array.isArray(theme.uiux.slogan)) { %>
|
||||
<%- theme.uiux.slogan.join('<br>') %>
|
||||
<% } else { %>
|
||||
<%- theme.uiux.slogan %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</p>
|
||||
|
||||
<!-- Header Nav -->
|
||||
<nav class="header-nav header-item">
|
||||
<span class="header-nav-item">
|
||||
<a href="<%= config.root %>" title="Home">
|
||||
<span><%= __('misc.home') %></span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<!-- Pages -->
|
||||
<% for (var i in theme.sidebar.pages) { %>
|
||||
<span class="header-nav-item">
|
||||
<a href="<%= theme.sidebar.pages[i].link || '#' %>" title="<%= i %>">
|
||||
<span><%= i %></span>
|
||||
</a>
|
||||
</span>
|
||||
<% } %>
|
||||
|
||||
</nav>
|
||||
|
||||
<!-- Header SNS -->
|
||||
<%- partial('_partial/isolate-sns_list') %>
|
||||
</div>
|
||||
</header>
|
14
themes/material/layout/_partial/post-content.ejs
Executable file
14
themes/material/layout/_partial/post-content.ejs
Executable file
@ -0,0 +1,14 @@
|
||||
<div id="post-content" class="mdl-color-text--grey-700 mdl-card__supporting-text fade out">
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<%- page.content %>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.scheme === 'Isolation') { %>
|
||||
<div class="post-content_wrapper">
|
||||
<p class="post-title">
|
||||
<%- page.title %>
|
||||
</p>
|
||||
<%- page.content %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
48
themes/material/layout/_partial/post-header.ejs
Executable file
48
themes/material/layout/_partial/post-header.ejs
Executable file
@ -0,0 +1,48 @@
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Paradox Post Header -->
|
||||
<% if(!page.thumbnail) { %>
|
||||
<% if(!theme.thumbnail.purecolor) {%>
|
||||
<!-- Random Thumbnail -->
|
||||
<div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50">
|
||||
<%- partial('_partial/Paradox-post-thumbnail') %>
|
||||
<% } else { %>
|
||||
<!-- Pure Thumbnail -->
|
||||
<div class="post_thumbnail-pure mdl-card__media mdl-color-text--grey-50" style="background-color:<%= theme.thumbnail.purecolor %> !important">
|
||||
<% } %>
|
||||
<% }else{ %>
|
||||
<!-- Custom Thumbnail -->
|
||||
<div class="post_thumbnail-custom mdl-card__media mdl-color-text--grey-50" style="background-image:url(<%- page.thumbnail %>)">
|
||||
<% } %>
|
||||
<p class="article-headline-p">
|
||||
<%- page.title %>
|
||||
</p>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.scheme === 'Isolation') { %>
|
||||
<!-- Isolation Post Header -->
|
||||
<!-- Post thumbnail -->
|
||||
<% if(!page.thumbnail) { %>
|
||||
<!-- Post Header Info -->
|
||||
<div class="post-header_info without-thumbnail">
|
||||
<!-- Author Avatar & Name -->
|
||||
<img src="<%= theme.img.avatar %>" class="avatar-img" width="44px" height="44px" alt="<%= config.author %>'s avatar">
|
||||
<span class="name-span"><%= config.author %></span>
|
||||
</div>
|
||||
|
||||
<!-- Null Thumbnail -->
|
||||
<div class="post_thumbnail-null">
|
||||
<% } else { %>
|
||||
<!-- Post Header Info -->
|
||||
<div class="post-header_info with-thumbnail">
|
||||
<!-- Author Avatar & Name -->
|
||||
<img src="<%= theme.img.avatar %>" class="avatar-img" width="44px" height="44px" alt="<%= config.author %>'s avatar">
|
||||
<span class="name-span"><%= config.author %></span>
|
||||
</div>
|
||||
|
||||
<!-- Custom thumbnail -->
|
||||
<div class="post_thumbnail-custom">
|
||||
<img src="<%= page.thumbnail %>">
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
90
themes/material/layout/_partial/post-info-share.ejs
Executable file
90
themes/material/layout/_partial/post-info-share.ejs
Executable file
@ -0,0 +1,90 @@
|
||||
<button id="article-fuctions-share-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
||||
<i class="material-icons" role="presentation">share</i>
|
||||
<span class="visuallyhidden">share</span>
|
||||
</button>
|
||||
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="article-fuctions-share-button">
|
||||
<% if(theme.leancloud.enable === true) { %>
|
||||
<!-- Leancloud Views -->
|
||||
<a class="post_share-link" href="#">
|
||||
<li class="mdl-menu__item">
|
||||
<%- partial('_widget/leancloud-views_num') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.busuanzi.enable === true) { %>
|
||||
<% if(theme.busuanzi.post_pv === true) { %>
|
||||
<!-- Busuanzi Views -->
|
||||
<a class="post_share-link" href="#">
|
||||
<li class="mdl-menu__item">
|
||||
<span id="busuanzi_container_page_pv">
|
||||
<span id="busuanzi_value_page_pv"></span> <%= __('post.views') %>
|
||||
</span>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Share Weibo -->
|
||||
<% if(theme.sns_share.weibo === true) { %>
|
||||
<a class="post_share-link" href="http://service.weibo.com/share/share.php?appkey=&title=<%= page.title %>&url=<%= config.url + url_for(path) %>&pic=&searchPic=false&style=simple" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toWeibo') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share Twitter -->
|
||||
<% if(theme.sns_share.twitter === true) { %>
|
||||
<a class="post_share-link" href="https://twitter.com/intent/tweet?text=<%= page.title %>&url=<%= config.url + url_for(path) %>&via=<%= config.author %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toTwitter') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share Facebook -->
|
||||
<% if(theme.sns_share.facebook === true) { %>
|
||||
<a class="post_share-link" href="https://www.facebook.com/sharer/sharer.php?u=<%= config.url + url_for(path) %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toFacebook') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share Google+ -->
|
||||
<% if(theme.sns_share.googleplus === true) { %>
|
||||
<a class="post_share-link" href="https://plus.google.com/share?url=<%= config.url + url_for(path) %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toGplus') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share LinkedIn -->
|
||||
<% if(theme.sns_share.linkedin === true) { %>
|
||||
<a class="post_share-link" href="https://www.linkedin.com/shareArticle?mini=true&url=<%- config.url + url_for(path) %>&title=<%= page.title %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toLinkedIn') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share QQ -->
|
||||
<% if(theme.sns_share.qq === true) { %>
|
||||
<a class="post_share-link" href="http://connect.qq.com/widget/shareqq/index.html?site=<%= config.title %>&title=<%= page.title %>&summary=<%= config.description %>&pics=<%- config.url + theme.head.favicon %>&url=<%- config.url + url_for(path) %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toQQ') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Share Telegram -->
|
||||
<% if(theme.sns_share.telegram === true) { %>
|
||||
<a class="post_share-link" href="https://telegram.me/share/url?url=<%- config.url + url_for(path) %>&text=<%= page.title %>" target="_blank">
|
||||
<li class="mdl-menu__item">
|
||||
<%= __('share.toTelegram') %>
|
||||
</li>
|
||||
</a>
|
||||
<% } %>
|
||||
</ul>
|
26
themes/material/layout/_partial/post-nav.ejs
Executable file
26
themes/material/layout/_partial/post-nav.ejs
Executable file
@ -0,0 +1,26 @@
|
||||
<nav class="material-nav mdl-color-text--grey-50 mdl-cell mdl-cell--12-col">
|
||||
<!-- Prev Nav -->
|
||||
<% if (page.prev) { %>
|
||||
<a href="<%- config.root %><%- page.prev.path %>" id="post_nav-newer" class="prev-content">
|
||||
<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon mdl-color--white mdl-color-text--grey-900" role="presentation">
|
||||
<i class="material-icons">arrow_back</i>
|
||||
</button>
|
||||
|
||||
<%= __('post.newer') %>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Section Spacer -->
|
||||
<div class="section-spacer"></div>
|
||||
|
||||
<!-- Next Nav -->
|
||||
<% if (page.next) { %>
|
||||
<a href="<%- config.root %><%- page.next.path %>" id="post_nav-older" class="next-content">
|
||||
<%= __('post.older') %>
|
||||
|
||||
<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon mdl-color--white mdl-color-text--grey-900" role="presentation">
|
||||
<i class="material-icons">arrow_forward</i>
|
||||
</button>
|
||||
</a>
|
||||
<% } %>
|
||||
</nav>
|
60
themes/material/layout/_partial/sidebar-footer.ejs
Executable file
60
themes/material/layout/_partial/sidebar-footer.ejs
Executable file
@ -0,0 +1,60 @@
|
||||
<!--
|
||||
I'm glad you use this theme, the development is no so easy, I hope you can keep the copyright, I will thank you so much.
|
||||
If you still want to delete the copyrights, could you still retain the first one? Which namely "Theme Material"
|
||||
It will not impact the appearance and can give developers a lot of support :)
|
||||
|
||||
很高兴您使用并喜欢该主题,开发不易 十分谢谢与希望您可以保留一下版权声明。
|
||||
如果您仍然想删除的话 能否只保留第一项呢?即 "Theme Material"
|
||||
它不会影响美观并可以给开发者很大的支持和动力。 :)
|
||||
-->
|
||||
|
||||
<!-- Sidebar Divider -->
|
||||
<% if(theme.sidebar.footer.divider === true) { %>
|
||||
<div class="sidebar-divider"></div>
|
||||
<% } %>
|
||||
|
||||
<!-- Theme Material -->
|
||||
<% if(theme.sidebar.footer.theme === true) { %>
|
||||
<a href="https://github.com/viosey/hexo-theme-material" class="sidebar-footer-text-a" target="_blank">
|
||||
<div class="sidebar-text mdl-button mdl-js-button mdl-js-ripple-effect sidebar-footer-text-div" data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<%= __('misc.theme') %> - Material
|
||||
<span class="sidebar-badge badge-circle">i</span>
|
||||
</div>
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<!-- Help & Support -->
|
||||
<!--
|
||||
<% if(theme.sidebar.footer.support === true) { %>
|
||||
<a href="mailto:hiviosey@gmail.com" class="sidebar-footer-text-a">
|
||||
<div class="sidebar-text mdl-button mdl-js-button mdl-js-ripple-effect sidebar-footer-text-div" data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<%= __('sidebar.help') %>
|
||||
<span class="mdl-button__ripple-container">
|
||||
<span class="mdl-ripple"></span>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
<% } %>
|
||||
-->
|
||||
|
||||
<!-- Feedback -->
|
||||
<!--
|
||||
<% if(theme.sidebar.footer.feedback === true) { %>
|
||||
<a href="https://github.com/viosey/hexo-theme-material/issues" target="_blank" class="sidebar-footer-text-a">
|
||||
<div class="sidebar-text mdl-button mdl-js-button mdl-js-ripple-effect sidebar-footer-text-div" data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<%= __('sidebar.feedback') %>
|
||||
<span class="mdl-button__ripple-container"><span class="mdl-ripple"></span></span></div>
|
||||
</a>
|
||||
<% } %>
|
||||
-->
|
||||
|
||||
<!-- About Theme -->
|
||||
<!--
|
||||
<% if(theme.sidebar.footer.material === true) { %>
|
||||
<a href="https://blog.viosey.com/index.php/Material.html" target="_blank" class="sidebar-footer-text-a">
|
||||
<div class="sidebar-text mdl-button mdl-js-button mdl-js-ripple-effect sidebar-footer-text-div" data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<%= __('sidebar.about_theme') %>
|
||||
<span class="mdl-button__ripple-container"><span class="mdl-ripple"></span></span></div>
|
||||
</a>
|
||||
<% } %>
|
||||
-->
|
7
themes/material/layout/_partial/sidebar-footer_image.ejs
Executable file
7
themes/material/layout/_partial/sidebar-footer_image.ejs
Executable file
@ -0,0 +1,7 @@
|
||||
<% for (var i in theme.img.footer_image) { %>
|
||||
<span id="footer-image">
|
||||
<a href="<%= theme.img.footer_image[i].link %>" target="_blank" title="<%= i %>">
|
||||
<img src="<%= theme.img.footer_image[i].src %>" alt="<%= i %>"><!--
|
||||
--></a>
|
||||
</span>
|
||||
<% } %>
|
24
themes/material/layout/_partial/sidebar-header.ejs
Executable file
24
themes/material/layout/_partial/sidebar-header.ejs
Executable file
@ -0,0 +1,24 @@
|
||||
<div class="sidebar-header header-cover" style="background-image: url(<%= theme.img.sidebar_header %>);">
|
||||
<!-- Top bar -->
|
||||
<div class="top-bar"></div>
|
||||
|
||||
<!-- Sidebar toggle button -->
|
||||
<button type="button" class="sidebar-toggle mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" style="display: initial;" data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<i class="material-icons">clear_all</i>
|
||||
<span class="mdl-button__ripple-container">
|
||||
<span class="mdl-ripple">
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- Sidebar Avatar -->
|
||||
<div class="sidebar-image">
|
||||
<img src="<%= theme.img.avatar %>" alt="<%= config.author %>'s avatar">
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Email -->
|
||||
<a data-toggle="dropdown" class="sidebar-brand" href="#settings-dropdown">
|
||||
<%= theme.sns.email %>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
</div>
|
112
themes/material/layout/_partial/sidebar-navigation.ejs
Executable file
112
themes/material/layout/_partial/sidebar-navigation.ejs
Executable file
@ -0,0 +1,112 @@
|
||||
<ul class="nav sidebar-nav">
|
||||
<!-- User dropdown -->
|
||||
<li class="dropdown">
|
||||
<ul id="settings-dropdown" class="dropdown-menu">
|
||||
<% for (var i in theme.sidebar.dropdown) { %>
|
||||
<li>
|
||||
<a href="<%= theme.sidebar.dropdown[i].link %>" target="_blank" title="<%= i %>">
|
||||
<% if(theme.sidebar.dropdown[i].icon) { %>
|
||||
<i class="material-icons sidebar-material-icons sidebar-indent-left1pc-element"><%= theme.sidebar.dropdown[i].icon %></i>
|
||||
<% } %>
|
||||
<%= i %>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<!-- Homepage -->
|
||||
<% if(theme.sidebar.homepage.use === true) { %>
|
||||
<li id="sidebar-first-li">
|
||||
<a href="<%= config.root %>">
|
||||
<% if(theme.sidebar.homepage.icon) { %>
|
||||
<i class="material-icons sidebar-material-icons"><%= theme.sidebar.homepage.icon %></i>
|
||||
<% } %>
|
||||
<%= __('sidebar.homepage') %>
|
||||
</a>
|
||||
</li>
|
||||
<% if(theme.sidebar.homepage.divider === true) { %>
|
||||
<li class="divider"></li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Archives -->
|
||||
<% if(theme.sidebar.archives.use === true) { %>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="ripple-effect dropdown-toggle" data-toggle="dropdown">
|
||||
<% if(theme.sidebar.archives.icon) { %>
|
||||
<i class="material-icons sidebar-material-icons"><%= theme.sidebar.archives.icon %></i>
|
||||
<% } %>
|
||||
<%= __('sidebar.archive') %>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<%- list_archives({
|
||||
show_count: true,
|
||||
amount: 5,
|
||||
class: 'sidebar_archives',
|
||||
style: 'none',
|
||||
separator: '</li><li>'
|
||||
}) %>
|
||||
</ul>
|
||||
</li>
|
||||
<% if(theme.sidebar.archives.divider === true) { %>
|
||||
<li class="divider"></li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Categories -->
|
||||
<% if(theme.sidebar.categories.use === true) { %>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="ripple-effect dropdown-toggle" data-toggle="dropdown">
|
||||
<% if(theme.sidebar.categories.icon) { %>
|
||||
<i class="material-icons sidebar-material-icons"><%= theme.sidebar.categories.icon %></i>
|
||||
<% } %>
|
||||
<%= __('title.category') %>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<%- list_categories({
|
||||
show_count: true,
|
||||
amount: 5,
|
||||
class: 'sidebar_archives',
|
||||
style: 'none',
|
||||
separator: '</li><li>'
|
||||
}) %>
|
||||
</ul>
|
||||
</li>
|
||||
<% if(theme.sidebar.categories.divider === true) { %>
|
||||
<li class="divider"></li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Pages -->
|
||||
<% for (var i in theme.sidebar.pages){ %>
|
||||
<li>
|
||||
<a href="<%= theme.sidebar.pages[i].link %>" title="<%= i %>">
|
||||
<% if(theme.sidebar.pages[i].icon){ %>
|
||||
<i class="material-icons sidebar-material-icons"><%= theme.sidebar.pages[i].icon %></i>
|
||||
<% } %>
|
||||
<%= i %>
|
||||
</a>
|
||||
</li>
|
||||
<% if(theme.sidebar.pages[i].divider === true) { %>
|
||||
<li class="divider"></li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Article Number -->
|
||||
<% if(theme.sidebar.article_num.use === true) { %>
|
||||
<li>
|
||||
<a href="/archives">
|
||||
<%= __('sidebar.article_num') %>
|
||||
<span class="sidebar-badge"><%= site.posts.length %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% if(theme.sidebar.article_num.divider === true) { %>
|
||||
<li class="divider"></li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</ul>
|
19
themes/material/layout/_partial/sidebar.ejs
Executable file
19
themes/material/layout/_partial/sidebar.ejs
Executable file
@ -0,0 +1,19 @@
|
||||
<!-- Overlay For Active Sidebar -->
|
||||
<div class="sidebar-overlay"></div>
|
||||
|
||||
<!-- Material sidebar -->
|
||||
<aside id="sidebar" class="sidebar sidebar-colored sidebar-fixed-left" role="navigation">
|
||||
<div id="sidebar-main">
|
||||
<!-- Sidebar Header -->
|
||||
<%- partial('_partial/sidebar-header') %>
|
||||
|
||||
<!-- Sidebar Navigation -->
|
||||
<%- partial('_partial/sidebar-navigation') %>
|
||||
|
||||
<!-- Sidebar Footer -->
|
||||
<%- partial('_partial/sidebar-footer') %>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Image -->
|
||||
<%- partial('_partial/sidebar-footer_image') %>
|
||||
</aside>
|
55
themes/material/layout/_partial/structured-data.ejs
Executable file
55
themes/material/layout/_partial/structured-data.ejs
Executable file
@ -0,0 +1,55 @@
|
||||
<% if( (page.current === 1) && (is_home()) ) { %>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Website",
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "<%= config.title %>",
|
||||
"logo": "<%= theme.head.high_res_favicon %>"
|
||||
},
|
||||
"url": "<%- config.url + url_for(path) %>",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "<%= theme.head.apple_touch_icon %>"
|
||||
},
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "<%= config.url %>"
|
||||
},
|
||||
"description": "<%= config.description %>"
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
<% if( (is_post()) ) { %>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "<%= config.title %>",
|
||||
"logo": "<%= theme.head.high_res_favicon %>"
|
||||
},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "<%= config.author %>",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "<%= theme.head.apple_touch_icon %>"
|
||||
},
|
||||
"description": "<%- theme.uiux.slogan %>"
|
||||
},
|
||||
"headline": "<%- page.title %>",
|
||||
"url": "<%- config.url + url_for(path) %>",
|
||||
"datePublished": "<%= date(page.date, 'MMM DD, YYYY') %>",
|
||||
"dateModified": "<%= date(page.updated, 'MMM DD, YYYY') %>",
|
||||
"description": "<% if(page.description) { %><%= page.description %><% } else if(page.excerpt){ %><%= strip_html(page.excerpt).replace(/^s*/, '').replace(/s*$/, '') %><% } else if (config.description){ %><%= config.description %><% } %>",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "<%= config.url %>"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
47
themes/material/layout/_partial/toc_button.ejs
Executable file
47
themes/material/layout/_partial/toc_button.ejs
Executable file
@ -0,0 +1,47 @@
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Back Button -->
|
||||
<!--
|
||||
<div class="material-back" id="backhome-div" tabindex="0">
|
||||
<a class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"
|
||||
href="#" onclick="window.history.back();return false;"
|
||||
target="_self"
|
||||
role="button"
|
||||
data-upgraded=",MaterialButton,MaterialRipple">
|
||||
<i class="material-icons" role="presentation">arrow_back</i>
|
||||
<span class="mdl-button__ripple-container">
|
||||
<span class="mdl-ripple"></span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!-- Left aligned menu below button -->
|
||||
<button id="post-toc-trigger-btn"
|
||||
class="mdl-button mdl-js-button mdl-button--icon">
|
||||
<i class="material-icons">format_list_numbered</i>
|
||||
</button>
|
||||
|
||||
<% if(theme.toc.linenumber === true) { %>
|
||||
<ul class="post-toc-wrap mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" for="post-toc-trigger-btn" style="max-height:80vh; overflow-y:scroll;">
|
||||
<%- toc(page.content, {
|
||||
class: 'post-toc',
|
||||
list_number: true,
|
||||
style: 'max-height:80vh; overflow-y:scroll;'
|
||||
}) %>
|
||||
<!--
|
||||
<li class="mdl-menu__item">
|
||||
Some Action
|
||||
</li>
|
||||
-->
|
||||
</ul>
|
||||
<% } else { %>
|
||||
<ul class="post-toc-wrap mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" for="post-toc-trigger-btn" style="max-height:80vh; overflow-y:scroll;">
|
||||
<%- toc(page.content, {
|
||||
class: 'post-toc',
|
||||
list_number: false,
|
||||
style: 'max-height:80vh; overflow-y:scroll;'
|
||||
}) %>
|
||||
</ul>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
8
themes/material/layout/_widget/analytics/baidu-analytics.ejs
Executable file
8
themes/material/layout/_widget/analytics/baidu-analytics.ejs
Executable file
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?<%= theme.analytics.site_id %>';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
3
themes/material/layout/_widget/analytics/cnzz-analytics.ejs
Executable file
3
themes/material/layout/_widget/analytics/cnzz-analytics.ejs
Executable file
@ -0,0 +1,3 @@
|
||||
<div style="display: none;">
|
||||
<script src="//s95.cnzz.com/z_stat.php?id=<%= theme.analytics.site_id %>&web_id=<%= theme.analytics.site_id %>" language="JavaScript"></script>
|
||||
</div>
|
7
themes/material/layout/_widget/analytics/google-analytics.ejs
Executable file
7
themes/material/layout/_widget/analytics/google-analytics.ejs
Executable file
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', '<%= theme.analytics.site_id %>', 'auto');ga('send', 'pageview');
|
||||
</script>
|
1
themes/material/layout/_widget/comment/163gentie/common.ejs
Executable file
1
themes/material/layout/_widget/comment/163gentie/common.ejs
Executable file
@ -0,0 +1 @@
|
||||
<script src="https://img1.cache.netease.com/f2e/tie/yun/sdk/loader.js"></script>
|
2
themes/material/layout/_widget/comment/163gentie/enter.ejs
Executable file
2
themes/material/layout/_widget/comment/163gentie/enter.ejs
Executable file
@ -0,0 +1,2 @@
|
||||
<div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div>
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/main') %>
|
8
themes/material/layout/_widget/comment/163gentie/main.ejs
Executable file
8
themes/material/layout/_widget/comment/163gentie/main.ejs
Executable file
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
var cloudTieConfig = {
|
||||
url: document.location.href,
|
||||
sourceId: "",
|
||||
productKey: "<%= theme.comment.gentie_productKey %>",
|
||||
target: "cloud-tie-wrapper"
|
||||
};
|
||||
</script>
|
4
themes/material/layout/_widget/comment/changyan/common.ejs
Executable file
4
themes/material/layout/_widget/comment/changyan/common.ejs
Executable file
@ -0,0 +1,4 @@
|
||||
<!-- 畅言公共 js 代码 start -->
|
||||
<script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=<%=theme.comment.changyan_appid%>">
|
||||
</script>
|
||||
<!-- 畅言公共 js 代码 end -->
|
10
themes/material/layout/_widget/comment/changyan/enter.ejs
Executable file
10
themes/material/layout/_widget/comment/changyan/enter.ejs
Executable file
@ -0,0 +1,10 @@
|
||||
<!-- 使用 changyan -->
|
||||
<div id="changyan-comment">
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/main') %>
|
||||
</div>
|
||||
<style>
|
||||
#changyan-comment{
|
||||
background-color: #eee;
|
||||
padding: 2pc;
|
||||
}
|
||||
</style>
|
9
themes/material/layout/_widget/comment/changyan/main.ejs
Executable file
9
themes/material/layout/_widget/comment/changyan/main.ejs
Executable file
@ -0,0 +1,9 @@
|
||||
<!--PC和WAP自适应版-->
|
||||
<div id="SOHUCS" sid="<% if(theme.comment.changyan_thread_key_type == "id"){ %><%= page.id %><% } else { %><%= page.path %><% } %>" ></div>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var appid = '<%= theme.comment.changyan_appid %>';
|
||||
var conf = '<%= theme.comment.changyan_conf %>';
|
||||
var width = window.innerWidth || document.documentElement.clientWidth;
|
||||
if (width < 960) {
|
||||
window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})}); } })(); </script>
|
2
themes/material/layout/_widget/comment/disqus/common.ejs
Executable file
2
themes/material/layout/_widget/comment/disqus/common.ejs
Executable file
@ -0,0 +1,2 @@
|
||||
<!-- 使用 DISQUS js 代码 -->
|
||||
<script id="dsq-count-scr" src="//<%= theme.comment.shortname %>.disqus.com/count.js" async></script>
|
10
themes/material/layout/_widget/comment/disqus/enter.ejs
Executable file
10
themes/material/layout/_widget/comment/disqus/enter.ejs
Executable file
@ -0,0 +1,10 @@
|
||||
<!-- 使用 DISQUS -->
|
||||
<div id="disqus-comment">
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/main') %>
|
||||
</div>
|
||||
<style>
|
||||
#disqus-comment{
|
||||
background-color: #eee;
|
||||
padding: 2pc;
|
||||
}
|
||||
</style>
|
18
themes/material/layout/_widget/comment/disqus/main.ejs
Executable file
18
themes/material/layout/_widget/comment/disqus/main.ejs
Executable file
@ -0,0 +1,18 @@
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
var disqus_config = function () {
|
||||
this.page.url = '<%= page.permalink %>'; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = '<%= page.permalink %>'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
};
|
||||
</script>
|
||||
<script type="text/ls-javascript" id="disqus-thread-script">
|
||||
queue.offer(function() {
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document;
|
||||
var s = d.createElement('script');
|
||||
s.src = '//<%= theme.comment.shortname %>.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', + new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
});
|
||||
</script>
|
1
themes/material/layout/_widget/comment/disqus_click/common.ejs
Executable file
1
themes/material/layout/_widget/comment/disqus_click/common.ejs
Executable file
@ -0,0 +1 @@
|
||||
<!-- 使用 DISQUS js 代码 -->
|
10
themes/material/layout/_widget/comment/disqus_click/enter.ejs
Executable file
10
themes/material/layout/_widget/comment/disqus_click/enter.ejs
Executable file
@ -0,0 +1,10 @@
|
||||
<!-- 使用 DISQUS_CLICK -->
|
||||
<div id="disqus-comment">
|
||||
<%- partial('_widget/comment/' + theme.comment.use + '/main') %>
|
||||
</div>
|
||||
<style>
|
||||
#disqus-comment{
|
||||
background-color: #eee;
|
||||
padding: 2pc;
|
||||
}
|
||||
</style>
|
56
themes/material/layout/_widget/comment/disqus_click/main.ejs
Executable file
56
themes/material/layout/_widget/comment/disqus_click/main.ejs
Executable file
@ -0,0 +1,56 @@
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<!-- add animation -->
|
||||
<style>
|
||||
.disqus_click_btn {
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
min-width: 50px;
|
||||
padding: 0 14px;
|
||||
display: inline-block;
|
||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0;
|
||||
overflow: hidden;
|
||||
will-change: box-shadow;
|
||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
background: rgba(158, 158, 158, .2);
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
color: #fff;
|
||||
background-color: <%= theme.uiux.button_color %>;
|
||||
text-shadow: 0
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="btn_click_load">
|
||||
<button class="disqus_click_btn"><%= __('post.comments_load_button') %></button>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var disqus_config = function () {
|
||||
this.page.url = '<%= page.permalink %>'; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = '<%= page.permalink %>'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
};
|
||||
</script>
|
||||
|
||||
<script type="text/ls-javascript" id="disqus-lazy-load-script">
|
||||
$('.btn_click_load').click(function() { //click to load comments
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document;
|
||||
var s = d.createElement('script');
|
||||
s.src = '//<%= theme.comment.shortname %>.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', + new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
$('.btn_click_load').css('display','none');
|
||||
});
|
||||
</script>
|
||||
|
78
themes/material/layout/_widget/leancloud-like.ejs
Executable file
78
themes/material/layout/_widget/leancloud-like.ejs
Executable file
@ -0,0 +1,78 @@
|
||||
<script type="text/ls-javascript" id="leancloud-like-script">
|
||||
function showTime(Like) {
|
||||
var query = new AV.Query(Like);
|
||||
$('.leancloud-like_num').each(function() {
|
||||
var url = $(this).attr('id').trim();
|
||||
query.equalTo('url', url);
|
||||
query.find({
|
||||
success: function(results) {
|
||||
if (results.length === 0) {
|
||||
var content = '0 ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
return;
|
||||
}
|
||||
for (var i = 0; i < results.length; i++) {
|
||||
var object = results[i];
|
||||
var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
}
|
||||
},
|
||||
error: function(object, error) {
|
||||
console.log('Error: ' + error.code + ' ' + error.message);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function addCount(Like) {
|
||||
var Like = AV.Object.extend('Like');
|
||||
url = $('.leancloud-like_num').attr('id').trim();
|
||||
title = $('.leancloud-like_num').attr('data-flag-title').trim();
|
||||
var query = new AV.Query(Like);
|
||||
query.equalTo('url', url);
|
||||
query.find({
|
||||
success: function(results) {
|
||||
if (results.length > 0) {
|
||||
var like = results[0];
|
||||
like.fetchWhenSave(true);
|
||||
like.increment('time');
|
||||
like.save(null, {
|
||||
success: function(like) {
|
||||
var content = like.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
},
|
||||
error: function(like, error) {
|
||||
console.log('Failed to save Visitor num, with error message: ' + error.message);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
var newlike = new Like();
|
||||
newlike.set('title', title);
|
||||
newlike.set('url', url);
|
||||
newlike.set('time', 1);
|
||||
newlike.save(null, {
|
||||
success: function(newlike) {
|
||||
console.log('newlike.get(\'time\')='+newlike.get('time'));
|
||||
var content = newlike.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
},
|
||||
error: function(newlike, error) {
|
||||
console.log('Failed to create');
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(error) {
|
||||
console.log('Error:' + error.code + ' ' + error.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
$(function() {
|
||||
var Like = AV.Object.extend('Like');
|
||||
if ($('.leancloud-like_num').length === 1) {
|
||||
addCount(Like);
|
||||
} else if ($('.post-title-link').length > 1) {
|
||||
showTime(Like);
|
||||
}
|
||||
});
|
||||
</script>
|
78
themes/material/layout/_widget/leancloud-views.ejs
Executable file
78
themes/material/layout/_widget/leancloud-views.ejs
Executable file
@ -0,0 +1,78 @@
|
||||
<script type="text/ls-javascript" id="leancloud-views-script">
|
||||
function showTime(Counter) {
|
||||
var query = new AV.Query(Counter);
|
||||
$('.leancloud-views_num').each(function() {
|
||||
var url = $(this).attr('id').trim();
|
||||
query.equalTo('url', url);
|
||||
query.find({
|
||||
success: function(results) {
|
||||
if (results.length === 0) {
|
||||
var content = '0 ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
return;
|
||||
}
|
||||
for (var i = 0; i < results.length; i++) {
|
||||
var object = results[i];
|
||||
var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
}
|
||||
},
|
||||
error: function(object, error) {
|
||||
console.log('Error: ' + error.code + ' ' + error.message);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function addCount(Counter) {
|
||||
var Counter = AV.Object.extend('Counter');
|
||||
url = $('.leancloud-views_num').attr('id').trim();
|
||||
title = $('.leancloud-views_num').attr('data-flag-title').trim();
|
||||
var query = new AV.Query(Counter);
|
||||
query.equalTo('url', url);
|
||||
query.find({
|
||||
success: function(results) {
|
||||
if (results.length > 0) {
|
||||
var counter = results[0];
|
||||
counter.fetchWhenSave(true);
|
||||
counter.increment('time');
|
||||
counter.save(null, {
|
||||
success: function(counter) {
|
||||
var content = counter.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
},
|
||||
error: function(counter, error) {
|
||||
console.log('Failed to save Visitor num, with error message: ' + error.message);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
var newcounter = new Counter();
|
||||
newcounter.set('title', title);
|
||||
newcounter.set('url', url);
|
||||
newcounter.set('time', 1);
|
||||
newcounter.save(null, {
|
||||
success: function(newcounter) {
|
||||
console.log('newcounter.get(\'time\')='+newcounter.get('time'));
|
||||
var content = newcounter.get('time') + ' ' + $(document.getElementById(url)).text();
|
||||
$(document.getElementById(url)).text(content);
|
||||
},
|
||||
error: function(newcounter, error) {
|
||||
console.log('Failed to create');
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(error) {
|
||||
console.log('Error:' + error.code + ' ' + error.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
$(function() {
|
||||
var Counter = AV.Object.extend('Counter');
|
||||
if ($('.leancloud-views_num').length === 1) {
|
||||
addCount(Counter);
|
||||
} else if ($('.post-title-link').length > 1) {
|
||||
showTime(Counter);
|
||||
}
|
||||
});
|
||||
</script>
|
3
themes/material/layout/_widget/leancloud-views_num.ejs
Executable file
3
themes/material/layout/_widget/leancloud-views_num.ejs
Executable file
@ -0,0 +1,3 @@
|
||||
<span id="<%= url_for(page.path) %>" class="leancloud-views_num" data-flag-title="<%= page.title %>">
|
||||
<%= __('post.views') %>
|
||||
</span>
|
20
themes/material/layout/_widget/mathjax.ejs
Executable file
20
themes/material/layout/_widget/mathjax.ejs
Executable file
@ -0,0 +1,20 @@
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
|
||||
tex2jax: { inlineMath: [ ["$", "$"], ["\\(","\\)"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno",skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']},
|
||||
TeX: { noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
|
||||
messageStyle: "none"
|
||||
});
|
||||
</script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Queue(function() {
|
||||
var all = MathJax.Hub.getAllJax(), i;
|
||||
for(i=0; i < all.length; i += 1) {
|
||||
all[i].SourceElement().parentNode.className += ' has-jax';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<script src="<%= theme.materialcdn.base %>/js/mathjax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
<%}else{%>
|
||||
<script type="text/javascript" src="/js/mathjax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
<%}%>
|
26
themes/material/layout/_widget/nprogress.ejs
Executable file
26
themes/material/layout/_widget/nprogress.ejs
Executable file
@ -0,0 +1,26 @@
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<%- jsLsload({path:(theme.materialcdn.base + '/js/nprogress.js'),key:'js/nprogress.js'}) %>
|
||||
<%}else{%>
|
||||
<%- jsLsload('js/nprogress.js') %>
|
||||
<%}%>
|
||||
|
||||
<script type="text/ls-javascript" id="NProgress-script">
|
||||
NProgress.configure({
|
||||
showSpinner: true
|
||||
});
|
||||
NProgress.start();
|
||||
$('#nprogress .bar').css({
|
||||
'background': '<%= theme.uiux.nprogress_color %>'
|
||||
});
|
||||
$('#nprogress .peg').css({
|
||||
'box-shadow': '0 0 10px <%= theme.uiux.nprogress_color %>, 0 0 15px <%= theme.uiux.nprogress_color %>'
|
||||
});
|
||||
$('#nprogress .spinner-icon').css({
|
||||
'border-top-color': '<%= theme.uiux.nprogress_color %>',
|
||||
'border-left-color': '<%= theme.uiux.nprogress_color %>'
|
||||
});
|
||||
setTimeout(function() {
|
||||
NProgress.done();
|
||||
$('.fade').removeClass('out');
|
||||
}, <%= theme.uiux.nprogress_buffer %>);
|
||||
</script>
|
115
themes/material/layout/_widget/page-gallery.ejs
Executable file
115
themes/material/layout/_widget/page-gallery.ejs
Executable file
@ -0,0 +1,115 @@
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<link rel="stylesheet" href="<%= theme.materialcdn.base %>/css/gallery.min.css">
|
||||
<%}else{%>
|
||||
<%- css('css/gallery.min') %>
|
||||
<%}%>
|
||||
|
||||
<body>
|
||||
<!-- Wrapper -->
|
||||
<div id="wrapper">
|
||||
|
||||
<!-- Header -->
|
||||
<header id="header">
|
||||
<h1>
|
||||
<a href="<%= config.root %>"><strong><%- config.title %></strong></a> - <%= page.title %>
|
||||
</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#footer" class="icon fa-info-circle">
|
||||
© <%- config.author %>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<!-- Main -->
|
||||
<div id="main">
|
||||
<% if (site.data.gallery) { %>
|
||||
<% for (var i in site.data.gallery) { %>
|
||||
<article class="thumb">
|
||||
<a href="<%= site.data.gallery[i].full_link %>" class="image lazy" data-original="<%= site.data.gallery[i].thumb_link %>"><img class="lazy" data-original="<%= site.data.gallery[i].thumb_link %>" alt="<%= i %>" /></a>
|
||||
<h2><%= i %></h2>
|
||||
<p><%= site.data.gallery[i].descr %></p>
|
||||
</article>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
<!-- Footer -->
|
||||
<!--
|
||||
<footer id="footer" class="panel">
|
||||
<div class="inner split">
|
||||
<div>
|
||||
<section>
|
||||
<h2>Magna feugiat sed adipiscing</h2>
|
||||
<p>Nulla consequat, ex ut suscipit rutrum, mi dolor tincidunt erat, et scelerisque turpis ipsum eget quis orci mattis aliquet. Maecenas fringilla et ante at lorem et ipsum. Dolor nulla eu bibendum sapien. Donec non pharetra dui. Nulla consequat, ex ut suscipit rutrum, mi dolor tincidunt erat, et scelerisque turpis ipsum.</p>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Follow me on ...</h2>
|
||||
<ul class="icons">
|
||||
<li><a href="#" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
|
||||
<li><a href="#" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
|
||||
<li><a href="#" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
|
||||
<li><a href="#" class="icon fa-github"><span class="label">GitHub</span></a></li>
|
||||
<li><a href="#" class="icon fa-dribbble"><span class="label">Dribbble</span></a></li>
|
||||
<li><a href="#" class="icon fa-linkedin"><span class="label">LinkedIn</span></a></li>
|
||||
<li><a href="#" class="icon fa-telegram"><span class="label">Telegram</span></a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<p class="copyright">
|
||||
© Design: <a href="#">Gallery</a>.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<section>
|
||||
<h2>Get in touch</h2>
|
||||
<form method="post" action="#">
|
||||
<div class="field half first">
|
||||
<input type="text" name="name" id="name" placeholder="Name" />
|
||||
</div>
|
||||
<div class="field half">
|
||||
<input type="text" name="email" id="email" placeholder="Email" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<textarea name="message" id="message" rows="4" placeholder="Message"></textarea>
|
||||
</div>
|
||||
<ul class="actions">
|
||||
<li><input type="submit" value="Send" class="special" /></li>
|
||||
<li><input type="reset" value="Reset" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<% if(theme.materialcdn.use === true) { %>
|
||||
<%- js(theme.materialcdn.base + "/js/jquery.min.js") %>
|
||||
<%- js(theme.materialcdn.base + "/js/gallery/gallery.js") %>
|
||||
<%- js(theme.materialcdn.base + "/js/lazyload.min.js") %>
|
||||
<%}else{%>
|
||||
<%- js('js/jquery.min') %>
|
||||
<%- js('js/gallery/gallery') %>
|
||||
<%- js('js/lazyload.min') %>
|
||||
<%}%>
|
||||
|
||||
<script>
|
||||
queue.offer(function(){
|
||||
$('.lazy').lazyload({
|
||||
effect: 'fadeIn',
|
||||
event: 'scrollstop'
|
||||
});
|
||||
})
|
||||
<!-- Start Queue -->
|
||||
$(document).ready(function(){
|
||||
setInterval(function(){
|
||||
queue.execNext();
|
||||
},200);
|
||||
});
|
||||
</script>
|
||||
</body>
|
113
themes/material/layout/_widget/page-links.ejs
Executable file
113
themes/material/layout/_widget/page-links.ejs
Executable file
@ -0,0 +1,113 @@
|
||||
<style>
|
||||
.md-links {
|
||||
min-height: calc(100% - 120px - 5pc - 6em);
|
||||
text-align: center;
|
||||
overflow: auto;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 680px) {
|
||||
.md-links {
|
||||
max-width: 640px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1000px) {
|
||||
.md-links {
|
||||
max-width: 960px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1320px) {
|
||||
.md-links {
|
||||
max-width: 1280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1640px) {
|
||||
.md-links {
|
||||
max-width: 1600px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.md-links {
|
||||
min-height: calc(100% - 200px - 5pc - 6em);
|
||||
margin-top: 6em;
|
||||
}
|
||||
}
|
||||
|
||||
.md-links-item {
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
height: 72px;
|
||||
line-height: 15px;
|
||||
margin: 20px 10px;
|
||||
padding: 0px 0px;
|
||||
transition: box-shadow 0.25s;
|
||||
}
|
||||
|
||||
.md-links a {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.md-links li {
|
||||
width: 300px;
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.md-links-item img {
|
||||
float: left;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 11px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.md-links-item:hover {
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.md-links-item a:hover{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.md-links-title {
|
||||
font-size: 20px;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
#scheme-Paradox .mdl-mini-footer{
|
||||
clear: left;
|
||||
}
|
||||
#bottom{
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
||||
<ul class="md-links">
|
||||
<% if (site.data.links) { %>
|
||||
<% for (var i in site.data.links) { %>
|
||||
<li class="md-links-item">
|
||||
<a href="<%= site.data.links[i].link %>" title="<%= i %>" target="_blank">
|
||||
<img src="<%= site.data.links[i].avatar %>" alt="<%= i %>" width="72px"/>
|
||||
<span class="md-links-title"><%= i %></span><br />
|
||||
<span><%= site.data.links[i].descr %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</ul>
|
||||
|
||||
<script type="text/ls-javascript" id="page-links-script">
|
||||
var adjustFooter = function() {
|
||||
if( ($('#bottom').offset().top + $('#bottom').outerHeight() )<$(window).height() ) {
|
||||
var footerBottom = $(window).height() - $('#bottom').outerHeight() - $('#bottom').offset().top;
|
||||
$('#bottom').css('bottom', '-' + footerBottom + 'px');
|
||||
}
|
||||
};
|
||||
$(document).ready(function() {
|
||||
adjustFooter();
|
||||
});
|
||||
</script>
|
55
themes/material/layout/_widget/page-tagcloud.ejs
Executable file
55
themes/material/layout/_widget/page-tagcloud.ejs
Executable file
@ -0,0 +1,55 @@
|
||||
<style>
|
||||
#bottom{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.material-tagscloud{
|
||||
margin: 6em 2em 0;
|
||||
}
|
||||
}
|
||||
|
||||
.material-tagscloud a{
|
||||
text-decoration:none;
|
||||
padding: 1px 9px;
|
||||
margin: 9px 1px;
|
||||
line-height: 40px;
|
||||
white-space: nowrap;
|
||||
transition: .6s;
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.material-tagscloud a:hover{
|
||||
transition: .6s;
|
||||
opacity: 1;
|
||||
background: #FAFAFA;
|
||||
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class=" material-tagscloud">
|
||||
<div class="material-post mdl-grid">
|
||||
<%- tagcloud({
|
||||
min_font: 16,
|
||||
max_font: 35,
|
||||
amount: 9999,
|
||||
color: true,
|
||||
start_color: '#757575',
|
||||
end_color: '#212121',
|
||||
}) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/ls-javascript" id="page-tagcloud-script">
|
||||
var adjustFooter = function() {
|
||||
if( ($('#bottom').offset().top + $('#bottom').outerHeight() ) < $(window).height() ) {
|
||||
var footerBottom = $(window).height() - $('#bottom').outerHeight() - $('#bottom').offset().top;
|
||||
$('#bottom').css('bottom', '-' + footerBottom + 'px');
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
adjustFooter();
|
||||
});
|
||||
</script>
|
442
themes/material/layout/_widget/page-timeline.ejs
Executable file
442
themes/material/layout/_widget/page-timeline.ejs
Executable file
@ -0,0 +1,442 @@
|
||||
<style>
|
||||
.md-container {
|
||||
width: 90%;
|
||||
max-width: 1170px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.md-container::after {
|
||||
content: '';
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
#md-timeline {
|
||||
position: relative;
|
||||
padding: 2em 0;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
@media screen and (max-device-width:480px){
|
||||
#md-timeline {
|
||||
margin-top: 6em;
|
||||
}
|
||||
}
|
||||
#md-timeline::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 18px;
|
||||
height: 100%;
|
||||
width: 2px;
|
||||
background: #d7e4ed;
|
||||
}
|
||||
.md-timeline-title {
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.md-timeline-content a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.md-timeline-info {
|
||||
height: 20px;
|
||||
width: 100%;
|
||||
margin: 10px 0px;
|
||||
}
|
||||
.md-timeline-info-span {
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
.md-timeline-excerpt {
|
||||
clear: right;
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
#md-timeline {
|
||||
margin-top: 3em;
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
#md-timeline::before {
|
||||
left: 50%;
|
||||
margin-left: -2px;
|
||||
}
|
||||
}
|
||||
.md-timeline-block {
|
||||
position: relative;
|
||||
margin: 2em 0;
|
||||
}
|
||||
.md-timeline-block:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.md-timeline-block:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.md-timeline-block:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
.md-timeline-block {
|
||||
margin: 4em 0;
|
||||
}
|
||||
.md-timeline-block:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.md-timeline-block:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.md-timeline-date {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 60px;
|
||||
height: 40px;
|
||||
border-radius: box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.md-timeline-date.blue {
|
||||
background: #0D395F;
|
||||
-webkit-box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
-moz-box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
.md-timeline-date {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
left: 50%;
|
||||
margin-left: -30px;
|
||||
/* Force Hardware Acceleration in WebKit */
|
||||
-webkit-transform: translateZ(0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
.cssanimations .md-timeline-date.is-hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
.cssanimations .md-timeline-date.bounce-in {
|
||||
visibility: visible;
|
||||
-webkit-animation: md-bounce-1 0.6s;
|
||||
-moz-animation: md-bounce-1 0.6s;
|
||||
animation: md-bounce-1 0.6s;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes md-bounce-1 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(0.5);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(1);
|
||||
}
|
||||
}
|
||||
@-moz-keyframes md-bounce-1 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-moz-transform: scale(0.5);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-moz-transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: scale(1);
|
||||
}
|
||||
}
|
||||
@keyframes md-bounce-1 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(0.5);
|
||||
-moz-transform: scale(0.5);
|
||||
-ms-transform: scale(0.5);
|
||||
-o-transform: scale(0.5);
|
||||
transform: scale(0.5);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1.2);
|
||||
-moz-transform: scale(1.2);
|
||||
-ms-transform: scale(1.2);
|
||||
-o-transform: scale(1.2);
|
||||
transform: scale(1.2);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
-o-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
.md-timeline-content {
|
||||
position: relative;
|
||||
margin-left: 60px;
|
||||
background: white;
|
||||
padding: 1em;
|
||||
-webkit-box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
-moz-box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
.md-timeline-content:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.md-timeline-content h2 {
|
||||
color: #303e49;
|
||||
}
|
||||
.md-timeline-content p, .md-timeline-content .md-read-more, .md-timeline-content .md-date {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
.md-timeline-content .md-read-more, .md-timeline-content .md-date {
|
||||
display: inline-block;
|
||||
}
|
||||
.md-timeline-content p {
|
||||
margin: 1em 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.md-timeline-content .md-read-more {
|
||||
float: right;
|
||||
padding: .8em 1em;
|
||||
background: #acb7c0;
|
||||
color: white;
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
.md-date {
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.no-touch .md-timeline-content .md-read-more:hover {
|
||||
background-color: #bac4cb;
|
||||
}
|
||||
.md-timeline-content::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 100%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
border: 7px solid transparent;
|
||||
border-right: 7px solid white;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.md-timeline-content h2 {
|
||||
font-size: 20px;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.md-timeline-content p {
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.md-timeline-content .md-read-more {
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
.md-date {
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.md-timeline-content {
|
||||
margin-left: 0;
|
||||
padding: 1.6em;
|
||||
width: 45%;
|
||||
}
|
||||
.md-timeline-content::before {
|
||||
top: 24px;
|
||||
left: 100%;
|
||||
border-color: transparent;
|
||||
border-left-color: white;
|
||||
}
|
||||
.md-timeline-content .md-read-more {
|
||||
float: left;
|
||||
}
|
||||
.md-timeline-block:nth-child(even) .md-timeline-content {
|
||||
float: right;
|
||||
}
|
||||
.md-timeline-block:nth-child(even) .md-timeline-content::before {
|
||||
top: 24px;
|
||||
left: auto;
|
||||
right: 100%;
|
||||
border-color: transparent;
|
||||
border-right-color: white;
|
||||
}
|
||||
.md-timeline-block:nth-child(even) .md-timeline-content .md-read-more {
|
||||
float: right;
|
||||
}
|
||||
.cssanimations .md-timeline-content.is-hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
.cssanimations .md-timeline-content.bounce-in {
|
||||
visibility: visible;
|
||||
-webkit-animation: md-bounce-2 0.6s;
|
||||
-moz-animation: md-bounce-2 0.6s;
|
||||
animation: md-bounce-2 0.6s;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
/* inverse bounce effect on even content blocks */
|
||||
.cssanimations .md-timeline-block:nth-child(even) .md-timeline-content.bounce-in {
|
||||
-webkit-animation: md-bounce-2-inverse 0.6s;
|
||||
-moz-animation: md-bounce-2-inverse 0.6s;
|
||||
animation: md-bounce-2-inverse 0.6s;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes md-bounce-2 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(20px);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@-moz-keyframes md-bounce-2 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-moz-transform: translateX(-100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-moz-transform: translateX(20px);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@keyframes md-bounce-2 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-100px);
|
||||
-moz-transform: translateX(-100px);
|
||||
-ms-transform: translateX(-100px);
|
||||
-o-transform: translateX(-100px);
|
||||
transform: translateX(-100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(20px);
|
||||
-moz-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
-o-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
-o-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes md-bounce-2-inverse {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(-20px);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@-moz-keyframes md-bounce-2-inverse {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-moz-transform: translateX(100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-moz-transform: translateX(-20px);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@keyframes md-bounce-2-inverse {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(100px);
|
||||
-moz-transform: translateX(100px);
|
||||
-ms-transform: translateX(100px);
|
||||
-o-transform: translateX(100px);
|
||||
transform: translateX(100px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(-20px);
|
||||
-moz-transform: translateX(-20px);
|
||||
-ms-transform: translateX(-20px);
|
||||
-o-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
-o-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<section id="md-timeline" class="md-container">
|
||||
<% if (site.posts.length) { -%>
|
||||
<% site.posts.sort('date', -1).limit(site.posts.length).each(function(post){ %>
|
||||
<div class="md-timeline-block">
|
||||
<div class="md-timeline-date blue">
|
||||
<div class="md-date"><%= date(post.date, 'MMM DD YYYY') %></div>
|
||||
</div>
|
||||
|
||||
<div class="md-timeline-content">
|
||||
<div class="md-timeline-title"><a href="<%- url_for(post.path) %>"><%= post.title %></a></div>
|
||||
<div class="md-timeline-info">
|
||||
<span class="md-timeline-info-span">Categories:
|
||||
<%- list_categories(post.categories, {
|
||||
show_count: false,
|
||||
style: 'none'
|
||||
}) %>
|
||||
</span>
|
||||
<span class="md-timeline-info-span">Tags:
|
||||
<%- list_tags(post.tags, {
|
||||
show_count: false,
|
||||
style: 'none'
|
||||
}) %>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<p class="md-timeline-excerpt">
|
||||
<% if(post.excerpt) { %>
|
||||
<%- strip_html(post.excerpt) %>
|
||||
<% }else{ %>
|
||||
<%- strip_html(truncate(post.content,{length: theme.reading.entry_excerpt })) %>
|
||||
<% } %>...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<% }) %>
|
||||
<% } -%>
|
||||
</section>
|
||||
|
||||
<script type="text/ls-javascript" id="page-timeline-script">
|
||||
var adjustFooter = function() {
|
||||
if( ($('#bottom').offset().top + $('#bottom').outerHeight() )<$(window).height() ) {
|
||||
var footerBottom = $(window).height() - $('#bottom').outerHeight() - $('#bottom').offset().top;
|
||||
$('#bottom').css('bottom', '-' + footerBottom + 'px');
|
||||
}
|
||||
};
|
||||
$(document).ready(function() {
|
||||
adjustFooter();
|
||||
});
|
||||
</script>
|
14
themes/material/layout/_widget/qrcode.ejs
Executable file
14
themes/material/layout/_widget/qrcode.ejs
Executable file
@ -0,0 +1,14 @@
|
||||
<button id="article-functions-qrcode-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
|
||||
<i class="material-icons" role="presentation">devices other</i>
|
||||
<span class="visuallyhidden">devices other</span>
|
||||
</button>
|
||||
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="article-functions-qrcode-button">
|
||||
<li class="mdl-menu__item"><%= __('post.qrcode') %></li>
|
||||
<% if(theme.qrcode.use === "plugin") { %>
|
||||
<img src="<%- qrcode(url, {
|
||||
margin: 2
|
||||
}) %>">
|
||||
<% } else if(theme.qrcode.use === "online") { %>
|
||||
<img src="https://pan.baidu.com/share/qrcode?w=246&h=246&url=<%= page.permalink %>">
|
||||
<% } %>
|
||||
</ul>
|
84
themes/material/layout/_widget/search-local-js.ejs
Executable file
84
themes/material/layout/_widget/search-local-js.ejs
Executable file
@ -0,0 +1,84 @@
|
||||
<script type="text/ls-javascript" id="search-local-js-script">
|
||||
var searchFunc = function(path, search_id, content_id) {
|
||||
'use strict';
|
||||
$.ajax({
|
||||
url: path,
|
||||
dataType: 'xml',
|
||||
success: function( xmlResponse ) {
|
||||
// get the contents from search data
|
||||
var datas = $( 'entry', xmlResponse ).map(function() {
|
||||
return {
|
||||
title: $( 'title', this ).text(),
|
||||
content: $('content',this).text(),
|
||||
url: $( 'url' , this).text()
|
||||
};
|
||||
}).get();
|
||||
var $input = document.getElementById(search_id);
|
||||
var $resultContent = document.getElementById(content_id);
|
||||
$input.addEventListener('input', function() {
|
||||
var str='<ul class=\"search-result-list\">';
|
||||
var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
|
||||
$resultContent.innerHTML = '';
|
||||
if (this.value.trim().length <= 0) {
|
||||
return;
|
||||
}
|
||||
// perform local searching
|
||||
datas.forEach(function(data) {
|
||||
var isMatch = true;
|
||||
var content_index = [];
|
||||
var data_title = data.title.trim().toLowerCase();
|
||||
var data_content = data.content.trim().replace(/<[^>]+>/g,'').toLowerCase();
|
||||
var data_url = data.url;
|
||||
var index_title = -1;
|
||||
var index_content = -1;
|
||||
var first_occur = -1;
|
||||
// only match artiles with not empty titles and contents
|
||||
if(data_title !== '' && data_content !== '') {
|
||||
keywords.forEach(function(keyword, i) {
|
||||
index_title = data_title.indexOf(keyword);
|
||||
index_content = data_content.indexOf(keyword);
|
||||
if( index_title < 0 && index_content < 0 ) {
|
||||
isMatch = false;
|
||||
} else {
|
||||
if (index_content < 0) {
|
||||
index_content = 0;
|
||||
}
|
||||
if (i === 0) {
|
||||
first_occur = index_content;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
// show search results
|
||||
if (isMatch) {
|
||||
str += '<li><a href="'+ data_url +'" class="search-result-title" target="_blank">'+ data_title;
|
||||
var content = data.content.trim().replace(/<[^>]+>/g, '');
|
||||
if (first_occur >= 0) {
|
||||
// cut out characters
|
||||
var start = first_occur - 6;
|
||||
var end = first_occur + 6;
|
||||
if (start < 0) {
|
||||
start = 0;
|
||||
}
|
||||
if (start === 0) {
|
||||
end = 10;
|
||||
}
|
||||
if (end > content.length) {
|
||||
end = content.length;
|
||||
}
|
||||
var match_content = content.substr(start, end);
|
||||
// highlight all keywords
|
||||
keywords.forEach(function(keyword) {
|
||||
var regS = new RegExp(keyword, 'gi');
|
||||
match_content = match_content.replace(regS, '<em class="search-keyword">'+keyword+'</em>');
|
||||
})
|
||||
str += '<p class="search-result">' + match_content + '...</p>' +'</a>';
|
||||
}
|
||||
}
|
||||
});
|
||||
$resultContent.innerHTML = str;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
8
themes/material/layout/_widget/search-swiftype-js.ejs
Executable file
8
themes/material/layout/_widget/search-swiftype-js.ejs
Executable file
@ -0,0 +1,8 @@
|
||||
<script type="text/ls-javascript" id="search-swiftype-js-script">
|
||||
(function(w,d,t,u,n,s,e) {w['SwiftypeObject']=n;w[n]=w[n]||function() {
|
||||
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
|
||||
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
|
||||
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
|
||||
|
||||
_st('install','<%= theme.search.swiftype_key %>','2.0.0');
|
||||
</script>
|
54
themes/material/layout/index.ejs
Executable file
54
themes/material/layout/index.ejs
Executable file
@ -0,0 +1,54 @@
|
||||
<!-- Index Module -->
|
||||
<div class="material-index mdl-grid">
|
||||
<% if( (theme.scheme === 'Paradox') && (page.current === 1) && (is_home()) ) { %>
|
||||
<!-- Paradox Header -->
|
||||
<%- partial('_partial/daily_pic') %>
|
||||
<%- partial('_partial/blog_info') %>
|
||||
<% } %>
|
||||
<div class="locate-thumbnail-symbol"></div>
|
||||
|
||||
<!-- Pin on top -->
|
||||
<% if(typeof hasposttop === 'function') { %>
|
||||
<% if(hasposttop(site.posts)) { %>
|
||||
<% getposttop(site.posts).each(function(toppost){ %>
|
||||
<% if(theme.scheme === 'Paradox'){ %>
|
||||
<!-- Paradox Thumbnail -->
|
||||
<%- partial('_partial/Paradox-post_entry', { post: toppost, index: true, pin: true }) %>
|
||||
<% } %>
|
||||
<% if(theme.scheme === 'Isolation'){ %>
|
||||
<!-- Isolation Thumbnail -->
|
||||
<%- partial('_partial/Isolation-post_entry', { post: toppost, index: true, pin: true }) %>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Normal Post -->
|
||||
<% page.posts.each(function(post) { %>
|
||||
<% if(!((typeof hasposttop === 'function') && post.top)) { %>
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Paradox Thumbnail -->
|
||||
<%- partial('_partial/Paradox-post_entry', { post: post, index: true, pin: false }) %>
|
||||
<% } %>
|
||||
<% if(theme.scheme === 'Isolation') { %>
|
||||
<!-- Isolation Thumbnail -->
|
||||
<%- partial('_partial/Isolation-post_entry', { post: post, index: true, pin: false }) %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
|
||||
<% if (page.total > 1) { %>
|
||||
<!-- Index nav -->
|
||||
<nav class="material-nav mdl-cell mdl-cell--12-col">
|
||||
<%- paginator({
|
||||
prev_text: __('<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"><i class="material-icons" role="presentation">arrow_back</i></button>'),
|
||||
next_text: __('<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"><i class="material-icons" role="presentation">arrow_forward</i></button>'),
|
||||
space: ''
|
||||
}) %>
|
||||
</nav>
|
||||
<% } %>
|
||||
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<%- partial('_partial/Paradox-post_entry-thumbnail') %>
|
||||
<% } %>
|
||||
</div>
|
47
themes/material/layout/layout.ejs
Executable file
47
themes/material/layout/layout.ejs
Executable file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="display: none;" <% if(config.language !== null) { %>lang="<%- config.language.substring(0,2) %>"<% } %>>
|
||||
<%- partial('_partial/head') %>
|
||||
|
||||
<% if(page.layout === 'gallery') { %>
|
||||
<!-- Single Gallery Page -->
|
||||
<%- partial('_widget/page-gallery') %>
|
||||
<% } else { %>
|
||||
<body id="scheme-<%= theme.scheme %>" class="lazy">
|
||||
<div class="material-layout mdl-js-layout has-drawer is-upgraded">
|
||||
<% if(theme.scheme === 'Isolation') { %>
|
||||
<!-- Isolation Header -->
|
||||
<%- partial('_partial/isolate_info') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Main Container -->
|
||||
<main class="material-layout__content" id="main">
|
||||
|
||||
<!-- Top Anchor -->
|
||||
<div id="top"></div>
|
||||
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Hamburger Button -->
|
||||
<button class="MD-burger-icon sidebar-toggle">
|
||||
<span class="MD-burger-layer"></span>
|
||||
</button>
|
||||
<% } %>
|
||||
|
||||
<%- body %>
|
||||
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<%- partial('_partial/sidebar') %>
|
||||
<% } %>
|
||||
|
||||
<% if( (theme.scheme === 'Paradox') && (is_post() || is_home() || is_archive() || is_category() || (page.totop === true) ) ) { %>
|
||||
<!-- Footer Top Button -->
|
||||
<%- partial('_partial/footer_top') %>
|
||||
<% } %>
|
||||
|
||||
<%- partial('_partial/footer') %>
|
||||
|
||||
<%- partial('_partial/import_js') %>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
<% } %>
|
||||
</html>
|
52
themes/material/layout/post.ejs
Executable file
52
themes/material/layout/post.ejs
Executable file
@ -0,0 +1,52 @@
|
||||
<!-- Post TOC -->
|
||||
<% if( (page.toc === true) || (is_post() && page.toc !== false) ) { %>
|
||||
<%- partial('_partial/toc_button') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Layouts -->
|
||||
<% if(page.layout === 'tags') { %>
|
||||
<!-- Tags Cloud -->
|
||||
<%- partial('_widget/page-tagcloud') %>
|
||||
|
||||
<% } else if(page.layout === 'links') { %>
|
||||
<!-- Single Links Page -->
|
||||
<%- partial('_widget/page-links') %>
|
||||
|
||||
<% } else if(page.layout === 'timeline') { %>
|
||||
<!-- Single Timeline Page -->
|
||||
<%- partial('_widget/page-timeline') %>
|
||||
|
||||
<% } else { %>
|
||||
<!-- Post Module -->
|
||||
<div class="material-post_container">
|
||||
|
||||
<div class="material-post mdl-grid">
|
||||
<div class="mdl-card mdl-shadow--4dp mdl-cell mdl-cell--12-col">
|
||||
|
||||
<!-- Post Header(Thumbnail & Title) -->
|
||||
<%- partial('_partial/post-header') %>
|
||||
|
||||
<% if(theme.scheme === 'Paradox') { %>
|
||||
<!-- Paradox Post Info -->
|
||||
<%- partial('_partial/Paradox-post-info') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Post Content -->
|
||||
<%- partial('_partial/post-content') %>
|
||||
|
||||
<% if(theme.scheme === 'Isolation') { %>
|
||||
<!-- Paradox Post Info -->
|
||||
<%- partial('_partial/Isolation-post-info') %>
|
||||
<% } %>
|
||||
|
||||
<!-- Post Comments -->
|
||||
<% if(page.comment !== false) { %>
|
||||
<%- partial('_partial/comment') %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<!-- Post Prev & Next Nav -->
|
||||
<%- partial('_partial/post-nav') %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
19
themes/material/lint.sh
Executable file
19
themes/material/lint.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Lint EJS files
|
||||
for f in $(find ./layout -name "*.ejs"); do
|
||||
echo $f;
|
||||
node_modules/.bin/ejslint $f;
|
||||
done
|
||||
|
||||
# Lint CSS files
|
||||
for f in $(find ./source/ -name "*.css" | grep -v ".min.css"); do
|
||||
echo $f;
|
||||
node_modules/.bin/sass-lint -v -q $f;
|
||||
done
|
||||
|
||||
# Lint JS files
|
||||
for f in $(find ./source/ -name "*.js" | grep -v ".min.js"); do
|
||||
echo $f;
|
||||
node_modules/.bin/eslint $f;
|
||||
done
|
32
themes/material/package.json
Executable file
32
themes/material/package.json
Executable file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "hexo-material",
|
||||
"version": "1.4.0",
|
||||
"description": "Material Design Theme for Hexo",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\"",
|
||||
"setup": "npm cache clean && npm install",
|
||||
"lint": "npm run setup && bash lint.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/viosey/hexo-theme-material.git"
|
||||
},
|
||||
"keywords": [
|
||||
"hexo",
|
||||
"theme",
|
||||
"material"
|
||||
],
|
||||
"author": "Viosey",
|
||||
"license": "GPL-3.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/viosey/hexo-theme-material/issues"
|
||||
},
|
||||
"homepage": "https://github.com/viosey/hexo-theme-material#readme",
|
||||
"devDependencies": {
|
||||
"ejs-lint": "^0.2.0",
|
||||
"eslint": "^3.14.0",
|
||||
"eslint-config-airbnb-base": "^11.0.1",
|
||||
"eslint-plugin-import": "^2.2.0",
|
||||
"sass-lint": "^1.10.2"
|
||||
}
|
||||
}
|
11
themes/material/scripts/helper.js
Executable file
11
themes/material/scripts/helper.js
Executable file
@ -0,0 +1,11 @@
|
||||
hexo.extend.helper.register('jsHex', function(){
|
||||
return require("./lib/js_hex.js").call(hexo,...arguments);
|
||||
});
|
||||
|
||||
hexo.extend.helper.register('jsLsload', function(){
|
||||
return require("./lib/js_lsload.js").call(hexo,...arguments);
|
||||
});
|
||||
|
||||
hexo.extend.helper.register('cssLsload', function(){
|
||||
return require("./lib/css_lsload.js").call(hexo,...arguments);
|
||||
});
|
41
themes/material/scripts/lib/css_lsload.js
Executable file
41
themes/material/scripts/lib/css_lsload.js
Executable file
@ -0,0 +1,41 @@
|
||||
'use strict';
|
||||
|
||||
var path_for = require("./path_for");
|
||||
var get_file_hex = require("./get_file_hex");
|
||||
var fs = require('fs');
|
||||
|
||||
function cssHelper() {
|
||||
var result = '';
|
||||
var path = '';
|
||||
var key = ''
|
||||
|
||||
for (var i = 0, len = arguments.length; i < len; i++) {
|
||||
if (typeof arguments[i] === 'string'){
|
||||
path = arguments[i];
|
||||
key = path;
|
||||
}else{
|
||||
path = arguments[i].path;
|
||||
key = arguments[i].key
|
||||
}
|
||||
|
||||
if (i) result += '\n';
|
||||
|
||||
if (Array.isArray(path)) {
|
||||
result += jsHelper.apply(this, path);
|
||||
} else {
|
||||
if (path.indexOf('?') < 0 && path.substring(path.length - 4, path.length) !== '.css') path += '.css';
|
||||
var localpath = path_for.call(this,path);
|
||||
result += '<style id="' + key + '"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;' +
|
||||
'window.lsLoadCSSMaxNums++;' +
|
||||
'lsloader.load("' + key + '","' +
|
||||
require("../../../../node_modules/hexo/lib/plugins/helper/url_for").call(this,path) +
|
||||
(fs.existsSync(localpath)?'?' + get_file_hex(localpath):'') + '",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;' +
|
||||
'window.lsLoadCSSNums++;' +
|
||||
'if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";' +
|
||||
'})</script>'
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = cssHelper;
|
0
themes/material/scripts/lib/font_lsload.js
Executable file
0
themes/material/scripts/lib/font_lsload.js
Executable file
14
themes/material/scripts/lib/get_file_hex.js
Executable file
14
themes/material/scripts/lib/get_file_hex.js
Executable file
@ -0,0 +1,14 @@
|
||||
var fs = require('fs');
|
||||
var crypto = require('crypto');
|
||||
|
||||
|
||||
function getFileHexSync(filepath) {
|
||||
var buffer = fs.readFileSync(filepath);
|
||||
var fsHash = crypto.createHash('md5');
|
||||
|
||||
fsHash.update(buffer);
|
||||
var sha384 = fsHash.digest('base64');
|
||||
return sha384;
|
||||
}
|
||||
|
||||
module.exports = getFileHexSync
|
26
themes/material/scripts/lib/js_hex.js
Executable file
26
themes/material/scripts/lib/js_hex.js
Executable file
@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
var path_for = require("./path_for");
|
||||
var get_file_hex = require("./get_file_hex");
|
||||
|
||||
function jsHelper() {
|
||||
var result = '';
|
||||
var path = '';
|
||||
|
||||
for (var i = 0, len = arguments.length; i < len; i++) {
|
||||
path = arguments[i];
|
||||
|
||||
if (i) result += '\n';
|
||||
|
||||
if (Array.isArray(path)) {
|
||||
result += jsHelper.apply(this, path);
|
||||
} else {
|
||||
if (path.indexOf('?') < 0 && path.substring(path.length - 3, path.length) !== '.js') path += '.js';
|
||||
result += '<script src="' + require("../../../../node_modules/hexo/lib/plugins/helper/url_for").call(this,path) + '?' + get_file_hex(path_for.call(this,path)) + '"></script>';
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = jsHelper;
|
37
themes/material/scripts/lib/js_lsload.js
Executable file
37
themes/material/scripts/lib/js_lsload.js
Executable file
@ -0,0 +1,37 @@
|
||||
'use strict';
|
||||
|
||||
var path_for = require("./path_for");
|
||||
var get_file_hex = require("./get_file_hex");
|
||||
var fs = require('fs');
|
||||
|
||||
function jsHelper() {
|
||||
var result = '';
|
||||
var path = '';
|
||||
var key = ''
|
||||
|
||||
for (var i = 0, len = arguments.length; i < len; i++) {
|
||||
|
||||
if (typeof arguments[i] === 'string'){
|
||||
path = arguments[i];
|
||||
key = path;
|
||||
}else{
|
||||
path = arguments[i].path;
|
||||
key = arguments[i].key
|
||||
}
|
||||
|
||||
if (i) result += '\n';
|
||||
|
||||
if (Array.isArray(path)) {
|
||||
result += jsHelper.apply(this, path);
|
||||
} else {
|
||||
if (path.indexOf('?') < 0 && path.substring(path.length - 3, path.length) !== '.js') path += '.js';
|
||||
var localpath = path_for.call(this,path);
|
||||
result += '<script>lsloader.load("' + key + '","' +
|
||||
require("../../../../node_modules/hexo/lib/plugins/helper/url_for").call(this,path) +
|
||||
(fs.existsSync(localpath)?'?' + get_file_hex(localpath):'') + '")</script>'
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = jsHelper;
|
13
themes/material/scripts/lib/path_for.js
Executable file
13
themes/material/scripts/lib/path_for.js
Executable file
@ -0,0 +1,13 @@
|
||||
var path = require('path');
|
||||
var fs = require('fs');
|
||||
|
||||
function pathFor(paths) {
|
||||
var res = "";
|
||||
res = path.join(this.theme_dir,"source" , paths);
|
||||
if(!fs.existsSync(res)){
|
||||
res = path.join(this.source_dir, paths);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
module.exports = pathFor;
|
927
themes/material/source/css/disqus-proxy.css
Executable file
927
themes/material/source/css/disqus-proxy.css
Executable file
@ -0,0 +1,927 @@
|
||||
.comment-toggle {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-input {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-input:checked+.comment-toggle-icon {
|
||||
background-color: #2aa0ff
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-input:checked+.comment-toggle-icon:before {
|
||||
margin-left: 11px
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-icon {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 20px;
|
||||
background-color: #434343;
|
||||
border-radius: 10px;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
padding: 2.5px 3px;
|
||||
-webkit-transition: all .3s;
|
||||
transition: all .3s
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-icon:before {
|
||||
-webkit-transition: all .3s;
|
||||
transition: all .3s;
|
||||
content: "";
|
||||
display: block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border-radius: 50%;
|
||||
background-color: #fff
|
||||
}
|
||||
|
||||
.comment-toggle .comment-toggle-button {
|
||||
display: block;
|
||||
color: #fff!important;
|
||||
background-color: #434343;
|
||||
border-radius: 2px;
|
||||
line-height: 20px;
|
||||
height: 20px;
|
||||
padding: 0 3px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
margin: 0 5px
|
||||
}
|
||||
|
||||
.comment {
|
||||
font: 13px/1.6 Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei,sans-serif;
|
||||
min-height: 40px;
|
||||
margin: 5px auto;
|
||||
word-wrap: break-word
|
||||
}
|
||||
|
||||
.comment .icon {
|
||||
max-width: 20px
|
||||
}
|
||||
|
||||
.comment * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
.comment b,.comment strong {
|
||||
font-weight: 700;
|
||||
color: #000
|
||||
}
|
||||
|
||||
.comment :focus {
|
||||
outline: none
|
||||
}
|
||||
|
||||
.comment abbr[title] {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
.comment.loading {
|
||||
position: relative;
|
||||
background: url(https://a.disquscdn.com/next/embed/assets/img/loader-bg.173909e4737a7481df14d5492b5eeb48.png) no-repeat!important;
|
||||
display: block;
|
||||
height: 52px;
|
||||
width: 54px;
|
||||
margin: 20px auto;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
.comment.loading>* {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment.loading:after {
|
||||
content: "";
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 15px;
|
||||
border-width: 3px;
|
||||
border-style: solid;
|
||||
border-color: rgba(51,54,58,.4) transparent;
|
||||
border-radius: 13px;
|
||||
-webkit-transform-origin: 50% 50% 0;
|
||||
transform-origin: 50% 50% 0;
|
||||
-webkit-animation: disqus-loader-spinner-animation .7s infinite linear!important;
|
||||
animation: disqus-loader-spinner-animation .7s infinite linear!important
|
||||
}
|
||||
|
||||
.comment.guestbook .comment-header {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-box {
|
||||
margin: 20px 0
|
||||
}
|
||||
|
||||
.comment-box,.comment-header {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.comment-header {
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2px solid #e7e9ee;
|
||||
color: #656c7a
|
||||
}
|
||||
|
||||
.comment-header .comment-header-item {
|
||||
display: inline-block;
|
||||
border-bottom: 2px solid #656c7a;
|
||||
margin-bottom: -2px;
|
||||
padding: 0 7px
|
||||
}
|
||||
|
||||
.comment-header .comment-show {
|
||||
position: relative;
|
||||
color: #2a2e2e;
|
||||
cursor: pointer;
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-header .comment-header-count,.comment-header .comment-show {
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
-webkit-transition: all .2s ease-in-out;
|
||||
transition: all .2s ease-in-out;
|
||||
text-transform: capitalize
|
||||
}
|
||||
|
||||
.comment-header .comment-header-count {
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
.comment-header .comment-header-count:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 2px;
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #2e9fff
|
||||
}
|
||||
|
||||
.comment-form {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
color: #7f919e;
|
||||
line-height: 30px;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
left: 10px;
|
||||
right: 9px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
cursor: text;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.comment-form-wrapper {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
border: 2px solid #dbdfe4;
|
||||
border-radius: 4px;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.comment-actions,.comment-form-wrapper {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.comment-actions {
|
||||
background: #f6f8f9;
|
||||
border-radius: 0 0 2px 2px;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
height: 0;
|
||||
-webkit-transition: opacity .2s linear;
|
||||
transition: opacity .2s linear;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-group {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-input {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-input[type=checkbox]:checked+.comment-actions-label .icon {
|
||||
fill: #1d2f3a
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-label {
|
||||
display: inline-block;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-label .icon {
|
||||
height: 18px;
|
||||
margin: 8px;
|
||||
display: inline-block;
|
||||
color: #737474;
|
||||
cursor: pointer;
|
||||
fill: #c2c6cc;
|
||||
-webkit-transition: all .2s;
|
||||
transition: all .2s
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-label:hover .icon {
|
||||
fill: #1d2f3a!important
|
||||
}
|
||||
|
||||
.comment-actions .exit {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-actions .emojione-list {
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
visibility: hidden;
|
||||
list-style: none;
|
||||
width: 125px;
|
||||
height: 125px;
|
||||
background-color: hsla(0,0%,100%,.96);
|
||||
padding: 5px 0 0 5px;
|
||||
border-radius: 2px;
|
||||
border: 2px solid #c2c6cc;
|
||||
top: -125px;
|
||||
left: -2px;
|
||||
margin-left: 0;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap
|
||||
}
|
||||
|
||||
.comment-actions .emojione-item {
|
||||
position: relative;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
margin: 0 5px 5px 0
|
||||
}
|
||||
|
||||
.comment-actions .emojione-item:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 4
|
||||
}
|
||||
|
||||
.comment-actions .emojione-item-image {
|
||||
height: 22px;
|
||||
width: 22px
|
||||
}
|
||||
|
||||
.comment-actions .comment-actions-input[type=checkbox]:checked+.emojione .emojione-list {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
visibility: visible!important
|
||||
}
|
||||
|
||||
.expanded .comment-image {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-progress {
|
||||
position: relative;
|
||||
height: 80px;
|
||||
width: 0;
|
||||
background: url("https://a.disquscdn.com/next/embed/assets/img/loader.5cc23909da9c4a9874500d7a85c4125f.gif") 50% no-repeat;
|
||||
margin: 0 5px;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-progress:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
top: 55px;
|
||||
bottom: 20px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 5px;
|
||||
width: 100%;
|
||||
background-color: #dbdfe4
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-progress .comment-image-loaded {
|
||||
position: absolute;
|
||||
background-color: #7f919e;
|
||||
top: 55px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
height: 5px;
|
||||
width: 0
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-list {
|
||||
list-style: none;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-item {
|
||||
height: 80px;
|
||||
margin-left: 5px;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-item:before {
|
||||
overflow: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
-webkit-transition: all .3s;
|
||||
transition: all .3s;
|
||||
content: "\70B9\51FB\79FB\9664";
|
||||
display: block;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
background-color: rgba(0,0,0,.5);
|
||||
line-height: 25px;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-item:hover:before {
|
||||
height: 25px
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-item .comment-image-object {
|
||||
height: 100%;
|
||||
border-radius: 3px;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.expanded .comment-image .comment-image-item.loading .comment-image-object {
|
||||
width: 20px;
|
||||
margin: 0 30px
|
||||
}
|
||||
|
||||
.comment-form-wrapper .tips,.expanded .comment-image .comment-image-item.loading:before {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing+.comment-login {
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-form-textarea {
|
||||
font: 13px/15px Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei;
|
||||
height: 74px
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-image {
|
||||
-webkit-transition: padding-bottom .15s ease-in-out;
|
||||
transition: padding-bottom .15s ease-in-out;
|
||||
background-color: rgba(16,48,68,.03)
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-actions {
|
||||
-webkit-transition: all .2s ease-in-out;
|
||||
transition: all .2s ease-in-out;
|
||||
border-top: 2px solid #dbdfe4;
|
||||
opacity: 1;
|
||||
height: 36px;
|
||||
filter: alpha(opacity=100);
|
||||
visibility: visible!important
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-actions-form {
|
||||
-webkit-transition: all .3s .5s;
|
||||
transition: all .3s .5s;
|
||||
margin: 87px -2px -2px
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-form-submit {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing {
|
||||
position: relative;
|
||||
display: block
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-tips {
|
||||
position: absolute;
|
||||
width: 125px;
|
||||
height: 70px;
|
||||
font-size: 12px;
|
||||
border-radius: 4px;
|
||||
top: 50%;
|
||||
margin-top: -35px;
|
||||
left: -125px;
|
||||
background-color: #fff;
|
||||
border: 2px solid #c2c6cc;
|
||||
padding: 5px;
|
||||
line-height: 15px;
|
||||
display: none;
|
||||
cursor: text
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-tips:before {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: -8px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
border-style: solid;
|
||||
border-width: 8px 0 8px 8px;
|
||||
border-color: transparent #c2c6cc
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing .comment-tips:after {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: -5px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
border-style: solid;
|
||||
border-width: 5px 0 5px 5px;
|
||||
border-color: transparent #fff
|
||||
}
|
||||
|
||||
.comment-form-wrapper.editing #tips-input:checked+.tips .comment-tips {
|
||||
display: block
|
||||
}
|
||||
|
||||
.comment-form-wrapper.focus {
|
||||
border: 2px solid #c2c6cc
|
||||
}
|
||||
|
||||
.comment-form-wrapper.focus .comment-actions {
|
||||
border-top: 2px solid #c2c6cc
|
||||
}
|
||||
|
||||
.comment-form-wrapper.focus .comment-actions .comment-actions-label .icon {
|
||||
fill: #656c7a
|
||||
}
|
||||
|
||||
.comment-form-wrapper.focus.expanded .comment-image {
|
||||
border-top: 2px solid #c2c6cc
|
||||
}
|
||||
|
||||
.comment-form-wrapper.expanded .comment-image {
|
||||
border-top: 2px solid #dbdfe4;
|
||||
padding: 10px 0 8px
|
||||
}
|
||||
|
||||
.comment-form-wrapper.logged-in .comment-form-submit {
|
||||
border-radius: 0 0 4px;
|
||||
-webkit-transition: none;
|
||||
transition: none;
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
.comment-form-wrapper.logged-in .comment-actions-form {
|
||||
margin: 0;
|
||||
-webkit-transition: all .5s;
|
||||
transition: all .5s
|
||||
}
|
||||
|
||||
.comment-form-wrapper.logged-in+.comment-login {
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
margin-top: -40px
|
||||
}
|
||||
|
||||
.comment-form-wrapper.logged-in .tips {
|
||||
display: none
|
||||
}
|
||||
|
||||
.comment-form-wrapper.logged-in .exit {
|
||||
display: block
|
||||
}
|
||||
|
||||
.comment-form-wrapper .comment-form-textarea {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border: none;
|
||||
overflow: auto;
|
||||
color: #2a2e2e;
|
||||
cursor: text;
|
||||
resize: none;
|
||||
height: 44px;
|
||||
font: 18px/30px Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei;
|
||||
padding: 7px;
|
||||
-webkit-transition: all .2s ease-in-out;
|
||||
transition: all .2s ease-in-out
|
||||
}
|
||||
|
||||
.comment-actions-form {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex
|
||||
}
|
||||
|
||||
.comment-actions-form .comment-form-submit {
|
||||
z-index: 1;
|
||||
border: none;
|
||||
opacity: 0;
|
||||
margin: -2px;
|
||||
white-space: nowrap;
|
||||
border-radius: 4px;
|
||||
height: 38px;
|
||||
width: 80px;
|
||||
display: inline-block;
|
||||
background-color: rgba(29,47,58,.6);
|
||||
cursor: pointer;
|
||||
line-height: 38px
|
||||
}
|
||||
|
||||
.comment-actions-form .comment-form-submit .icon {
|
||||
margin: 9px;
|
||||
fill: #fff;
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px
|
||||
}
|
||||
|
||||
.comment-actions-form .comment-form-submit:hover {
|
||||
background-color: rgba(29,47,58,.75)
|
||||
}
|
||||
|
||||
.comment-login {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
opacity: 0;
|
||||
-webkit-transition: all .5s .2s;
|
||||
transition: all .5s .2s;
|
||||
height: 0;
|
||||
margin: -40px -5px 40px;
|
||||
overflow: hidden;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap
|
||||
}
|
||||
|
||||
.comment-thread-form {
|
||||
text-align: center;
|
||||
color: #656c7a;
|
||||
line-height: 32px;
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
.comment-thread-form .comment-form-submit {
|
||||
background-color: rgba(29,47,58,.6);
|
||||
border: none;
|
||||
white-space: nowrap;
|
||||
border-radius: 4px;
|
||||
height: 38px;
|
||||
width: 120px;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
line-height: 38px;
|
||||
margin: 10px 0;
|
||||
color: #fff;
|
||||
font-size: 15px
|
||||
}
|
||||
|
||||
.comment-thread-form .comment-form-submit:hover {
|
||||
background-color: rgba(29,47,58,.75)
|
||||
}
|
||||
|
||||
.comment-form-item {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin: 10px 0
|
||||
}
|
||||
|
||||
.comment-form-item .comment-form-label {
|
||||
display: block;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
font-size: 14px;
|
||||
color: #656c7a;
|
||||
width: 80px;
|
||||
text-align: right;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.comment-form-item .comment-form-textarea {
|
||||
background-color: #fff;
|
||||
border: 2px solid #dbdfe4;
|
||||
-webkit-transition: all .2s linear;
|
||||
transition: all .2s linear;
|
||||
padding: 2px 10px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
height: 64px;
|
||||
margin: 0 5px;
|
||||
width: 30px;
|
||||
line-height: 20px;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto
|
||||
}
|
||||
|
||||
.comment-form-item .comment-form-textarea:focus {
|
||||
border: 2px solid #c2c6cc
|
||||
}
|
||||
|
||||
.comment-form-input {
|
||||
background-color: #fff;
|
||||
border: 2px solid #dbdfe4;
|
||||
-webkit-transition: all .2s linear;
|
||||
transition: all .2s linear;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
height: 32px;
|
||||
margin: 0 5px;
|
||||
width: 30px;
|
||||
line-height: 32px;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto
|
||||
}
|
||||
|
||||
.comment-form-input:focus {
|
||||
border: 2px solid #c2c6cc
|
||||
}
|
||||
|
||||
.comment-item-children,.comment-list {
|
||||
text-align: left;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
line-height: 20px
|
||||
}
|
||||
|
||||
.comment-avatar,.comment-item-avatar {
|
||||
display: block;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-right: 12px
|
||||
}
|
||||
|
||||
.comment-avatar img,.comment-item-avatar img {
|
||||
border-radius: 3px;
|
||||
width: 48px;
|
||||
height: 48px
|
||||
}
|
||||
|
||||
@-webkit-keyframes disqus-loader-spinner-animation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0)
|
||||
}
|
||||
|
||||
to {
|
||||
-webkit-transform: rotate(1turn);
|
||||
transform: rotate(1turn)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes disqus-loader-spinner-animation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0)
|
||||
}
|
||||
|
||||
to {
|
||||
-webkit-transform: rotate(1turn);
|
||||
transform: rotate(1turn)
|
||||
}
|
||||
}
|
||||
|
||||
.comment-list {
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
.comment-list p {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.comment-list a {
|
||||
text-decoration: none;
|
||||
color: #0095dd
|
||||
}
|
||||
|
||||
.comment-list a[href="javascript:void(0);"] {
|
||||
color: #000;
|
||||
cursor: default
|
||||
}
|
||||
|
||||
.comment-list #comment-preview {
|
||||
opacity: .6
|
||||
}
|
||||
|
||||
.comment-list .comment-item {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin-bottom: 10px
|
||||
}
|
||||
|
||||
.comment-list .comment-item .comment-item {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.comment-list .comment-item-header {
|
||||
line-height: 1.2;
|
||||
color: #c2c6cc
|
||||
}
|
||||
|
||||
.comment-list .comment-item-header .comment-item-time {
|
||||
color: #7f919e;
|
||||
word-spacing: -2px;
|
||||
font-weight: 500
|
||||
}
|
||||
|
||||
.comment-list .comment-item-header .comment-item-cancel,.comment-list .comment-item-header .comment-item-name {
|
||||
color: #0095dd;
|
||||
font-weight: 700;
|
||||
border-bottom: none
|
||||
}
|
||||
|
||||
.comment-list .comment-item-header .comment-item-name[href^=javascript] {
|
||||
cursor: text;
|
||||
color: #000
|
||||
}
|
||||
|
||||
.comment-list .comment-item-header .comment-item-reply {
|
||||
color: #656c7a;
|
||||
font-weight: 500;
|
||||
border-bottom: none
|
||||
}
|
||||
|
||||
.comment-list .comment-item-images {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin: 0 -5px;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap
|
||||
}
|
||||
|
||||
.comment-list .comment-item-images .comment-item-imagelink {
|
||||
height: 100px;
|
||||
margin: 0 5px
|
||||
}
|
||||
|
||||
.comment-list .comment-item-images .comment-item-imagelink:hover {
|
||||
border-bottom: none
|
||||
}
|
||||
|
||||
.comment-list .comment-item-images .comment-item-image {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.comment-list .comment-item.transparent {
|
||||
opacity: .4
|
||||
}
|
||||
|
||||
.comment-list .comment-item-content {
|
||||
min-height: 40px;
|
||||
padding: 5px 0;
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
.comment-list .comment-item-content .at {
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
.comment-list .comment-item-content .comment-item-content {
|
||||
min-height: 20px
|
||||
}
|
||||
|
||||
.comment-list .comment-item-content img.emojione {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin: 0 3px
|
||||
}
|
||||
|
||||
.comment-list .comment-box {
|
||||
margin: 6px 0
|
||||
}
|
||||
|
||||
.comment-list .comment-avatar,.comment-list .comment-avatar-image,.comment-list .comment-item-children .comment-item-avatar,.comment-list .comment-item-children .comment-item-avatar img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-right: 6px
|
||||
}
|
||||
|
||||
.comment-list .comment-form-textarea {
|
||||
height: 32px;
|
||||
padding: 5px;
|
||||
line-height: 22px;
|
||||
font-size: 15px
|
||||
}
|
||||
|
||||
.comment-list .comment-item-main {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1
|
||||
}
|
||||
|
||||
.comment-list .comment-item-children .comment-item-children .comment-item-children .comment-box,.comment-list .comment-item-children .comment-item-children .comment-item-children .comment-item-children {
|
||||
margin-left: -42px
|
||||
}
|
||||
|
||||
.comment-loadmore {
|
||||
font-weight: 500;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 11px 14px;
|
||||
background-color: rgba(29,47,58,.6);
|
||||
color: #fff!important;
|
||||
line-height: 1.1;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: background .2s;
|
||||
transition: background .2s;
|
||||
text-shadow: none
|
||||
}
|
||||
|
||||
.comment-loadmore:hover {
|
||||
background-color: rgba(29,47,58,.7);
|
||||
border-bottom: none!important
|
||||
}
|
||||
|
||||
.comment-loadmore.loading {
|
||||
background-color: #edeff2;
|
||||
color: #444!important;
|
||||
cursor: wait
|
||||
}
|
||||
|
||||
@media screen and (max-width:450px) {
|
||||
.comment-item .comment-item-children .comment-box,.comment-item .comment-item-children .comment-item-children {
|
||||
margin-left: 0!important
|
||||
}
|
||||
|
||||
.comment-item .at,.comment-item .comment-avatar,.comment-item .comment-item-children .comment-item-avatar {
|
||||
display: none
|
||||
}
|
||||
}
|
||||
|
||||
.emojione .tips {
|
||||
display: none!important
|
||||
}
|
1
themes/material/source/css/disqus-proxy.min.css
vendored
Executable file
1
themes/material/source/css/disqus-proxy.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
479
themes/material/source/css/duoshuo.css
Executable file
479
themes/material/source/css/duoshuo.css
Executable file
@ -0,0 +1,479 @@
|
||||
#comments {
|
||||
background-color: #eee;
|
||||
padding: 2pc
|
||||
}
|
||||
#comments h4 {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
color: #8a8a8a;
|
||||
margin: 0
|
||||
}
|
||||
#ds-thread {
|
||||
background-color: #eee;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: stretch;
|
||||
position: relative
|
||||
}
|
||||
@media screen and (max-width:480px) {
|
||||
#ds-thread {
|
||||
padding: 0
|
||||
}
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comment-body p {
|
||||
padding-bottom: 5px
|
||||
}
|
||||
#ds-thread #ds-reset .ds-replybox {
|
||||
margin: 20px 0 20px 0;
|
||||
padding: 0 0 0 40px
|
||||
}
|
||||
#ds-reset .ds-avatar,
|
||||
#ds-reset .ds-avatar img {
|
||||
background: 0;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0;
|
||||
border: none
|
||||
}
|
||||
@media screen and (max-width:480px) {
|
||||
width: auto;
|
||||
height: auto
|
||||
}
|
||||
#ds-thread #ds-reset ul.ds-children .ds-avatar,
|
||||
#ds-thread #ds-reset ul.ds-children .ds-avatar img {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: none!important
|
||||
}
|
||||
#ds-thread #ds-reset .ds-replybox .ds-avatar {
|
||||
top: 5px width: 30px;
|
||||
height: 30px;
|
||||
border: none
|
||||
}
|
||||
#ds-thread #ds-reset .ds-replybox .ds-avatar img {
|
||||
width: 30px!important;
|
||||
height: 30px!important;
|
||||
border: none
|
||||
}
|
||||
#ds-thread #ds-reset .ds-user-name {
|
||||
font-size: 13px
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comment-body,
|
||||
#ds-thread #ds-reset ul.ds-children .ds-comment-body {
|
||||
padding-left: 60px
|
||||
}
|
||||
#ds-thread #ds-reset ul.ds-children {
|
||||
margin-left: 3pc
|
||||
}
|
||||
#ds-reset .ds-highlight {
|
||||
color: #000
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-post,
|
||||
#ds-thread #ds-reset .ds-post-self {
|
||||
border-top: 0
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-toolbar span,
|
||||
#ds-thread #ds-reset .ds-post-toolbar input,
|
||||
#ds-thread #ds-reset .ds-post-toolbar label,
|
||||
#ds-thread #ds-reset .ds-post-toolbar a {
|
||||
display: none
|
||||
}
|
||||
#ds-thread #ds-reset .ds-account-control ul {
|
||||
border: 0;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12)
|
||||
}
|
||||
#ds-thread #ds-reset a.ds-like-thread-button {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
min-width: 50px;
|
||||
padding: 0 14px;
|
||||
display: inline-block;
|
||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0;
|
||||
overflow: hidden;
|
||||
will-change: box-shadow;
|
||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
background: rgba(158, 158, 158, .2);
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
color: #fff;
|
||||
background-color: #F06292;
|
||||
text-shadow: 0
|
||||
}
|
||||
#ds-thread #ds-reset .ds-thread-liked{
|
||||
background-color: #FF80AB !important;
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-tab,
|
||||
#ds-wrapper #ds-reset button {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
min-width: 50px;
|
||||
padding: 0 14px;
|
||||
display: inline-block;
|
||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0;
|
||||
overflow: hidden;
|
||||
will-change: box-shadow;
|
||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
background: 0;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
text-shadow: 0
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-tab:hover,
|
||||
#ds-wrapper #ds-reset button:hover {
|
||||
background-color: rgba(102, 102, 102, 0.1)
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-tab:active,
|
||||
#ds-wrapper #ds-reset button:active {
|
||||
background-color: rgba(102, 102, 102, 0.1);
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-tab a.ds-current {
|
||||
border: 0;
|
||||
background-color: rgba(255, 255, 255, 0)
|
||||
}
|
||||
#ds-thread #ds-reset a.ds-like-thread-button span {
|
||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
font-weight: 400
|
||||
}
|
||||
#ds-thread #ds-reset li.ds-tab a {
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
text-shadow: 0
|
||||
}
|
||||
#ds-thread #ds-reset .ds-textarea-wrapper {
|
||||
background: 0;
|
||||
border: 0;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .12);
|
||||
width: 95%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
float: left
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-toolbar {
|
||||
width: 5%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: 0;
|
||||
float: left
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-options {
|
||||
border: 0;
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
background: 0
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-button {
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
line-height: 36px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
font-size: 0;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0;
|
||||
overflow: hidden;
|
||||
will-change: box-shadow;
|
||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
background: rgba(158, 158, 158, .2);
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
color: #fff;
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-button:hover {
|
||||
box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 3px 7px 0 rgba(0, 0, 0, .12);
|
||||
color: #fff
|
||||
}
|
||||
#ds-thread #ds-reset .ds-meta {
|
||||
border-bottom: 0
|
||||
}
|
||||
#ds-thread #ds-reset #ds-bubble {
|
||||
border: 0;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
border-radius: 3px
|
||||
}
|
||||
#ds-thread #ds-reset .ds-textarea-wrapper textarea {
|
||||
height: 16px!important;
|
||||
font-size: 16px!important;
|
||||
line-height: 16px!important
|
||||
}
|
||||
#ds-thread #ds-reset .ds-like-tooltip {
|
||||
box-shadow: 0 2px 24px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 55px 0 rgba(0, 0, 0, .12);
|
||||
border-radius: 2px;
|
||||
background: #FFF;
|
||||
border: 0
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-dialog-inner {
|
||||
box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 1px 3px 7px 0 rgba(0, 0, 0, .12), 0px 0 20px 5px rgba(0, 0, 0, .12);
|
||||
border: 0;
|
||||
background: #fff
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-dialog-body {
|
||||
padding: 0;
|
||||
}
|
||||
#ds-thread #ds-reset .ds-powered-by {
|
||||
display: none
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comments,
|
||||
#ds-thread #ds-reset .ds-paginator {
|
||||
border-bottom: 0
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-icons-32 {
|
||||
height: 100px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-icons-32::before {
|
||||
content: 'Welcome';
|
||||
font-family: 'Roboto';
|
||||
font-size: 24px;
|
||||
color: #fff;
|
||||
text-shadow: none;
|
||||
position: relative;
|
||||
float: left;
|
||||
top: 60px;
|
||||
left: 40px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-service-list {
|
||||
margin: 10px 0 10px 0;
|
||||
text-align: center
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-actions {
|
||||
padding-bottom: 30px;
|
||||
padding-top: 12px;
|
||||
margin: 10px 10px 20px 10px;
|
||||
color: rgba(0, 0, 0, .5);
|
||||
font-size: 13px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-actions label {
|
||||
margin-right: 12px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-quote {
|
||||
margin: 0;
|
||||
padding: 20px 20px
|
||||
}
|
||||
#ds-reset .ds-service-icon,
|
||||
#ds-reset .ds-service-icon-grey {
|
||||
background: 0;
|
||||
width: 5px!important
|
||||
}
|
||||
#ds-reset input[type='checkbox'] {
|
||||
width: 12px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-textarea-wrapper {
|
||||
border: 0;
|
||||
margin: 0
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-dialog-footer {
|
||||
border-top: 1px solid rgba(0, 0, 0, .1);
|
||||
display: none
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-control-group {
|
||||
margin-left: 40px
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-liked a.ds-post-likes {
|
||||
font-size: 12px
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-control-group input {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .12);
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-family: "Helvetica", "Arial", sans-serif;
|
||||
margin: 0;
|
||||
padding: 4px 0;
|
||||
width: 100%;
|
||||
background: 0;
|
||||
text-align: left;
|
||||
color: inherit
|
||||
}
|
||||
#ds-wrapper #ds-reset .ds-dialog-body button {
|
||||
margin: 10px 0 20px 40px
|
||||
}
|
||||
#ds-thread #ds-reset .ds-login-buttons .ds-service-list li {
|
||||
margin: 0;
|
||||
margin-left: 5px;
|
||||
text-align: center
|
||||
}
|
||||
#ds-thread #ds-reset .ds-login-buttons .ds-service-list li a {
|
||||
color: rgba(0, 0, 0, .6)!important
|
||||
}
|
||||
#ds-reset .ds-service-link {
|
||||
background: 0;
|
||||
padding-left: 0
|
||||
}
|
||||
#ds-reset .ds-icon {
|
||||
background: 0;
|
||||
display: none
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comment-actions a {
|
||||
font-size: 0;
|
||||
color: rgba(0, 0, 0, .24)!important
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comment-actions a:hover {
|
||||
color: rgba(0, 0, 0, .4)!important
|
||||
}
|
||||
#ds-thread #ds-reset .ds-comment-footer {
|
||||
line-height: normal
|
||||
}
|
||||
#ds-thread #ds-reset .ds-time {
|
||||
font-size: 13px;
|
||||
position: relative;
|
||||
top: -8px
|
||||
}
|
||||
.ds-post-reply {
|
||||
left: -20px
|
||||
}
|
||||
.ds-post-likes::before {
|
||||
content: "\E8DC";
|
||||
font-family: 'Material Icons';
|
||||
font-size: 24px
|
||||
}
|
||||
.ds-post-reply::before {
|
||||
content: "\E0BF";
|
||||
font-family: 'Material Icons';
|
||||
font-size: 24px
|
||||
}
|
||||
.ds-post-repost::before {
|
||||
content: "\E80D";
|
||||
font-family: 'Material Icons';
|
||||
font-size: 24px
|
||||
}
|
||||
.ds-post-report {
|
||||
color: rgba(0, 0, 0, .14)!important
|
||||
}
|
||||
.ds-post-report::before {
|
||||
content: "\E8B2";
|
||||
font-family: 'Material Icons';
|
||||
font-size: 24px;
|
||||
display: none
|
||||
}
|
||||
.ds-weixin::before {
|
||||
content: "\f1d7";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-weibo::before {
|
||||
content: "\f18a";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-qq::before {
|
||||
content: "\f1d6";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-renren::before {
|
||||
content: "\f18b";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-douban::before {
|
||||
content: "\f10e";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-kaixin::before {
|
||||
content: "\f004";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-baidu::before {
|
||||
content: "\f1b0";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-google::before {
|
||||
content: "\f1a0";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-qzone::before {
|
||||
content: "\f005";
|
||||
font-family: 'FontAwesome';
|
||||
margin-right: 3px
|
||||
}
|
||||
.ds-meta .ds-like-panel {
|
||||
margin-left: 10px!important
|
||||
}
|
||||
#ds-thread #ds-reset .ds-post-button::before {
|
||||
content: '\E5CA';
|
||||
font-family: 'Material Icons';
|
||||
font-weight: 100;
|
||||
font-size: 20px
|
||||
}
|
||||
.ds-icons-32 a {
|
||||
background: none!important
|
||||
}
|
||||
.ds-dialog-body h2 {
|
||||
display: none!important
|
||||
}
|
||||
#ds-thread.ds-narrow #ds-reset .ds-post-button {
|
||||
width: 35px
|
||||
}
|
||||
.ds-comments-info{
|
||||
display: none;
|
||||
}
|
||||
.ds-comments-info .ds-sort {
|
||||
display: none!important
|
||||
}
|
||||
@media screen and (max-width:480px) {
|
||||
.ds-comments-tabs,
|
||||
.ds-comments-info {
|
||||
display: none!important
|
||||
}
|
||||
}
|
||||
#ds-reset #ds-ctx {
|
||||
max-width: none
|
||||
}
|
||||
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-content {
|
||||
margin: 5px 0;
|
||||
line-height: 20px
|
||||
}
|
||||
#ds-reset #ds-ctx .ds-comment-actions {
|
||||
margin-top: 10px;
|
||||
position: relative
|
||||
}
|
||||
#ds-reset #ds-ctx .ds-ctx-entry:hover .ds-comment-actions {
|
||||
display: none
|
||||
}
|
||||
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a {
|
||||
top: 0
|
||||
}
|
||||
#ds-thread.ds-narrow #ds-reset .ds-avatar img {
|
||||
border: none
|
||||
}
|
1
themes/material/source/css/duoshuo.min.css
vendored
Executable file
1
themes/material/source/css/duoshuo.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
4
themes/material/source/css/fontawesome.min.css
vendored
Executable file
4
themes/material/source/css/fontawesome.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
1
themes/material/source/css/gallery.min.css
vendored
Executable file
1
themes/material/source/css/gallery.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
180
themes/material/source/css/ie-blocker.css
Executable file
180
themes/material/source/css/ie-blocker.css
Executable file
@ -0,0 +1,180 @@
|
||||
@charset "utf-8";
|
||||
body .demo-blog{
|
||||
display: none;
|
||||
}
|
||||
|
||||
h1{
|
||||
background-color: #fff;
|
||||
font-size: 48px;
|
||||
line-height: 48px;
|
||||
border-left: none;
|
||||
width: auto;
|
||||
margin: 0px !important;
|
||||
}
|
||||
|
||||
#ib-container {
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
box-sizing: content-box !important;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
#ib-container * {
|
||||
box-sizing: content-box !important;
|
||||
}
|
||||
|
||||
.ib-modal {
|
||||
height: 288px;
|
||||
background: #fff;
|
||||
border-left: 8px solid #4fc1e9;
|
||||
position: absolute;
|
||||
color: #434a54;
|
||||
z-index: 99999;
|
||||
width: 592px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateY(-50%) translateX(-50%);
|
||||
padding: 49px 30px 30px;
|
||||
}
|
||||
|
||||
.ib-header {
|
||||
height: 80px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ib-header h1 {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
text-align: left;
|
||||
color: #434a54;
|
||||
}
|
||||
|
||||
.ib-header p {
|
||||
margin: 10px 0 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
text-align: left;
|
||||
color: #434a54;
|
||||
}
|
||||
|
||||
.ib-header p strong {
|
||||
font-weight: normal;
|
||||
color: #3bafda;
|
||||
}
|
||||
|
||||
.ib-browsers {
|
||||
height: 80px;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-top: 0;
|
||||
margin-top: 49px;
|
||||
}
|
||||
|
||||
.ib-browsers li {
|
||||
float: left;
|
||||
width: 148px;
|
||||
height: 80px;
|
||||
position: relative;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.ib-browsers li a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
color: #434a54;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ib-browsers li a:hover {
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
|
||||
.ib-browsers li a:hover .ib-browser-name {
|
||||
background-color: #4fc1e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.ib-browser-icon {
|
||||
display: block;
|
||||
width: 118px;
|
||||
height: 90px;
|
||||
margin: 0 auto;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.ib-browser-name {
|
||||
line-height: 18px;
|
||||
margin-top: 5px;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.ib-browser-description {
|
||||
height: 50px;
|
||||
line-height: 14px;
|
||||
font-size: 12px;
|
||||
margin-top: 10px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.ib-footer {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.ib-try {
|
||||
float: right;
|
||||
height: 30px;
|
||||
padding: 0 15px;
|
||||
color: #fff;
|
||||
background-color: #3bafda;
|
||||
font-size: 12px;
|
||||
line-height: 30px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
margin-top: 49px;
|
||||
}
|
||||
|
||||
.ib-try:hover {
|
||||
background-color: #4fc1e9;
|
||||
}
|
||||
|
||||
.ib-mask {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
_position: absolute;
|
||||
_top: expression(eval(document.documentElement.scrollTop) + 'px');
|
||||
_left: expression(eval(document.documentElement.scrollLeft) + 'px');
|
||||
_right: auto;
|
||||
_bottom: auto;
|
||||
_width: expression(eval(document.documentElement.clientWidth) + 'px');
|
||||
_height: expression(eval(document.documentElement.clientHeight) + 'px');
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.ib-mask {
|
||||
background: rgb(0, 0, 0);
|
||||
opacity: 0.8;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
|
||||
filter: alpha(opacity=80);
|
||||
z-index: 99998;
|
||||
}
|
||||
|
||||
.zh-cn #ib-container {
|
||||
font-family: 'Microsoft Yahei', sans-serif;
|
||||
}
|
||||
|
||||
.zh-cn .ib-browser-description {
|
||||
font-size: 12px;
|
||||
}
|
6799
themes/material/source/css/material.css
Executable file
6799
themes/material/source/css/material.css
Executable file
File diff suppressed because it is too large
Load Diff
1
themes/material/source/css/material.min.css
vendored
Executable file
1
themes/material/source/css/material.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user