Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roberto Alsina
committed
May 2, 2017
1 parent
3f9fdc7
commit cc96c4b
Showing
14 changed files
with
1,602 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ site/output | |
site/demo_sites | ||
site/cache | ||
site/builtin_themes | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2017 tufu9441 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Nikola theme forked from https://github.com/pagecho/maupassant | ||
|
||
Description from the original: | ||
|
||
"A simple typecho template with great performance on different devices." | ||
|
||
Suggested configuration is to add Home to nav links so you see the | ||
"tabs" properly: | ||
|
||
``` | ||
NAVIGATION_LINKS = { | ||
DEFAULT_LANG: ( | ||
("/", "Home"), | ||
("/archive.html", "Archive"), | ||
("/categories/", "Tags"), | ||
), | ||
} | ||
``` | ||
|
||
|
||
|
||
TODO: | ||
|
||
* Could add support for fontawesome icons in nav bar like some forks of | ||
this theme have. | ||
* Surely doesn't need to inherit bootstrap3 since it doesn't use | ||
bootstrap at all :-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
/*for duoshuo*/ | ||
#ds-thread { | ||
padding: 1px 0 18px; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-dialog-footer, #ds-thread #ds-reset .ds-meta, .ds-toolbar-buttons, .ds-post-likes, .ds-post-repost, .ds-post-report, .ds-icon-reply, #ds-thread #ds-reset .ds-toolbar, #ds-thread #ds-reset ul.ds-comments-tabs .ds-service-icon, /*#ds-bubble,*/ | ||
#ds-indicator { | ||
display: none !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-login-buttons { | ||
font-size: 14px; | ||
} | ||
|
||
#ds-wrapper #ds-reset button { | ||
background: #fff; | ||
border: 1px solid #ddd; | ||
} | ||
|
||
.ds-social-links { | ||
padding-left: .2em !important; | ||
} | ||
|
||
#ds-reset .ds-gradient-bg, #ds-thread #ds-reset .ds-textarea-wrapper { | ||
background: none !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-post-options { | ||
border: none !important; | ||
border-top: 1px solid #ddd !important; | ||
margin-right: 0 !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-post-button { | ||
top: 10px !important; | ||
background: #fff !important; | ||
box-shadow: none !important; | ||
border: 1px solid #ddd !important; | ||
right: auto !important; | ||
color: #777 !important; | ||
font-weight: normal !important; | ||
outline: none; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-post-button:hover { | ||
color: #444 !important; | ||
} | ||
|
||
#ds-reset .ds-rounded-top, #ds-thread #ds-reset li.ds-tab a, #ds-thread #ds-reset #ds-bubble, #ds-reset .ds-avatar img, #ds-wrapper #ds-reset .ds-control-group input, #ds-wrapper #ds-reset button, #ds-wrapper #ds-reset .ds-dialog-inner, #ds-thread #ds-reset .ds-post-button, #ds-thread #ds-reset .ds-paginator a.ds-current { | ||
border-radius: 0 !important; | ||
border-radius: 0 !important; | ||
-webkit-border-radius: 0 !important; | ||
-webkit-border-radius: 0 !important; | ||
} | ||
|
||
#ds-thread #ds-reset li.ds-tab a:hover { | ||
background: #fff !important; | ||
} | ||
|
||
#ds-thread #ds-reset li.ds-tab a.ds-current { | ||
background: #fff !important; | ||
border: none !important; | ||
border-bottom: 2px solid #333 !important; | ||
} | ||
|
||
#ds-thread #ds-reset li.ds-tab a { | ||
padding: 14px; | ||
font-size: 17px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-comments-info { | ||
padding-top: 15px !important; | ||
padding-bottom: 15px !important; | ||
line-height: 1 !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-sort { | ||
top: 16px !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-post-options { | ||
height: 50px !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-comment-body { | ||
padding-left: 64px !important; | ||
} | ||
|
||
#ds-reset .ds-avatar img { | ||
box-shadow: none !important; | ||
padding: 2px 0 0 0; | ||
} | ||
|
||
#ds-thread #ds-reset #ds-bubble { | ||
border: 1px solid #ddd !important; | ||
box-shadow: none !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-highlight { | ||
color: #000 !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-replybox { | ||
padding-left: 64px !important; | ||
margin-top: 30px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-post-self { | ||
padding: 20px 0 20px 0 !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-inline-replybox { | ||
margin-top: 27px !important; | ||
margin-left: -64px !important; | ||
} | ||
|
||
#ds-thread #ds-reset a.ds-comment-context { | ||
border: 1px solid #E3EDF3; | ||
background: #F7FAFB; | ||
padding: 3px 0 3px 3px; | ||
color: #555 !important; | ||
margin-right: 5px !important; | ||
font-size: .8em; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-comment-header { | ||
padding-bottom: 7px; | ||
font-size: 14px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-sort a { | ||
font-size: 14px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-sort a.ds-current, #ds-thread #ds-reset .ds-sort a:active { | ||
color: #555; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-user-name { | ||
font-size: 14px !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-comment-footer { | ||
padding-top: 5px; | ||
} | ||
|
||
#ds-thread #ds-reset li.ds-post-placeholder { | ||
padding: 23px 0 !important; | ||
font-size: 14px !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-sync { | ||
top: 10px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-textarea-wrapper textarea, #ds-thread #ds-reset .ds-textarea-wrapper .ds-hidden-text { | ||
font-size: 14px; | ||
line-height: 1.72; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-comment-body p { | ||
font-size: 14px; | ||
line-height: 1.72; | ||
margin: 0; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-control-group input { | ||
line-height: 1.8em; | ||
font-size: 14px; | ||
box-shadow: none; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-control-group label { | ||
top: 13px; | ||
} | ||
|
||
#ds-wrapper #ds-reset button { | ||
font-size: 14px; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-dialog-inner { | ||
box-shadow: none; | ||
background: #fff; | ||
border: 1px solid #ddd; | ||
} | ||
|
||
.ds-icons-32 a { | ||
width: auto !important; | ||
height: auto !important; | ||
background: none !important; | ||
text-indent: 0 !important; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-icons-32 { | ||
height: auto !important; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-icons-32 a { | ||
font-size: 14px; | ||
line-height: 1.7em; | ||
margin: 0 14px 1px 0; | ||
} | ||
|
||
#ds-wrapper #ds-reset .ds-dialog-close { | ||
top: 13px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-login-buttons .ds-more-services { | ||
color: #777 !important; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-paginator a.ds-current { | ||
color: #000; | ||
font-size: 14px; | ||
padding: 9px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-paginator div.ds-border { | ||
margin-bottom: 20px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-paginator { | ||
padding-bottom: 20px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-paginator a { | ||
margin: 0; | ||
padding: 9px; | ||
} | ||
|
||
#ds-thread #ds-reset .ds-replybox .ds-avatar img, #ds-reset .ds-avatar img { | ||
height: 42px !important; | ||
width: 42px !important; | ||
border-radius: 100% !important; | ||
border: 1px solid #ddd; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.