remove old files in prep for migration
|
|
@ -1,2 +0,0 @@
|
|||
Scott Wallick <http://scott.wallick.org/> [WordPress theme]
|
||||
Roberto Alsina <https://github.com/ralsina>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
This theme is loosely based on Scott Wallick's nice "blog.txt" theme.
|
||||
If there is anything nice here, he did it. If there is something wrong
|
||||
or broken, I (Roberto Alsina <ralsina@netmanagers.com.ar>) did it instead.
|
||||
|
||||
I did it basically to see if it was possible to port wordpress themes to Nikola.
|
||||
And it is, but it involves reading php files and loosely reinterpreting them
|
||||
into Mako templates.
|
||||
|
||||
At least the CSS files are easily adapted.
|
||||
|
||||
This theme is under a LGPL license just like the original (see license.txt), enjoy!
|
||||
|
||||
CAVEATS
|
||||
|
||||
This theme doesn't support slides or image galleries in any useful way.
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
/* BLOG.TXT TWO-COLUMN (RIGHT) LAYOUT */
|
||||
div#container{float:left;margin:0 0 0 -20em;width:100%;}
|
||||
div#content{margin:0 0 0 20em;}
|
||||
div#footer{clear:both;width:100%;}
|
||||
div#header{margin:0 0 0 -0.9em;padding:0.2em 0 0;}
|
||||
div#header div#blog-description,div#header div.archive-description{margin:0.2em 0 0 0.9em;}
|
||||
div#header h1#blog-title{padding:0 0 0 0.2em;}
|
||||
div#primary{margin-top:1em;padding-top:1em;}
|
||||
div#secondary{clear:right;}
|
||||
div#wrapper{margin:5em 0 0 7em;}
|
||||
div.hfeed{margin:0 3em 0 0;}
|
||||
div.theme_sidebar{border-left:0.1em solid #ccd0d6;overflow:hidden;padding-left:2.4em;width:17.5em;}
|
||||
|
|
@ -1,162 +0,0 @@
|
|||
/* BLOG.TXT TWO-COLUMN (RIGHT) LAYOUT */
|
||||
div#container{float:left;margin:0 0 0 -20em;width:100%;}
|
||||
div#content{margin:0 0 0 20em;}
|
||||
div#footer{clear:both;width:100%;}
|
||||
div#header{margin:0 0 0 -0.9em;padding:0.2em 0 0;}
|
||||
div#header div#blog-description,div#header div.archive-description{margin:0.2em 0 0 0.9em;}
|
||||
div#header h1#blog-title{padding:0 0 0 0.2em;}
|
||||
div#primary{margin-top:1em;padding-top:1em;}
|
||||
div#secondary{clear:right;}
|
||||
div#wrapper{margin:5em 0 0 7em;}
|
||||
div.hfeed{margin:0 3em 0 0;}
|
||||
div.theme_sidebar{border-left:0.1em solid #ccd0d6;overflow:hidden;padding-left:2.4em;width:17.5em;}
|
||||
/*
|
||||
THEME NAME: blog.txt
|
||||
THEME URI: http://www.plaintxt.org/themes/blogtxt/
|
||||
DESCRIPTION: Where a blog and its text join together. An exceptionally clean theme—a classic. For WordPress 2.6.x.
|
||||
VERSION: 4.6.1
|
||||
AUTHOR: Scott Allan Wallick
|
||||
AUTHOR URI: http://scottwallick.com/
|
||||
TAGS: variable width, fixed width, variable columns, two columns, three columns, widgets, theme options, options page, white, gray, typography, microformats, hatom, hcard
|
||||
*/
|
||||
body h1,body h2,body h3{font-family:garamond,georgia,times,serif;font-weight:400; margin-bottom: 12px;}
|
||||
a,a:link{outline:none;text-decoration:none;}
|
||||
div#header a,div#header a:link{color:#0d1117;}
|
||||
div.hfeed a,div.hfeed a:link,div.entry-content ul.xoxo li.hentry span a,div.entry-content ul.xoxo li.hentry span a:link{border-bottom:1px solid #9aa1ae;color:#34425b;}
|
||||
div.hfeed .entry-title a,div.hfeed .entry-title a:link,div.hfeed div.entry-meta a,div.hfeed div.entry-meta a:link{border-bottom:none;}
|
||||
div.theme_sidebar a,div.theme_sidebar a:link{background:#fff;border-bottom:1px solid #ccd0d6;color:#34425b;}
|
||||
div#footer a,div#footer a:link{border-bottom: 1px solid #ccd0d6;color: #9aa1ae;}
|
||||
div.hfeed a:visited,div.entry-content ul.xoxo li.hentry span a:visited{color:#677284;}
|
||||
div.hfeed .entry-title a:visited{color:#34425b;}
|
||||
div#header a:hover{color:#9aa1ae;}
|
||||
div#footer a:hover{border-bottom: 1px solid #34425b;color: #34425b;}
|
||||
div.hfeed a:hover,div.hfeed .entry-title a:hover,div.hfeed div.entry-meta a:hover,div.theme_sidebar a:hover,div.entry-content ul.xoxo li.hentry span a:hover{border-bottom:1px solid #0d1117;color:#0d1117;}
|
||||
div.hfeed a:active,div.theme_sidebar a:active{color:#677284;border-bottom:1px solid #b4b9c3;}
|
||||
body{background:#fff;color:#222;line-height:140%;margin:0 0 2em;padding:0;}
|
||||
body abbr.published,body abbr.comment-published{border:none;}
|
||||
body img{border:none;max-width:99%;}
|
||||
body input#s{background:#f6f6f7;border:1px solid #9ca1a8;font-size:1em;line-height:normal;padding:0.3em 0.2em;}
|
||||
body.author div.hfeed div.archive-meta p{color:#555;font-size:0.9em;margin:0;}
|
||||
body.single div.navigation{margin:4em 0 0;}
|
||||
div#footer{color:#9aa1ae;font-size:0.9em;padding:6em 0 0;}
|
||||
div#globalnav,div.access,div#footer span#theme-link span.additional-name,div#footer span#theme-link span.family-name{display:none;}
|
||||
div#header a{text-decoration:none;}
|
||||
div#header div#blog-description,div#header div.archive-description{font-size:1.1em;line-height:133%;}
|
||||
div#header h1#blog-title{border-bottom:0.1em solid #ccd0d6;font-weight:normal;font-size:4em;line-height:64%;letter-spacing:1px;margin:0;text-transform:uppercase;}
|
||||
div#wrapper .important{background:#f5f5dc url(images/important.png) no-repeat 0.5em center;border-bottom:1px solid #d0d0bb;border-top:1px solid #d0d0bb;padding:0.3em 0.5em 0.3em 2.3em;}
|
||||
div#wrapper div.entry-content .download{background:url(images/file-download.png) no-repeat center left;}
|
||||
div#wrapper div.entry-content .html{background:url(images/file-html.png) no-repeat center left;}
|
||||
div#wrapper div.entry-content .html,div#wrapper div.entry-content .download,div#wrapper div.entry-content .pdf,div#wrapper div.entry-content .zip{margin-left:2px;padding:2px 0 2px 19px;}
|
||||
div#wrapper div.entry-content .pdf{background:url(images/file-pdf.png) no-repeat center left;}
|
||||
div#wrapper div.entry-content .zip{background:url(images/file-zip.png) no-repeat center left;}
|
||||
div.comments h3{color:#4d5663;font-size:1.4em;font-weight:400;margin:4em 0 0.3em;}
|
||||
div.comments h3.comment-header span.comment-count{color:#7a818a;font-size:0.8em;padding-left:0.2em;}
|
||||
div.comments ol#comments{margin:0 0 0 2em;padding:0;}
|
||||
div.comments ol#comments li{margin:1em 0 5em;padding:0;}
|
||||
div.comments ol#comments li img.photo { float:left; margin:0 1em 0.5em 0; }
|
||||
div.comments ol#pingbacks{list-style:none;margin:1em 0 0 1.5em;padding:0;}
|
||||
div.comments ol#pingbacks li{border:1px solid #ccd0d6;color:#777;font-size:0.9em;list-style:none;margin:0 0 1.5em;padding:1em;}
|
||||
div.comments ol#pingbacks p{margin-bottom:0;}
|
||||
div.comments ol.commentlist li .fn,div.theme_sidebar ul li#blogtxt-recent-comments .fn{font-weight:700;}
|
||||
div.comments ol.commentlist p{margin:0.5em 0;}
|
||||
div.comments ol.commentlist span.comment-meta,div.comments p#loggedin{font-style:italic;}
|
||||
div.comments span.req-field{color:#c00;}
|
||||
div.entry-content .alignleft{float:left;margin:0.5em 1em 0.5em 0;}
|
||||
div.entry-content .alignright{float:right;margin:0.5em 0 0.5em 1em;}
|
||||
div.entry-content .center,div.entry-content .aligncenter{display:block;margin:1em auto;}
|
||||
div.entry-content .clearer,div.entry-content .entry-edit{clear:both;width:99%;}
|
||||
div.entry-content .content-column{width:40%;}
|
||||
div.entry-content .more-link{font-size:95%;font-weight:700;text-transform:uppercase;}
|
||||
div.entry-content a:hover img.center,div.entry-content a:hover img.aligncenter,div.entry-content a:hover img.alignright,div.entry-content a:hover img.alignleft{border:1px solid #2c384d;}
|
||||
div.entry-content blockquote blockquote,div.comments ol.commentlist blockquote blockquote{border-left:5px solid #ccd0d6;font-size:0.9em;padding:0 1em;}
|
||||
div.entry-content blockquote,div.comments ol.commentlist blockquote{background:#ebedef;color:#4d5663;padding:0.1em 1em;}
|
||||
div.entry-content code,div.entry-content pre,div.comments ol.commentlist code,div.comments ol.commentlist pre{color:#494C5C;font:1em/133% "courier new",courier,monospace;}
|
||||
div.entry-content del,div.comments ol.commentlist del{background:#ebedef;color:#31343a;}
|
||||
div.entry-content div.page-link{font-size:0.9em;font-weight:700;margin:0 0 1.5em;text-align:center;}
|
||||
div.entry-content h2,div.entry-content h3{font-size:1.5em;margin:1.5em 0 -0.3em;}
|
||||
div.entry-content h2,div.entry-content h3,div.entry-content h4,div.entry-content h5,div.entry-content h6{font-weight:400;}
|
||||
div.entry-content h4{font-size:1.4em;margin:1.5em 0 -0.3em;}
|
||||
div.entry-content h5{font-size:1.3em;margin:1.5em 0 -0.4em;}
|
||||
div.entry-content h6{font-size:1.2em;margin:1.5em 0 -0.5em;}
|
||||
div.entry-content img.center,div.entry-content img.alignright,div.entry-content img.alignleft{border:1px solid #9aa1ae;}
|
||||
div.entry-content ins,div.comments ol.commentlist ins{background:#f5f5dc;}
|
||||
div.entry-content ol ol{list-style:lower-alpha;}
|
||||
div.entry-content p,div.formcontainer p{margin:1em 0;}
|
||||
body.attachment h3.entry-title{margin:-1.5em 0 0.5em 0;}
|
||||
div.entry-content div.entry-attachment{margin:-0.5em 0 1em;}
|
||||
div.entry-content div.entry-caption{margin-bottom:2em;}
|
||||
body.attachment h3.entry-title,div.entry-content div.entry-attachment,div.entry-content div.entry-caption{text-align:center;}
|
||||
div.entry-content .wp-caption-text{font-style:italic;margin:0.2em auto 1em auto;text-align:center;}
|
||||
div.entry-content div.gallery{clear:both;float:left;margin:1em auto;text-align:center;width:100%;}
|
||||
div.entry-content div.gallery dl{float:left;margin:0 auto;text-align:center;}
|
||||
div.entry-content div.gallery dl.gallery-columns-2{width:49%;}
|
||||
div.entry-content div.gallery dl.gallery-columns-3{width:33%;}
|
||||
div.entry-content div.gallery dl.gallery-columns-4{width:24%;}
|
||||
div.entry-content div.gallery dl.gallery-columns-5{width:19%;}
|
||||
div.entry-content div.gallery dd{font-style:italic;margin:0 auto 1em auto;text-align:center;}
|
||||
div.entry-content div.gallery *{margin:0;padding:0;}
|
||||
div.entry-content div.entry-attachment img,div.entry-content div#nav-images div img{max-width:none;overflow:hidden;}
|
||||
body.attachment div#wrapper div#content div#nav-images{clear:both;margin:1em auto 2em auto;width:100%;}
|
||||
body.attachment div#nav-images div{margin:0;padding:2% 2% 4% 2%;width:46%;}
|
||||
body.attachment div#nav-images div.nav-previous{text-align:right;}
|
||||
body.attachment div#nav-images div.nav-next{text-align:left;}
|
||||
body.attachment div.entry-meta,body.attachment div.comments{clear:both;width:100%;}
|
||||
div.entry-content div.entry-caption,div.entry-content q,div.comments ol.commentlist q{color:#494c5c;}
|
||||
div.entry-content ul li ul{list-style:square;line-height:150%;}
|
||||
div.entry-content ul.xoxo,div.entry-content ul.xoxo li{list-style:none;margin:0;padding:0;}
|
||||
div.entry-content ul.xoxo li h3{margin-bottom:0.3em;}
|
||||
div.entry-content ul.xoxo li ul{margin:0;padding:0;}
|
||||
div.entry-content ul.xoxo li ul li{list-style:square;margin:0 0 0 2em;}
|
||||
div.entry-content ul.xoxo li.hentry span.entry-title{font-size:1em;text-transform:none;}
|
||||
div.entry-content ul.xoxo li.hentry span.entry-date{font-size:1em;}
|
||||
div.entry-content ul.xoxo li ul li p{font-style:italic;margin-top:0.3em;}
|
||||
div.formcontainer form#commentform,div.theme_sidebar ul,div.theme_sidebar ul li#blogtxt-recent-comments blockquote.comment-summary,div.theme_sidebar ul li#blogtxt-recent-comments blockquote.comment-summary p{margin:0;padding:0;}
|
||||
div.formcontainer div.form-input{margin:0 0 1em;}
|
||||
div.formcontainer div.form-input input{width:20em;}
|
||||
div.formcontainer div.form-input input,div.formcontainer div.form-textarea textarea{background:#f6f6f7;border:1px solid #7a818a;font-size:1em;line-height:normal;padding:0.3em;}
|
||||
div.formcontainer div.form-textarea-label{margin:1em 0 0.2em;}
|
||||
div.formcontainer textarea#comment{height:12em;margin:0 0 0.5em;overflow:auto;width:25em;}
|
||||
div.formcontainer,p#mustlogin{margin:0 0 1em 1.5em;}
|
||||
div.hentry div.archive-meta{font-style:italic;margin:0.5em 0 2em 2em;}
|
||||
div.hentry div.entry-meta{background:#f6f7f8;border-bottom:1px solid #ccd0d6;border-top:1px solid #ccd0d6;color:#677284;font-size:0.9em;margin:1em 0 5em;padding:0.2em 0.5em;text-align:center;clear:both;}
|
||||
div.hentry div.entry-meta span.meta-sep{padding:0 0 0 0.3em;}
|
||||
div.hfeed .entry-title{font-size:1.6em;font-weight:400;line-height:133%;margin:0 0 -0.3em;text-transform:uppercase;}
|
||||
div.hfeed .page-title{color:#4d5663;font-size:1.7em;font-weight:400;line-height:133%;margin:2em 0 0;}
|
||||
div.hfeed .page-title span.page-subtitle{color:#7a818a;font-size:0.8em;padding-left:0.2em;}
|
||||
div.hfeed div#post-0 input#s{width:50%;}
|
||||
div.hfeed div.p1{margin:5em 0 0;}
|
||||
div.nav-next{float:right;text-align:right;}
|
||||
div.nav-previous{float:left;text-align:left;}
|
||||
div.navigation{font-size:0.9em;height:1.2em;text-align:center;text-transform:uppercase;}
|
||||
div.navigation div{width:48%;}
|
||||
div.theme_sidebar{line-height:150%; margin-right:-3px;}
|
||||
div.theme_sidebar ul li{list-style:none;margin:0 0 2.5em;padding:0;}
|
||||
div.theme_sidebar ul li h3{font-weight:bold;font-size:1.2em;line-height:133%;letter-spacing:1px;margin:0 0 0.1em;text-transform:uppercase;}
|
||||
div.theme_sidebar ul li ul li{color:#4d5663;margin:0;padding:0;}
|
||||
div.theme_sidebar ul li ul li ul{margin:0 0 0.2em;}
|
||||
div.theme_sidebar ul li ul li ul li{color:#9aa1ae;list-style:disc;margin:0 0 0 2em;}
|
||||
div.theme_sidebar ul li#blogtxt-recent-comments span.comment-entry-title{font-size:0.8em;}
|
||||
div.theme_sidebar ul li#blogtxt-recent-comments ul li{margin:0 0 2em;}
|
||||
div.theme_sidebar ul li#tag-cloud{width:95%;overflow:hidden;line-height:250%;background:transparent;}
|
||||
div.theme_sidebar ul li#tag-cloud h3{margin-bottom:-1em;}
|
||||
div.theme_sidebar ul li#calendar div#calendar_wrap{margin:0.5em 0 0;}
|
||||
div.theme_sidebar ul li#calendar table#wp-calendar{text-align:center;width:75%;}
|
||||
div.theme_sidebar ul li#calendar table#wp-calendar tbody a{font-size:1.1em;font-weight:700;}
|
||||
div.theme_sidebar ul li#google-search div form#gsearch,div.theme_sidebar ul li#calendar table#wp-calendar caption{text-align:left;}
|
||||
div.theme_sidebar ul li#rss_links ul li a,div.theme_sidebar ul li#rss-links ul li a{background:url(images/feed.png) no-repeat left center;padding:0 0 0 15px;}
|
||||
div.theme_sidebar ul li#search form#searchform{margin:0.2em 0 0;padding:0;}
|
||||
div.theme_sidebar ul li#search input#s{width:7em;}
|
||||
div.theme_sidebar ul li.entry-interact ul li.comment-link a{background:url(images/comments.png) no-repeat left center;padding:0 0 0 15px;}
|
||||
div.theme_sidebar ul li.entry-interact ul li.trackback-link a{background:url(images/trackbacks.png) no-repeat left center;padding:0 0 0 15px;}
|
||||
div.theme_sidebar ul li.widget_text div.textwidget p{margin:0 0 0.5em;}
|
||||
|
||||
|
||||
body{font-size:80%;}
|
||||
body,div.comments h3.comment-header span.comment-count,div.entry-content ul.xoxo li.hentry span.entry-title{font-family:georgia,times,serif;}
|
||||
div#wrapper{width:60em;}
|
||||
div.hfeed .entry-title,div.hfeed .page-title,div.comments h3,div.entry-content h2,div.entry-content h3,div.entry-content h4,div.entry-content h5,div.entry-content h6,div#header div#blog-description,div#header div.archive-description{font-family:arial,helvetica,sans-serif;}
|
||||
div#header h1#blog-title,div.theme_sidebar ul li h3{font-family:'times new roman',times,serif;}
|
||||
body input#s,div.entry-content div.page-link,div.entry-content p.attachment-name,div.entry-content q,div.comments ol.commentlist q,div.formcontainer div.form-input input,div.formcontainer div.form-textarea textarea,div.hentry div.entry-meta,div.theme_sidebar{font-family:verdana,geneva,sans-serif;}
|
||||
div.hfeed div.hentry{text-align:left;}
|
||||
body div#wrapper{margin:5em 0 0 7em;}
|
||||
div.entry-content{margin-top: 24px;}
|
||||
|
Before Width: | Height: | Size: 1,000 B |
|
Before Width: | Height: | Size: 921 B |
|
Before Width: | Height: | Size: 931 B |
|
Before Width: | Height: | Size: 469 B |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 935 B |
|
|
@ -1,165 +0,0 @@
|
|||
GNU LESSER 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.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser 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
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
|
|
@ -1 +0,0 @@
|
|||
base
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
/* BLOG.TXT PRINT STYLES */
|
||||
/* Styles for basic printing only. If you want remove print styles, delete line 13 from the header.php file. */
|
||||
body div#blog-description,body div.sidebar,body div.access,body div#globalnav,body span.archive-meta,body div.cat-meta,body div#footer,body div.navigation,body div.comments form#commentform,body h3#respond{display:none;}
|
||||
body div#wrapper div#header{background-color:#fff;background-image:none;color:#000;}
|
||||
body div#wrapper div#header h1 a,html body div#wrapper div#header h1 a:link,html body div#wrapper div#header h1 a:visited,html body div#wrapper div#header h1 a:hover,html body div#wrapper div#header h1 a:active{color:#000;}
|
||||
body.single div.entry-meta{line-height:200%;margin:0 20%;}
|
||||
body.home div.entry-meta,body.archive div.entry-meta,body.search div.entry-meta{text-align:center;margin:0 5%;padding:0 2em;}
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*"/>
|
||||
${set_locale(lang)}
|
||||
${base.html_headstart()}
|
||||
<%block name="extra_head">
|
||||
### Leave this block alone.
|
||||
</%block>
|
||||
${template_hooks['extra_head']()}
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<div id="header">
|
||||
<h1 id="blog-title">
|
||||
<a href="${blog_url}" title="${blog_title}">${blog_title}</a>
|
||||
</h1>
|
||||
<%block name="belowtitle">
|
||||
%if len(translations) > 1:
|
||||
<small>
|
||||
${messages("Also available in:")}
|
||||
%for langname in translations.keys():
|
||||
%if langname != lang:
|
||||
<a href="${_link("index", None, langname)}">${messages[langname]["LANGUAGE"]}</a>
|
||||
%endif
|
||||
%endfor
|
||||
</small>
|
||||
%endif
|
||||
</%block>
|
||||
</div>
|
||||
<div class="hfeed">
|
||||
<!--Body content-->
|
||||
<%block name="content"></%block>
|
||||
<!--End of body content-->
|
||||
</div><!-- .hfeed -->
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
||||
<div id="primary" class="theme_sidebar">
|
||||
<ul>
|
||||
%for url, text in navigation_links[lang]:
|
||||
<li><h3><a href="${rel_link(permalink, url)}">${text}</a></h3>
|
||||
${template_hooks['menu']()}
|
||||
${template_hooks['menu_alt']()}
|
||||
%endfor
|
||||
<li>${license}
|
||||
<li>${search_form}
|
||||
</ul>
|
||||
</div><!-- #primary .theme_sidebar -->
|
||||
|
||||
<div id="footer">
|
||||
<span id="theme-link"><a href="http://www.plaintxt.org/themes/blogtxt/" title="blog.txt theme for WordPress" rel="follow designer">blog.txt</a> 'theme by <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span>
|
||||
<small>${content_footer}
|
||||
${template_hooks['page_footer']()}
|
||||
</small><p>
|
||||
</div><!-- #footer -->
|
||||
|
||||
</div><!-- #wrapper -->
|
||||
${body_end}
|
||||
${template_hooks['body_end']()}
|
||||
${base.late_load_js()}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="index_helper.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%block name="content">
|
||||
% for post in posts:
|
||||
<div class="post hfeed">
|
||||
<h2 class="entry-title"><a href="${post.permalink()}">${post.title()}</a></h2>
|
||||
<div class="entry-content">
|
||||
${post.text(lang,index_teasers)}
|
||||
</div>
|
||||
<div class="entry-meta">
|
||||
<span class="meta-sep">|</span>
|
||||
<span class="entry-date">${messages("Posted:")} <time class="published" datetime="${post.date.isoformat()}">${post.formatted_date(date_format)}</time></span>
|
||||
<span class="meta-sep">|</span>
|
||||
% if not post.meta('nocomments'):
|
||||
${comments.comment_link(post.permalink(), post.base_path)}
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
% endfor
|
||||
${helper.html_pager()}
|
||||
${comments.comment_link_script()}
|
||||
${helper.mathjax_script(posts)}
|
||||
</%block>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%block name="extra_head">
|
||||
${helper.twitter_card_information(post)}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}">
|
||||
% endif
|
||||
</%block>
|
||||
<%block name="content">
|
||||
<div id="post-${post.meta('slug')}" class="post hfeed">
|
||||
<h2 class="entry-title"><a href='${permalink}'>${title}</a></h2>
|
||||
<div class="entry-content">
|
||||
${post.text()}
|
||||
</div>
|
||||
<div class="archive-meta">
|
||||
${messages("Posted:")} <time class="published" datetime="${post.date.isoformat()}">${post.formatted_date(date_format)}</time>
|
||||
<span class="meta-sep">|</span>
|
||||
${pheader.html_translations(post)}
|
||||
<%block name="sourcelink">
|
||||
% if not post.meta('password'):
|
||||
<a href="${post.source_link()}" id="sourcelink">${messages("Source")}</a>
|
||||
% endif
|
||||
</%block>
|
||||
${helper.html_tags(post)}
|
||||
<span class="entry-tags">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
${helper.html_pager(post)}
|
||||
% if not post.meta('nocomments'):
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
|
||||
% endif
|
||||
${helper.mathjax_script(post)}
|
||||
</div>
|
||||
</%block>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
A "website-done-with-bootstrap" theme, so to speak.
|
||||
|
||||
Has a fixed navigation bar at top that displays the NAVIGATION_LINKS
|
||||
setting and supports nested menus.
|
||||
|
||||
This theme is used in Nikola's website: http://getnikola.com
|
||||
|
||||
Important: To fit in the bootstrap navigation bar, the search form needs the
|
||||
navbar-form and pull-left CSS classes applied. Here is an example with Nikola's
|
||||
default duckduckgo search form:
|
||||
|
||||
SEARCH_FORM = """
|
||||
<!-- Custom search -->
|
||||
<form method="get" id="search" action="http://duckduckgo.com/" class="navbar-form pull-left">
|
||||
<input type="hidden" name="sites" value="%s"/>
|
||||
<input type="hidden" name="k8" value="#444444"/>
|
||||
<input type="hidden" name="k9" value="#D51920"/>
|
||||
<input type="hidden" name="kt" value="h"/>
|
||||
<input type="text" name="q" maxlength="255" placeholder="Search…" class="span2" style="margin-top: 4px;"/>
|
||||
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
|
||||
</form>
|
||||
<!-- End of custom search -->
|
||||
""" % SITE_URL
|
||||
1109
themes/bootstrap/assets/css/bootstrap-responsive.css
vendored
6167
themes/bootstrap/assets/css/bootstrap.css
vendored
|
|
@ -1,45 +0,0 @@
|
|||
/*
|
||||
Colorbox Core Style:
|
||||
The following CSS is consistent between example themes and should not be altered.
|
||||
*/
|
||||
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||
#cboxWrapper {max-width:none;}
|
||||
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||
#cboxContent{position:relative;}
|
||||
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
||||
#cboxTitle{margin:0;}
|
||||
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
||||
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
|
||||
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||
|
||||
/*
|
||||
User Style:
|
||||
Change the following styles to modify the appearance of Colorbox. They are
|
||||
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||
*/
|
||||
#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
|
||||
#colorbox{outline:0;}
|
||||
#cboxContent{margin-top:20px;background:#000;}
|
||||
.cboxIframe{background:#fff;}
|
||||
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||
#cboxLoadedContent{border:5px solid #000; background:#fff;}
|
||||
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
|
||||
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
|
||||
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||
|
||||
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
||||
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
||||
|
||||
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
||||
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
||||
|
||||
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
|
||||
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
|
||||
#cboxPrevious:hover{background-position:bottom left;}
|
||||
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
|
||||
#cboxNext:hover{background-position:bottom right;}
|
||||
#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
|
||||
#cboxClose:hover{background-position:bottom center;}
|
||||
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
|
@ -1,201 +0,0 @@
|
|||
body {
|
||||
padding-top: 60px;
|
||||
}
|
||||
@media (max-width: 979px) {
|
||||
body {
|
||||
padding-top: 0px;
|
||||
}
|
||||
}
|
||||
#container {
|
||||
width: 960px;
|
||||
margin: 50 auto;
|
||||
}
|
||||
|
||||
#contentcolumn {
|
||||
max-width: 760px;
|
||||
}
|
||||
#q {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.postbox {
|
||||
border-bottom: 2px solid darkgrey;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.footerbox {padding: 15px; text-align: center; margin-bottom: 15px;}
|
||||
|
||||
td.label {
|
||||
/* Issue #290 */
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.footnote-reference {
|
||||
/* Issue 290 */
|
||||
vertical-align: super;
|
||||
font-size: xx-small;
|
||||
}
|
||||
|
||||
.caption {
|
||||
/* Issue 292 */
|
||||
text-align: center;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
div.figure > img,
|
||||
div.figure > a > img {
|
||||
/* Issue 292 */
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
div.sidebar, div.admonition, div.attention, div.caution, div.danger, div.error, div.hint, div.important, div.note, div.tip, div.warning {
|
||||
/* Issue 277 */
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
blockquote p, blockquote {
|
||||
font-size: 17.5px;
|
||||
font-weight: 300;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
ul.bricks > li {
|
||||
display: inline;
|
||||
background-color: lightblue;
|
||||
padding: 8px;
|
||||
border-radius: 5px;
|
||||
line-height: 3;
|
||||
white-space:nowrap;
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
ul.breadcrumb > li:before {
|
||||
content: " / ";
|
||||
}
|
||||
|
||||
pre, pre code {
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
article.post-micro {
|
||||
font-family: Georgia, 'Times New Roman', Times, serif;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
/* fix anchors for headers */
|
||||
h1, h2, h3 {
|
||||
margin-top: -40px;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
h4, h5, h6 {
|
||||
margin-top: -50px;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
h1.panel-title, h2.panel-title, h3.panel-title, h4.panel-title, h5.panel-title, h6.panel-title {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.image-block {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.flowr_row {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tags {
|
||||
padding-left: 0;
|
||||
margin-left: -5px;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.tags > li {
|
||||
display: inline-block;
|
||||
min-width: 10px;
|
||||
padding: 3px 7px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
background-color: #999;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.tags > li a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.metadata p:before,
|
||||
.postlist .listdate:before {
|
||||
content: " — ";
|
||||
}
|
||||
|
||||
.metadata p:first-of-type:before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.metadata p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.posttranslations h3 {
|
||||
display: inline;
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.posttranslations h3:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.navbar .brand {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.navbar .brand #blog-title {
|
||||
padding: 10px 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.sr-only-focusable:active,
|
||||
.sr-only-focusable:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 12 KiB |
2280
themes/bootstrap/assets/js/bootstrap.js
vendored
6
themes/bootstrap/assets/js/bootstrap.min.js
vendored
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Arabic (ar)
|
||||
translated by: A.Rhman Sayes
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "الصورة {current} من {total}",
|
||||
previous: "السابق",
|
||||
next: "التالي",
|
||||
close: "إغلاق",
|
||||
xhrError: "حدث خطأ أثناء تحميل المحتوى.",
|
||||
imgError: "حدث خطأ أثناء تحميل الصورة.",
|
||||
slideshowStart: "تشغيل العرض",
|
||||
slideshowStop: "إيقاف العرض"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Bulgarian (bg)
|
||||
translated by: Marian M.Bida
|
||||
site: webmax.bg
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "изображение {current} от {total}",
|
||||
previous: "предишна",
|
||||
next: "следваща",
|
||||
close: "затвори",
|
||||
xhrError: "Неуспешно зареждане на съдържанието.",
|
||||
imgError: "Неуспешно зареждане на изображението.",
|
||||
slideshowStart: "пусни слайд-шоу",
|
||||
slideshowStop: "спри слайд-шоу"
|
||||
});
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Catala (ca)
|
||||
translated by: eduard salla
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Imatge {current} de {total}",
|
||||
previous: "Anterior",
|
||||
next: "Següent",
|
||||
close: "Tancar",
|
||||
xhrError: "Error en la càrrega del contingut.",
|
||||
imgError: "Error en la càrrega de la imatge."
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Czech (cs)
|
||||
translated by: Filip Novak
|
||||
site: mame.napilno.cz/filip-novak
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{current}. obrázek z {total}",
|
||||
previous: "Předchozí",
|
||||
next: "Následující",
|
||||
close: "Zavřít",
|
||||
xhrError: "Obsah se nepodařilo načíst.",
|
||||
imgError: "Obrázek se nepodařilo načíst.",
|
||||
slideshowStart: "Spustit slideshow",
|
||||
slideshowStop: "Zastavit slideshow"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Danish (da)
|
||||
translated by: danieljuhl
|
||||
site: danieljuhl.dk
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Billede {current} af {total}",
|
||||
previous: "Forrige",
|
||||
next: "Næste",
|
||||
close: "Luk",
|
||||
xhrError: "Indholdet fejlede i indlæsningen.",
|
||||
imgError: "Billedet fejlede i indlæsningen.",
|
||||
slideshowStart: "Start slideshow",
|
||||
slideshowStop: "Stop slideshow"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: German (de)
|
||||
translated by: wallenium
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Bild {current} von {total}",
|
||||
previous: "Zurück",
|
||||
next: "Vor",
|
||||
close: "Schließen",
|
||||
xhrError: "Dieser Inhalt konnte nicht geladen werden.",
|
||||
imgError: "Dieses Bild konnte nicht geladen werden.",
|
||||
slideshowStart: "Slideshow starten",
|
||||
slideshowStop: "Slideshow anhalten"
|
||||
});
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Spanish (es)
|
||||
translated by: migolo
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Imagen {current} de {total}",
|
||||
previous: "Anterior",
|
||||
next: "Siguiente",
|
||||
close: "Cerrar",
|
||||
xhrError: "Error en la carga del contenido.",
|
||||
imgError: "Error en la carga de la imagen."
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Estonian (et)
|
||||
translated by: keevitaja
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{current}/{total}",
|
||||
previous: "eelmine",
|
||||
next: "järgmine",
|
||||
close: "sulge",
|
||||
xhrError: "Sisu ei õnnestunud laadida.",
|
||||
imgError: "Pilti ei õnnestunud laadida.",
|
||||
slideshowStart: "Käivita slaidid",
|
||||
slideshowStop: "Peata slaidid"
|
||||
});
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Persian (Farsi)
|
||||
translated by: Mahdi Jaberzadeh Ansari (MJZSoft)
|
||||
site: www.mjzsoft.ir
|
||||
email: mahdijaberzadehansari (at) yahoo.co.uk
|
||||
Please note : Persian language is right to left like arabic.
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "تصویر {current} از {total}",
|
||||
previous: "قبلی",
|
||||
next: "بعدی",
|
||||
close: "بستن",
|
||||
xhrError: "متاسفانه محتویات مورد نظر قابل نمایش نیست.",
|
||||
imgError: "متاسفانه بارگذاری این عکس با مشکل مواجه شده است.",
|
||||
slideshowStart: "آغاز نمایش خودکار",
|
||||
slideshowStop: "توقف نمایش خودکار"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Finnish (fi)
|
||||
translated by: Mikko
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Kuva {current} / {total}",
|
||||
previous: "Edellinen",
|
||||
next: "Seuraava",
|
||||
close: "Sulje",
|
||||
xhrError: "Sisällön lataaminen epäonnistui.",
|
||||
imgError: "Kuvan lataaminen epäonnistui.",
|
||||
slideshowStart: "Aloita kuvaesitys.",
|
||||
slideshowStop: "Lopeta kuvaesitys."
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: French (fr)
|
||||
translated by: oaubert
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "image {current} sur {total}",
|
||||
previous: "précédente",
|
||||
next: "suivante",
|
||||
close: "fermer",
|
||||
xhrError: "Impossible de charger ce contenu.",
|
||||
imgError: "Impossible de charger cette image.",
|
||||
slideshowStart: "démarrer la présentation",
|
||||
slideshowStop: "arrêter la présentation"
|
||||
});
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Galician (gl)
|
||||
translated by: donatorouco
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Imaxe {current} de {total}",
|
||||
previous: "Anterior",
|
||||
next: "Seguinte",
|
||||
close: "Pechar",
|
||||
xhrError: "Erro na carga do contido.",
|
||||
imgError: "Erro na carga da imaxe."
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Greek (gr)
|
||||
translated by: S.Demirtzoglou
|
||||
site: webiq.gr
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Εικόνα {current} από {total}",
|
||||
previous: "Προηγούμενη",
|
||||
next: "Επόμενη",
|
||||
close: "Απόκρυψη",
|
||||
xhrError: "Το περιεχόμενο δεν μπόρεσε να φορτωθεί.",
|
||||
imgError: "Απέτυχε η φόρτωση της εικόνας.",
|
||||
slideshowStart: "Έναρξη παρουσίασης",
|
||||
slideshowStop: "Παύση παρουσίασης"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Hebrew (he)
|
||||
translated by: DavidCo
|
||||
site: DavidCo.me
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "תמונה {current} מתוך {total}",
|
||||
previous: "הקודם",
|
||||
next: "הבא",
|
||||
close: "סגור",
|
||||
xhrError: "שגיאה בטעינת התוכן.",
|
||||
imgError: "שגיאה בטעינת התמונה.",
|
||||
slideshowStart: "התחל מצגת",
|
||||
slideshowStop: "עצור מצגת"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Croatian (hr)
|
||||
translated by: Mladen Bicanic (base.hr)
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Slika {current} od {total}",
|
||||
previous: "Prethodna",
|
||||
next: "Sljedeća",
|
||||
close: "Zatvori",
|
||||
xhrError: "Neuspješno učitavanje sadržaja.",
|
||||
imgError: "Neuspješno učitavanje slike.",
|
||||
slideshowStart: "Pokreni slideshow",
|
||||
slideshowStop: "Zaustavi slideshow"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Hungarian (hu)
|
||||
translated by: kovadani
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{current}/{total} kép",
|
||||
previous: "Előző",
|
||||
next: "Következő",
|
||||
close: "Bezár",
|
||||
xhrError: "A tartalmat nem sikerült betölteni.",
|
||||
imgError: "A képet nem sikerült betölteni.",
|
||||
slideshowStart: "Diavetítés indítása",
|
||||
slideshowStop: "Diavetítés leállítása"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Indonesian (id)
|
||||
translated by: sarwasunda
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "ke {current} dari {total}",
|
||||
previous: "Sebelumnya",
|
||||
next: "Berikutnya",
|
||||
close: "Tutup",
|
||||
xhrError: "Konten ini tidak dapat dimuat.",
|
||||
imgError: "Gambar ini tidak dapat dimuat.",
|
||||
slideshowStart: "Putar",
|
||||
slideshowStop: "Berhenti"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Italian (it)
|
||||
translated by: maur8ino
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Immagine {current} di {total}",
|
||||
previous: "Precedente",
|
||||
next: "Successiva",
|
||||
close: "Chiudi",
|
||||
xhrError: "Errore nel caricamento del contenuto.",
|
||||
imgError: "Errore nel caricamento dell'immagine.",
|
||||
slideshowStart: "Inizia la presentazione",
|
||||
slideshowStop: "Termina la presentazione"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Japanaese (ja)
|
||||
translated by: Hajime Fujimoto
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{total}枚中{current}枚目",
|
||||
previous: "前",
|
||||
next: "次",
|
||||
close: "閉じる",
|
||||
xhrError: "コンテンツの読み込みに失敗しました",
|
||||
imgError: "画像の読み込みに失敗しました",
|
||||
slideshowStart: "スライドショー開始",
|
||||
slideshowStop: "スライドショー終了"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Korean (kr)
|
||||
translated by: lunareffect
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "총 {total} 중 {current}",
|
||||
previous: "이전",
|
||||
next: "다음",
|
||||
close: "닫기",
|
||||
xhrError: "컨텐츠를 불러오는 데 실패했습니다.",
|
||||
imgError: "이미지를 불러오는 데 실패했습니다.",
|
||||
slideshowStart: "슬라이드쇼 시작",
|
||||
slideshowStop: "슬라이드쇼 중지"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Lithuanian (lt)
|
||||
translated by: Tomas Norkūnas
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Nuotrauka {current} iš {total}",
|
||||
previous: "Atgal",
|
||||
next: "Pirmyn",
|
||||
close: "Uždaryti",
|
||||
xhrError: "Nepavyko užkrauti turinio.",
|
||||
imgError: "Nepavyko užkrauti nuotraukos.",
|
||||
slideshowStart: "Pradėti automatinę peržiūrą",
|
||||
slideshowStop: "Sustabdyti automatinę peržiūrą"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Latvian (lv)
|
||||
translated by: Matiss Roberts Treinis
|
||||
site: x0.lv
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "attēls {current} no {total}",
|
||||
previous: "iepriekšējais",
|
||||
next: "nākamais",
|
||||
close: "aizvērt",
|
||||
xhrError: "Neizdevās ielādēt saturu.",
|
||||
imgError: "Neizdevās ielādēt attēlu.",
|
||||
slideshowStart: "sākt slaidrādi",
|
||||
slideshowStop: "apturēt slaidrādi"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Myanmar (my)
|
||||
translated by: Yan Naing
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "ပုံ {total} မှာ {current} မြောက်ပုံ",
|
||||
previous: "ရှေ့သို့",
|
||||
next: "နောက်သို့",
|
||||
close: "ပိတ်မည်",
|
||||
xhrError: "ပါဝင်သော အကြောင်းအရာများ ဖော်ပြရာတွင် အနည်းငယ် ချို့ယွင်းမှုရှိနေပါသည်",
|
||||
imgError: "ပုံပြသရာတွင် အနည်းငယ် ချို့ယွင်းချက် ရှိနေပါသည်",
|
||||
slideshowStart: "ပုံများ စတင်ပြသမည်",
|
||||
slideshowStop: "ပုံပြသခြင်း ရပ်ဆိုင်မည်"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Dutch (nl)
|
||||
translated by: barryvdh
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Afbeelding {current} van {total}",
|
||||
previous: "Vorige",
|
||||
next: "Volgende",
|
||||
close: "Sluiten",
|
||||
xhrError: "Deze inhoud kan niet geladen worden.",
|
||||
imgError: "Deze afbeelding kan niet geladen worden.",
|
||||
slideshowStart: "Diashow starten",
|
||||
slideshowStop: "Diashow stoppen"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Norwegian (no)
|
||||
translated by: lars-erik
|
||||
site: markedspartner.no
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Bilde {current} av {total}",
|
||||
previous: "Forrige",
|
||||
next: "Neste",
|
||||
close: "Lukk",
|
||||
xhrError: "Feil ved lasting av innhold.",
|
||||
imgError: "Feil ved lasting av bilde.",
|
||||
slideshowStart: "Start lysbildefremvisning",
|
||||
slideshowStop: "Stopp lysbildefremvisning"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Polski (pl)
|
||||
translated by: Tomasz Wasiński
|
||||
site: 2bevisible.pl
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{current}. obrazek z {total}",
|
||||
previous: "Poprzedni",
|
||||
next: "Następny",
|
||||
close: "Zamknij",
|
||||
xhrError: "Nie udało się załadować treści.",
|
||||
imgError: "Nie udało się załadować obrazka.",
|
||||
slideshowStart: "rozpocznij pokaz slajdów",
|
||||
slideshowStop: "zatrzymaj pokaz slajdów"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Brazilian Portuguese (pt-br)
|
||||
translated by: ReinaldoMT
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Imagem {current} de {total}",
|
||||
previous: "Anterior",
|
||||
next: "Próxima",
|
||||
close: "Fechar",
|
||||
slideshowStart: "iniciar apresentação de slides",
|
||||
slideshowStop: "parar apresentação de slides",
|
||||
xhrError: "Erro ao carregar o conteúdo.",
|
||||
imgError: "Erro ao carregar a imagem."
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Romanian (ro)
|
||||
translated by: shurub3l
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "imagine {current} din {total}",
|
||||
previous: "precedenta",
|
||||
next: "următoarea",
|
||||
close: "închideți",
|
||||
xhrError: "Acest conținut nu poate fi încărcat.",
|
||||
imgError: "Această imagine nu poate fi încărcată",
|
||||
slideshowStart: "începeți prezentarea (slideshow)",
|
||||
slideshowStop: "opriți prezentarea (slideshow)"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Russian (ru)
|
||||
translated by: Marfa
|
||||
site: themarfa.name
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "изображение {current} из {total}",
|
||||
previous: "назад",
|
||||
next: "вперёд",
|
||||
close: "закрыть",
|
||||
xhrError: "Не удалось загрузить содержимое.",
|
||||
imgError: "Не удалось загрузить изображение.",
|
||||
slideshowStart: "начать слайд-шоу",
|
||||
slideshowStop: "остановить слайд-шоу"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Slovenian (si)
|
||||
translated by: Boštjan Pišler (pisler.si)
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Slika {current} od {total}",
|
||||
previous: "Prejšnja",
|
||||
next: "Naslednja",
|
||||
close: "Zapri",
|
||||
xhrError: "Vsebine ni bilo mogoče naložiti.",
|
||||
imgError: "Slike ni bilo mogoče naložiti.",
|
||||
slideshowStart: "Zaženi prezentacijo",
|
||||
slideshowStop: "Zaustavi prezentacijo"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Slovak (sk)
|
||||
translated by: Jaroslav Kostal
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "{current}. obrázok z {total}",
|
||||
previous: "Predchádzajúci",
|
||||
next: "Následujúci",
|
||||
close: "Zatvoriť",
|
||||
xhrError: "Obsah sa nepodarilo načítať.",
|
||||
imgError: "Obrázok sa nepodarilo načítať.",
|
||||
slideshowStart: "Spustiť slideshow",
|
||||
slideshowStop: "zastaviť slideshow"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Serbian (sr)
|
||||
translated by: Sasa Stefanovic (baguje.com)
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Slika {current} od {total}",
|
||||
previous: "Prethodna",
|
||||
next: "Sledeća",
|
||||
close: "Zatvori",
|
||||
xhrError: "Neuspešno učitavanje sadržaja.",
|
||||
imgError: "Neuspešno učitavanje slike.",
|
||||
slideshowStart: "Pokreni slideshow",
|
||||
slideshowStop: "Zaustavi slideshow"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Swedish (sv)
|
||||
translated by: Mattias Reichel
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Bild {current} av {total}",
|
||||
previous: "Föregående",
|
||||
next: "Nästa",
|
||||
close: "Stäng",
|
||||
xhrError: "Innehållet kunde inte laddas.",
|
||||
imgError: "Den här bilden kunde inte laddas.",
|
||||
slideshowStart: "Starta bildspel",
|
||||
slideshowStop: "Stoppa bildspel"
|
||||
});
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Turkish (tr)
|
||||
translated by: Caner ÖNCEL
|
||||
site: egonomik.com
|
||||
|
||||
edited by: Sinan Eldem
|
||||
www.sinaneldem.com.tr
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "Görsel {current} / {total}",
|
||||
previous: "Önceki",
|
||||
next: "Sonraki",
|
||||
close: "Kapat",
|
||||
xhrError: "İçerik yüklenirken hata meydana geldi.",
|
||||
imgError: "Resim yüklenirken hata meydana geldi.",
|
||||
slideshowStart: "Slaytı Başlat",
|
||||
slideshowStop: "Slaytı Durdur"
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
jQuery ColorBox language configuration
|
||||
language: Ukrainian (uk)
|
||||
translated by: Andrew
|
||||
http://acisoftware.com.ua
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "зображення {current} з {total}",
|
||||
previous: "попереднє",
|
||||
next: "наступне",
|
||||
close: "закрити",
|
||||
xhrError: "Не вдалося завантажити вміст.",
|
||||
imgError: "Не вдалося завантажити зображення.",
|
||||
slideshowStart: "почати слайд-шоу",
|
||||
slideshowStop: "зупинити слайд-шоу"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Chinese Simplified (zh-CN)
|
||||
translated by: zhao weiming
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "当前图像 {current} 总共 {total}",
|
||||
previous: "前一页",
|
||||
next: "后一页",
|
||||
close: "关闭",
|
||||
xhrError: "此内容无法加载",
|
||||
imgError: "此图片无法加载",
|
||||
slideshowStart: "开始播放幻灯片",
|
||||
slideshowStop: "停止播放幻灯片"
|
||||
});
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
jQuery Colorbox language configuration
|
||||
language: Chinese Traditional (zh-TW)
|
||||
translated by: Atans Chiu
|
||||
*/
|
||||
jQuery.extend(jQuery.colorbox.settings, {
|
||||
current: "圖片 {current} 總共 {total}",
|
||||
previous: "上一頁",
|
||||
next: "下一頁",
|
||||
close: "關閉",
|
||||
xhrError: "此內容加載失敗.",
|
||||
imgError: "此圖片加載失敗.",
|
||||
slideshowStart: "開始幻燈片",
|
||||
slideshowStop: "結束幻燈片"
|
||||
});
|
||||
|
|
@ -1,265 +0,0 @@
|
|||
/**
|
||||
* Flowr.js - Simple jQuery plugin to emulate Flickr's justified view
|
||||
* For usage information refer to http://github.com/kalyan02/flowr-js
|
||||
*
|
||||
*
|
||||
* @author: Kalyan Chakravarthy (http://KalyanChakravarthy.net)
|
||||
* @version: v0.1
|
||||
*/
|
||||
(function($){
|
||||
//$("#container2").css( 'border', '1px solid #ccc');
|
||||
$.fn.flowr = function(options) {
|
||||
|
||||
$this = this;
|
||||
var ROW_CLASS_NAME = 'flowr-row'; // Class name for the row of flowy
|
||||
var MAX_LAST_ROW_GAP = 25; // If the width of last row is lesser than max-width, recalculation is needed
|
||||
var NO_COPY_FIELDS = [ 'complete', 'data', 'responsive' ]; // these attributes will not be carried forward for append related calls
|
||||
var DEFAULTS = {
|
||||
'data' : [],
|
||||
'padding' : 5, // whats the padding between flowy items
|
||||
'height' : 240, // Minimum height an image row should take
|
||||
'render' : null, // callback function to get the tag
|
||||
'append' : false, // TODO
|
||||
'widthAttr' : 'width', // a custom data structure can specify which attribute refers to height/width
|
||||
'heightAttr' : 'height',
|
||||
'maxScale' : 1.5, // In case there is only 1 elment in last row
|
||||
'maxWidth' : this.width()-1, // 1px is just for offset
|
||||
'itemWidth' : null, // callback function for width
|
||||
'itemHeight' : null, // callback function for height
|
||||
'complete' : null, // complete callback
|
||||
'rowClassName' : ROW_CLASS_NAME,
|
||||
'rows' : -1, // Maximum number of rows to render. -1 for no limit.
|
||||
'responsive' : true // make content responsive
|
||||
};
|
||||
var settings = $.extend( DEFAULTS, options);
|
||||
|
||||
// If data is being appended, we already have settings
|
||||
// If we already have settings, retrieve them
|
||||
if( settings.append && $this.data('lastSettings') ) {
|
||||
lastSettings = $this.data('lastSettings');
|
||||
|
||||
// Copy over the settings from previous init
|
||||
for( attr in DEFAULTS ) {
|
||||
if( NO_COPY_FIELDS.indexOf(attr)<0 && settings[attr] == DEFAULTS[attr] ) {
|
||||
settings[attr] = lastSettings[attr];
|
||||
}
|
||||
}
|
||||
|
||||
// Check if we have an incomplete last row
|
||||
lastRow = $this.data('lastRow');
|
||||
if( lastRow.data.length > 0 && settings.maxWidth-lastRow.width > MAX_LAST_ROW_GAP ) {
|
||||
// Prepend the incomplete row to newly loaded data and redraw
|
||||
lastRowData = lastSettings.data.slice( lastSettings.data.length - lastRow.data.length - 1 );
|
||||
settings.data = lastRowData.concat(settings.data);
|
||||
|
||||
// Remove the incomplete row
|
||||
// TODO: Don't reload this stuff later. Reattach to new row.
|
||||
$( '.' + settings.rowClassName + ':last', $this ).detach();
|
||||
} else {
|
||||
// console.log( lastRow.data.length );
|
||||
// console.log( lastRow.width );
|
||||
}
|
||||
}
|
||||
|
||||
// only on the first initial call
|
||||
if( !settings.responsive && !settings.append )
|
||||
$this.width( $this.width() );
|
||||
|
||||
// Basic sanity checks
|
||||
if( !(settings.data instanceof Array) )
|
||||
return;
|
||||
|
||||
if( typeof(settings.padding) != 'number' )
|
||||
settings.padding = parseInt( settings.padding );
|
||||
|
||||
if( typeof(settings.itemWidth) != 'function' ) {
|
||||
settings.itemWidth = function(data) {
|
||||
return data[ settings.widthAttr ];
|
||||
}
|
||||
}
|
||||
|
||||
if( typeof(settings.itemHeight) != 'function' ) {
|
||||
settings.itemHeight = function(data) {
|
||||
return data[ settings.heightAttr ];
|
||||
}
|
||||
}
|
||||
|
||||
// A standalone utility to calculate the item widths for a particular row
|
||||
// Returns rowWidth: width occupied & data : the items in the new row
|
||||
var utils = {
|
||||
getNextRow : function( data, settings ) {
|
||||
var itemIndex = 0;
|
||||
var itemsLength = data.length;
|
||||
var lineItems = [];
|
||||
var lineWidth = 0;
|
||||
var maxWidth = settings.maxWidth;
|
||||
var paddingSize = settings.padding;
|
||||
|
||||
// console.log( 'maxItems=' + data.length );
|
||||
|
||||
requiredPadding = function() {
|
||||
var extraPads = arguments.length == 1 ? arguments[0] : 0;
|
||||
return (lineItems.length - 1 + extraPads) * settings.padding;
|
||||
}
|
||||
|
||||
while( lineWidth + requiredPadding() < settings.maxWidth && (itemIndex < itemsLength) ) {
|
||||
var itemData = data[ itemIndex ];
|
||||
var itemWidth = settings.itemWidth.call( $this, itemData );
|
||||
var itemHeight = settings.itemHeight.call( $this, itemData );
|
||||
|
||||
var minHeight = settings.height;
|
||||
var minWidth = Math.floor( itemWidth * settings.height / itemHeight );
|
||||
|
||||
var newLineWidth = lineWidth + minWidth + requiredPadding(1);
|
||||
|
||||
if (minWidth > settings.maxWidth) {
|
||||
// very short+wide images like panoramas
|
||||
// show them even if ugly, as wide as possible
|
||||
minWidth = settings.maxWidth-1;
|
||||
minHeight = settings.height * minHeight / minWidth;
|
||||
}
|
||||
|
||||
// console.log( 'lineWidth = ' + lineWidth );
|
||||
// console.log( 'newLineWidth = ' + newLineWidth );
|
||||
if( newLineWidth < settings.maxWidth ) {
|
||||
lineItems.push({
|
||||
'height' : minHeight,
|
||||
'width' : minWidth,
|
||||
'itemData' : itemData
|
||||
});
|
||||
|
||||
lineWidth += minWidth;
|
||||
itemIndex ++;
|
||||
} else {
|
||||
// We'd have exceeded width. So break off to scale.
|
||||
// console.log( 'breaking off = ' + itemIndex );
|
||||
// console.log( 'leave off size = ' + lineItems.length );
|
||||
break;
|
||||
}
|
||||
} //while
|
||||
|
||||
// Scale the size to max width
|
||||
testWidth=0;
|
||||
if( lineWidth < settings.maxWidth ) {
|
||||
var fullScaleWidth = settings.maxWidth - requiredPadding() - 10;
|
||||
var currScaleWidth = lineWidth;
|
||||
var scaleFactor = fullScaleWidth / currScaleWidth;
|
||||
if( scaleFactor > settings.maxScale )
|
||||
scaleFactor = 1;
|
||||
|
||||
var newHeight = Math.round( settings.height * scaleFactor );
|
||||
for( i=0; i<lineItems.length; i++ ) {
|
||||
var lineItem = lineItems[ i ];
|
||||
lineItem.width = Math.floor(lineItem.width * scaleFactor);
|
||||
lineItem.height = newHeight;
|
||||
|
||||
testWidth += lineItem.width;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
data : lineItems,
|
||||
width : testWidth + requiredPadding()
|
||||
};
|
||||
}, //getNextRow
|
||||
reorderContent : function(){
|
||||
/*
|
||||
TODO: optimize for faster resizing by reusing dom objects instead of killing the dom
|
||||
*/
|
||||
var _initialWidth = $this.data('width');
|
||||
var _newWidth = $this.width();
|
||||
var _change = _initialWidth - _newWidth;
|
||||
|
||||
if(_initialWidth!=_newWidth) {
|
||||
$this.html('');
|
||||
var _settings = $this.data( 'lastSettings' );
|
||||
_settings.data = $this.data( 'data' );
|
||||
_settings.maxWidth = $this.width() - 1;
|
||||
$this.flowr( _settings );
|
||||
}
|
||||
}
|
||||
} //utils
|
||||
|
||||
// If the resposive var is set to true then listen for resize method
|
||||
// and prevent resizing from happening twice if responsive is set again during append phase!
|
||||
if( settings.responsive && !$this.data('__responsive') ) {
|
||||
$(window).resize(function(){
|
||||
initialWidth = $this.data('width');
|
||||
newWidth = $this.width();
|
||||
|
||||
//initiate resize
|
||||
if( initialWidth != newWidth ) {
|
||||
var task_id = $this.data('task_id');
|
||||
if( task_id ) {
|
||||
task_id = clearTimeout( task_id );
|
||||
task_id = null;
|
||||
}
|
||||
task_id = setTimeout( utils.reorderContent, 80 );
|
||||
$this.data('task_id', task_id );
|
||||
}
|
||||
});
|
||||
$this.data('__responsive',true);
|
||||
}
|
||||
|
||||
|
||||
return this.each(function(){
|
||||
|
||||
// Get a copy of original data. 1 level deep copy is sufficient.
|
||||
var data = settings.data.slice(0);
|
||||
var rowData = null;
|
||||
var currentRow = 0;
|
||||
var currentItem = 0;
|
||||
|
||||
// Store all the data
|
||||
var allData = $this.data( 'data' ) || [];
|
||||
for(i=0;i<data.length;i++) {
|
||||
allData.push( data[i] );
|
||||
}
|
||||
$this.data( 'data', allData );
|
||||
|
||||
// While we have a new row
|
||||
while( ( rowData = utils.getNextRow(data,settings) ) != null && rowData.data.length > 0 ) {
|
||||
if( settings.rows > 0 && currentRow >= settings.rows )
|
||||
break;
|
||||
// remove the number of elements in the new row from the top of data stack
|
||||
data.splice( 0, rowData.data.length );
|
||||
|
||||
// Create a new row div, add class, append the htmls and insert the flowy items
|
||||
var $row = $('<div>').addClass(settings.rowClassName);
|
||||
for( i=0; i<rowData.data.length; i++ ) {
|
||||
var displayData = rowData.data[i];
|
||||
// Get the HTML object from custom render function passed as argument
|
||||
var displayObject = settings.render.call( $this, displayData );
|
||||
displayObject = $(displayObject);
|
||||
// Set some basic stuff
|
||||
displayObject
|
||||
.css( 'width', displayData.width )
|
||||
.css( 'height', displayData.height )
|
||||
.css( 'margin-left', i==0 ? '0' : settings.padding + "px" ); //TODO:Refactor
|
||||
$row.append( displayObject );
|
||||
|
||||
currentItem++;
|
||||
}
|
||||
$this.append( $row );
|
||||
// console.log ( "I> rowData.data.length="+rowData.data.length +" rowData.width="+rowData.width );
|
||||
|
||||
currentRow++;
|
||||
$this.data('lastRow', rowData );
|
||||
}
|
||||
// store the current state of settings and the items in last row
|
||||
// we'll need this info when we append more items
|
||||
$this.data('lastSettings', settings );
|
||||
|
||||
// onComplete callback
|
||||
// pass back info about list of rows and items rendered
|
||||
if( typeof (settings.complete) == 'function' ) {
|
||||
var completeData = {
|
||||
renderedRows : currentRow,
|
||||
renderedItems : currentItem
|
||||
}
|
||||
settings.complete.call( $this, completeData );
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
5
themes/bootstrap/assets/js/jquery.min.js
vendored
|
|
@ -1,4 +0,0 @@
|
|||
assets/css/all-nocdn.css=bootstrap.css,bootstrap-responsive.css,rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/css/all.css=rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/js/all-nocdn.js=jquery.min.js,bootstrap.min.js,jquery.colorbox-min.js,moment-with-locales.min.js,fancydates.js
|
||||
assets/js/all.js=jquery.colorbox-min.js,moment-with-locales.min.js,fancydates.js
|
||||
|
|
@ -1 +0,0 @@
|
|||
mako
|
||||
|
|
@ -1 +0,0 @@
|
|||
base
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*" />
|
||||
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
|
||||
${set_locale(lang)}
|
||||
${base.html_headstart()}
|
||||
<%block name="extra_head">
|
||||
### Leave this block alone.
|
||||
</%block>
|
||||
${template_hooks['extra_head']()}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
|
||||
|
||||
<!-- Menubar -->
|
||||
|
||||
<div class="navbar navbar-fixed-top" id="navbar">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
|
||||
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
|
||||
<a class="brand" href="${abs_link('/')}">
|
||||
%if logo_url:
|
||||
<img src="${logo_url}" alt="${blog_title}" id="logo">
|
||||
%endif
|
||||
|
||||
% if show_blog_title:
|
||||
<span id="blog-title">${blog_title}</span>
|
||||
% endif
|
||||
</a>
|
||||
<!-- Everything you want hidden at 940px or less, place within here -->
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
${base.html_navigation_links()}
|
||||
${template_hooks['menu']()}
|
||||
</ul>
|
||||
%if search_form:
|
||||
${search_form}
|
||||
%endif
|
||||
<ul class="nav pull-right">
|
||||
<%block name="belowtitle">
|
||||
%if len(translations) > 1:
|
||||
<li>${base.html_translations()}</li>
|
||||
%endif
|
||||
</%block>
|
||||
% if show_sourcelink:
|
||||
<li><%block name="sourcelink"></%block></li>
|
||||
%endif
|
||||
${template_hooks['menu_alt']()}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Menubar -->
|
||||
<div class="container-fluid" id="content">
|
||||
<!--Body content-->
|
||||
<div class="row-fluid">
|
||||
<div class="span2"></div>
|
||||
<div class="span8">
|
||||
${template_hooks['page_header']()}
|
||||
<%block name="content"></%block>
|
||||
</div>
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
</div>
|
||||
<div class="footerbox">
|
||||
${content_footer}
|
||||
${template_hooks['page_footer']()}
|
||||
</div>
|
||||
${base.late_load_js()}
|
||||
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("${momentjs_locales[lang]}");
|
||||
fancydates(${date_fanciness}, ${js_date_format});
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
<%block name="extra_js"></%block>
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.code()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.code()}
|
||||
% endif
|
||||
${body_end}
|
||||
${template_hooks['body_end']()}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,170 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
|
||||
<%def name="html_headstart()">
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
\
|
||||
% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
|
||||
prefix='\
|
||||
%if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']):
|
||||
og: http://ogp.me/ns# \
|
||||
%endif
|
||||
%if use_open_graph:
|
||||
article: http://ogp.me/ns/article# \
|
||||
%endif
|
||||
%if comment_system == 'facebook':
|
||||
fb: http://ogp.me/ns/fb# \
|
||||
%endif
|
||||
'\
|
||||
%endif
|
||||
\
|
||||
% if is_rtl:
|
||||
dir="rtl" \
|
||||
% endif
|
||||
\
|
||||
lang="${lang}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
%if description:
|
||||
<meta name="description" content="${description}">
|
||||
%endif
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>${title|striphtml} | ${blog_title|striphtml}</title>
|
||||
|
||||
${html_stylesheets()}
|
||||
${html_feedlinks()}
|
||||
%if permalink:
|
||||
<link rel="canonical" href="${abs_link(permalink)}">
|
||||
%endif
|
||||
|
||||
%if favicons:
|
||||
%for name, file, size in favicons:
|
||||
<link rel="${name}" href="${file}" sizes="${size}"/>
|
||||
%endfor
|
||||
%endif
|
||||
|
||||
% if comment_system == 'facebook':
|
||||
<meta property="fb:app_id" content="${comment_system_id}">
|
||||
% endif
|
||||
|
||||
%if prevlink:
|
||||
<link rel="prev" href="${prevlink}" type="text/html">
|
||||
%endif
|
||||
%if nextlink:
|
||||
<link rel="next" href="${nextlink}" type="text/html">
|
||||
%endif
|
||||
|
||||
${mathjax_config}
|
||||
%if use_cdn:
|
||||
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
%else:
|
||||
<!--[if lt IE 9]><script src="${url_replacer(permalink, '/assets/js/html5.js', lang)}"></script><![endif]-->
|
||||
%endif
|
||||
|
||||
${extra_head_data}
|
||||
</%def>
|
||||
|
||||
|
||||
<%def name="late_load_js()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/all.js"></script>
|
||||
%else:
|
||||
<script src="/assets/js/all-nocdn.js"></script>
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
|
||||
%else:
|
||||
<script src="/assets/js/jquery.min.js"></script>
|
||||
<script src="/assets/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/moment-with-locales.min.js"></script>
|
||||
<script src="/assets/js/fancydates.js"></script>
|
||||
%endif
|
||||
<script src="/assets/js/jquery.colorbox-min.js"></script>
|
||||
%endif
|
||||
%if colorbox_locales[lang]:
|
||||
<script src="/assets/js/colorbox-i18n/jquery.colorbox-${colorbox_locales[lang]}.js"></script>
|
||||
%endif
|
||||
${social_buttons_code}
|
||||
</%def>
|
||||
|
||||
|
||||
<%def name="html_stylesheets()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
|
||||
%else:
|
||||
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
|
||||
%else:
|
||||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
|
||||
%if has_custom_css:
|
||||
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%endif
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.css()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.css()}
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
<%def name="html_navigation_links()">
|
||||
%for url, text in navigation_links[lang]:
|
||||
% if isinstance(url, tuple):
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">${text}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
%for suburl, text in url:
|
||||
% if rel_link(permalink, suburl) == "#":
|
||||
<li class="active"><a href="${permalink}">${text}</a>
|
||||
%else:
|
||||
<li><a href="${suburl}">${text}</a>
|
||||
%endif
|
||||
%endfor
|
||||
</ul>
|
||||
% else:
|
||||
% if rel_link(permalink, url) == "#":
|
||||
<li class="active"><a href="${permalink}">${text}</a>
|
||||
%else:
|
||||
<li><a href="${url}">${text}</a>
|
||||
%endif
|
||||
% endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
||||
<%def name="html_feedlinks()">
|
||||
%if rss_link:
|
||||
${rss_link}
|
||||
%elif generate_rss:
|
||||
%if len(translations) > 1:
|
||||
%for language in translations:
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS (${language})" href="${_link('rss', None, language)}">
|
||||
%endfor
|
||||
%else:
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="${_link('rss', None)}">
|
||||
%endif
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_translations()">
|
||||
%for langname in translations.keys():
|
||||
%if langname != lang:
|
||||
<li><a href="${_link("index", None, langname)}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></li>
|
||||
%endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%namespace name="ui" file="crumbs.tmpl" import="bar"/>
|
||||
<%block name="sourcelink"></%block>
|
||||
|
||||
<%block name="content">
|
||||
${ui.bar(crumbs)}
|
||||
%if title:
|
||||
<h1>${title}</h1>
|
||||
%endif
|
||||
%if post:
|
||||
<p>
|
||||
${post.text()}
|
||||
</p>
|
||||
%endif
|
||||
%if folders:
|
||||
<ul>
|
||||
% for folder, ftitle in folders:
|
||||
<li><a href="${folder}"><i class="icon-folder-open"></i> ${ftitle}</a></li>
|
||||
% endfor
|
||||
</ul>
|
||||
%endif
|
||||
|
||||
<div id="gallery_container"></div>
|
||||
%if photo_array:
|
||||
<noscript>
|
||||
<ul class="thumbnails">
|
||||
%for image in photo_array:
|
||||
<li><a href="${image['url']}" class="thumbnail image-reference" title="${image['title']}">
|
||||
<img src="${image['url_thumb']}" alt="${image['title']}" /></a>
|
||||
%endfor
|
||||
</ul>
|
||||
</noscript>
|
||||
%endif
|
||||
%if site_has_comments and enable_comments:
|
||||
${comments.comment_form(None, permalink, title)}
|
||||
%endif
|
||||
</%block>
|
||||
|
||||
<%block name="extra_head">
|
||||
${parent.extra_head()}
|
||||
<style type="text/css">
|
||||
.image-block {
|
||||
display: inline-block;
|
||||
}
|
||||
.flowr_row {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</%block>
|
||||
|
||||
|
||||
<%block name="extra_js">
|
||||
<script src="/assets/js/flowr.plugin.js"></script>
|
||||
<script>
|
||||
jsonContent = ${photo_array_json};
|
||||
$("#gallery_container").flowr({
|
||||
data : jsonContent,
|
||||
height : ${thumbnail_size}*.6,
|
||||
padding: 5,
|
||||
rows: -1,
|
||||
render : function(params) {
|
||||
// Just return a div, string or a dom object, anything works fine
|
||||
img = $("<img />").attr({
|
||||
'src': params.itemData.url_thumb,
|
||||
'width' : params.width,
|
||||
'height' : params.height
|
||||
}).css('max-width', '100%');
|
||||
link = $( "<a></a>").attr({
|
||||
'href': params.itemData.url,
|
||||
'class': 'image-reference'
|
||||
});
|
||||
div = $("<div />").addClass('image-block').attr({
|
||||
'title': params.itemData.title,
|
||||
'data-toggle': "tooltip",
|
||||
});
|
||||
link.append(img);
|
||||
div.append(link);
|
||||
div.hover(div.tooltip());
|
||||
return div;
|
||||
},
|
||||
itemWidth : function(data) { return data.size.w; },
|
||||
itemHeight : function(data) { return data.size.h; },
|
||||
complete : function(params) {
|
||||
if( jsonContent.length > params.renderedItems ) {
|
||||
nextRenderList = jsonContent.slice( params.renderedItems );
|
||||
}
|
||||
}
|
||||
});
|
||||
$("a.image-reference").colorbox({rel:"gal", maxWidth:"100%",maxHeight:"100%",scalePhotos:true});
|
||||
</script>
|
||||
</%block>
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%namespace name="ui" file="crumbs.tmpl" import="bar"/>
|
||||
|
||||
<%block name="content">
|
||||
${ui.bar(crumbs)}
|
||||
%if folders or files:
|
||||
<ul class="list-unstyled">
|
||||
% for name in folders:
|
||||
<li><a href="${name}"><i class="icon-folder-open"></i> ${name}</a>
|
||||
% endfor
|
||||
% for name in files:
|
||||
<li><a href="${name}.html"><i class="icon-file"></i> ${name}</a>
|
||||
% endfor
|
||||
</ul>
|
||||
%endif
|
||||
% if code:
|
||||
${code}
|
||||
% endif
|
||||
</%block>
|
||||
|
||||
<%block name="sourcelink">
|
||||
% if source_link:
|
||||
<li>
|
||||
<a href="${source_link}" id="sourcelink">${messages("Source")}</a>
|
||||
</li>
|
||||
% endif
|
||||
</%block>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
|
||||
<%block name="extra_head">
|
||||
${parent.extra_head()}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}">
|
||||
% endif
|
||||
%if post.description():
|
||||
<meta name="description" itemprop="description" content="${post.description()}">
|
||||
%endif
|
||||
<meta name="author" content="${post.author()}">
|
||||
%if post.prev_post:
|
||||
<link rel="prev" href="${post.prev_post.permalink()}" title="${post.prev_post.title()}" type="text/html">
|
||||
%endif
|
||||
%if post.next_post:
|
||||
<link rel="next" href="${post.next_post.permalink()}" title="${post.next_post.title()}" type="text/html">
|
||||
%endif
|
||||
${helper.open_graph_metadata(post)}
|
||||
${helper.twitter_card_information(post)}
|
||||
${helper.meta_translations(post)}
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
<article class="post-${post.meta('type')} h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
${pheader.html_post_header()}
|
||||
<div class="e-content entry-content" itemprop="articleBody text">
|
||||
${post.text()}
|
||||
</div>
|
||||
<aside class="postpromonav">
|
||||
<nav>
|
||||
${helper.html_tags(post)}
|
||||
${helper.html_pager(post)}
|
||||
</nav>
|
||||
</aside>
|
||||
% if not post.meta('nocomments') and site_has_comments:
|
||||
<section class="comments">
|
||||
<h2>${messages("Comments")}</h2>
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)}
|
||||
</section>
|
||||
% endif
|
||||
${helper.mathjax_script(post)}
|
||||
</article>
|
||||
${comments.comment_link_script()}
|
||||
</%block>
|
||||
|
||||
<%block name="sourcelink">
|
||||
% if show_sourcelink:
|
||||
<li>
|
||||
<a href="${post.source_link()}" id="sourcelink">${messages("Source")}</a>
|
||||
</li>
|
||||
% endif
|
||||
</%block>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<%block name="content">
|
||||
<div id="${carousel_id}" class="carousel slide">
|
||||
<ol class="carousel-indicators">
|
||||
% for i in range(len(slides_content)):
|
||||
% if i == 0:
|
||||
<li data-target="#${carousel_id}" data-slide-to="${i}" class="active"></li>
|
||||
% else:
|
||||
<li data-target="#${carousel_id}" data-slide-to="${i}"></li>
|
||||
% endif
|
||||
% endfor
|
||||
</ol>
|
||||
<div class="carousel-inner">
|
||||
% for i, image in enumerate(slides_content):
|
||||
% if i == 0:
|
||||
<div class="item active"><img src="${image}" alt="" style="margin: 0 auto 0 auto;"></div>
|
||||
% else:
|
||||
<div class="item"><img src="${image}" alt="" style="margin: 0 auto 0 auto;"></div>
|
||||
% endif
|
||||
% endfor
|
||||
</div>
|
||||
<a class="left carousel-control" href="#${carousel_id}" data-slide="prev">‹</a>
|
||||
<a class="right carousel-control" href="#${carousel_id}" data-slide="next">›</a>
|
||||
</div>
|
||||
</%block>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="base.tmpl"/>
|
||||
|
||||
<%block name="content">
|
||||
<h1>${title}</h1>
|
||||
% if cat_items:
|
||||
<h2>${messages("Categories")}</h2>
|
||||
<ul class="unstyled">
|
||||
% for text, link in cat_items:
|
||||
% if text:
|
||||
<li><a class="reference badge" href="${link}">${text}</a></li>
|
||||
% endif
|
||||
% endfor
|
||||
</ul>
|
||||
% if items:
|
||||
<h2>${messages("Tags")}</h2>
|
||||
% endif
|
||||
%endif
|
||||
% if items:
|
||||
<ul class="list-inline">
|
||||
% for text, link in items:
|
||||
<li><a class="reference badge" href="${link}">${text}</a></li>
|
||||
% endfor
|
||||
</ul>
|
||||
% endif
|
||||
</%block>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Chris “Kwpolska” Warrick <https://github.com/Kwpolska>
|
||||
Roberto Alsina <https://github.com/ralsina>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
This theme is mostly equivalent to `bootstrap3`, with the optional
|
||||
`bootstrap-theme.min.css` file in use. According to the Bootstrap
|
||||
developers, it provides a visually enhanced experience, with gradients
|
||||
(hence the name), resembling Bootstrap 2.x.
|
||||
|
||||
(bootswatch IS NOT compatible with this theme. Attempting to use both
|
||||
will lead to a broken, mixed theme in which most things affected by
|
||||
bootswatch will be replaced by bootstrap-theme’s creations)
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
assets/css/all-nocdn.css=bootstrap.css,bootstrap-theme.css,rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/css/all.css=rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/js/all-nocdn.js=jquery.min.js,bootstrap.min.js,jquery.colorbox-min.js
|
||||
assets/js/all.js=jquery.colorbox-min.js
|
||||
|
|
@ -1 +0,0 @@
|
|||
jinja
|
||||
|
|
@ -1 +0,0 @@
|
|||
bootstrap3-jinja
|
||||
|
|
@ -1,161 +0,0 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
|
||||
{% macro html_headstart() %}
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
|
||||
{% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook') %}
|
||||
prefix='
|
||||
{% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) %}
|
||||
og: http://ogp.me/ns#
|
||||
{% endif %}
|
||||
{% if use_open_graph %}
|
||||
article: http://ogp.me/ns/article#
|
||||
{% endif %}
|
||||
{% if comment_system == 'facebook' %}
|
||||
fb: http://ogp.me/ns/fb#
|
||||
{% endif %}
|
||||
'
|
||||
{% endif %}
|
||||
|
||||
{% if is_rtl %}
|
||||
dir="rtl"
|
||||
{% endif %}
|
||||
|
||||
lang="{{ lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
{% if description %}
|
||||
<meta name="description" content="{{ description }}">
|
||||
{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title|e }} | {{ blog_title|e }}</title>
|
||||
|
||||
{{ html_stylesheets() }}
|
||||
{{ html_feedlinks() }}
|
||||
{% if permalink %}
|
||||
<link rel="canonical" href="{{ abs_link(permalink) }}">
|
||||
{% endif %}
|
||||
|
||||
{% if favicons %}
|
||||
{% for name, file, size in favicons %}
|
||||
<link rel="{{ name }}" href="{{ file }}" sizes="{{ size }}"/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if comment_system == 'facebook' %}
|
||||
<meta property="fb:app_id" content="{{ comment_system_id }}">
|
||||
{% endif %}
|
||||
|
||||
{{ mathjax_config }}
|
||||
{% if use_cdn %}
|
||||
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
{% else %}
|
||||
<!--[if lt IE 9]><script src="/assets/js/html5.js"></script><![endif]-->
|
||||
{% endif %}
|
||||
|
||||
{{ extra_head_data }}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro late_load_js() %}
|
||||
{% if use_bundles %}
|
||||
{% if use_cdn %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/all.js"></script>
|
||||
{% else %}
|
||||
<script src="/assets/js/all-nocdn.js"></script>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if use_cdn %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
||||
{% else %}
|
||||
<script src="/assets/js/jquery.min.js"></script>
|
||||
<script src="/assets/js/bootstrap.min.js"></script>
|
||||
{% endif %}
|
||||
<script src="/assets/js/jquery.colorbox-min.js"></script>
|
||||
{% endif %}
|
||||
{% if colorbox_locales[lang] %}
|
||||
<script src="/assets/js/colorbox-i18n/jquery.colorbox-{{ colorbox_locales[lang] }}.js"></script>
|
||||
{% endif %}
|
||||
{{ social_buttons_code }}
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{% macro html_stylesheets() %}
|
||||
{% if use_bundles %}
|
||||
{% if use_cdn %}
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
|
||||
{% else %}
|
||||
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if use_cdn %}
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css" rel="stylesheet">
|
||||
{% else %}
|
||||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
|
||||
{% if has_custom_css %}
|
||||
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if annotations and post and not post.meta('noannotations') %}
|
||||
{{ notes.css() }}
|
||||
{% elif not annotations and post and post.meta('annotations') %}
|
||||
{{ notes.css() }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_navigation_links() %}
|
||||
{% for url, text in navigation_links[lang] %}
|
||||
{% if isinstance(url, tuple) %}
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ text }}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{% for suburl, text in url %}
|
||||
{% if rel_link(permalink, suburl) == "#" %}
|
||||
<li class="active"><a href="{{ permalink }}">{{ text }}</a>
|
||||
{% else %}
|
||||
<li><a href="{{ suburl }}">{{ text }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% if rel_link(permalink, url) == "#" %}
|
||||
<li class="active"><a href="{{ permalink }}">{{ text }}</a>
|
||||
{% else %}
|
||||
<li><a href="{{ url }}">{{ text }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_feedlinks() %}
|
||||
{% if rss_link %}
|
||||
{{ rss_link }}
|
||||
{% elif generate_rss %}
|
||||
{% if translations|length > 1 %}
|
||||
{% for language in translations %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS ({{ language }})" href="{{ _link('rss', None, language) }}">
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ _link('rss', None) }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_translations() %}
|
||||
{% for langname in translations.keys() %}
|
||||
{% if langname != lang %}
|
||||
<li><a href="{{ _link("index", None, langname) }}" rel="alternate" hreflang="{{ langname }}">{{ messages("LANGUAGE", langname) }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Chris “Kwpolska” Warrick <https://github.com/Kwpolska>
|
||||
Roberto Alsina <https://github.com/ralsina>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
This theme is mostly equivalent to `bootstrap3`, with the optional
|
||||
`bootstrap-theme.min.css` file in use. According to the Bootstrap
|
||||
developers, it provides a visually enhanced experience, with gradients
|
||||
(hence the name), resembling Bootstrap 2.x.
|
||||
|
||||
(bootswatch IS NOT compatible with this theme. Attempting to use both
|
||||
will lead to a broken, mixed theme in which most things affected by
|
||||
bootswatch will be replaced by bootstrap-theme’s creations)
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
assets/css/all-nocdn.css=bootstrap.css,bootstrap-theme.css,rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/css/all.css=rst.css,code.css,colorbox.css,theme.css,custom.css
|
||||
assets/js/all-nocdn.js=jquery.min.js,bootstrap.min.js,jquery.colorbox-min.js
|
||||
assets/js/all.js=jquery.colorbox-min.js
|
||||
|
|
@ -1 +0,0 @@
|
|||
bootstrap3
|
||||
|
|
@ -1,161 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
|
||||
<%def name="html_headstart()">
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
\
|
||||
% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
|
||||
prefix='\
|
||||
%if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']):
|
||||
og: http://ogp.me/ns# \
|
||||
%endif
|
||||
%if use_open_graph:
|
||||
article: http://ogp.me/ns/article# \
|
||||
%endif
|
||||
%if comment_system == 'facebook':
|
||||
fb: http://ogp.me/ns/fb# \
|
||||
%endif
|
||||
'\
|
||||
%endif
|
||||
\
|
||||
% if is_rtl:
|
||||
dir="rtl" \
|
||||
% endif
|
||||
\
|
||||
lang="${lang}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
%if description:
|
||||
<meta name="description" content="${description}">
|
||||
%endif
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>${title|striphtml} | ${blog_title|striphtml}</title>
|
||||
|
||||
${html_stylesheets()}
|
||||
${html_feedlinks()}
|
||||
%if permalink:
|
||||
<link rel="canonical" href="${abs_link(permalink)}">
|
||||
%endif
|
||||
|
||||
%if favicons:
|
||||
%for name, file, size in favicons:
|
||||
<link rel="${name}" href="${file}" sizes="${size}"/>
|
||||
%endfor
|
||||
%endif
|
||||
|
||||
% if comment_system == 'facebook':
|
||||
<meta property="fb:app_id" content="${comment_system_id}">
|
||||
% endif
|
||||
|
||||
${mathjax_config}
|
||||
%if use_cdn:
|
||||
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
%else:
|
||||
<!--[if lt IE 9]><script src="/assets/js/html5.js"></script><![endif]-->
|
||||
%endif
|
||||
|
||||
${extra_head_data}
|
||||
</%def>
|
||||
|
||||
<%def name="late_load_js()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/all.js"></script>
|
||||
%else:
|
||||
<script src="/assets/js/all-nocdn.js"></script>
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
||||
%else:
|
||||
<script src="/assets/js/jquery.min.js"></script>
|
||||
<script src="/assets/js/bootstrap.min.js"></script>
|
||||
%endif
|
||||
<script src="/assets/js/jquery.colorbox-min.js"></script>
|
||||
%endif
|
||||
%if colorbox_locales[lang]:
|
||||
<script src="/assets/js/colorbox-i18n/jquery.colorbox-${colorbox_locales[lang]}.js"></script>
|
||||
%endif
|
||||
${social_buttons_code}
|
||||
</%def>
|
||||
|
||||
|
||||
<%def name="html_stylesheets()">
|
||||
%if use_bundles:
|
||||
%if use_cdn:
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
|
||||
%else:
|
||||
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%else:
|
||||
%if use_cdn:
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css" rel="stylesheet">
|
||||
%else:
|
||||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
|
||||
%if has_custom_css:
|
||||
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
|
||||
%endif
|
||||
%endif
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.css()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.css()}
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_navigation_links()">
|
||||
%for url, text in navigation_links[lang]:
|
||||
% if isinstance(url, tuple):
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">${text}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
%for suburl, text in url:
|
||||
% if rel_link(permalink, suburl) == "#":
|
||||
<li class="active"><a href="${permalink}">${text}</a>
|
||||
%else:
|
||||
<li><a href="${suburl}">${text}</a>
|
||||
%endif
|
||||
%endfor
|
||||
</ul>
|
||||
% else:
|
||||
% if rel_link(permalink, url) == "#":
|
||||
<li class="active"><a href="${permalink}">${text}</a>
|
||||
%else:
|
||||
<li><a href="${url}">${text}</a>
|
||||
%endif
|
||||
% endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
||||
<%def name="html_feedlinks()">
|
||||
%if rss_link:
|
||||
${rss_link}
|
||||
%elif generate_rss:
|
||||
%if len(translations) > 1:
|
||||
%for language in translations:
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS (${language})" href="${_link('rss', None, language)}">
|
||||
%endfor
|
||||
%else:
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="${_link('rss', None)}">
|
||||
%endif
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_translations()">
|
||||
%for langname in translations.keys():
|
||||
%if langname != lang:
|
||||
<li><a href="${_link("index", None, langname)}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></li>
|
||||
%endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
A bootstrap3 version of the bootstrap theme.
|
||||
|
||||
There is a variant called bootstrap3-gradients which uses an extra CSS
|
||||
file for a *visually enhanced experience* (according to Bootstrap
|
||||
developers at least). This one uses the default bootstrap3 flat look.
|
||||
|
||||
This theme supports Bootswtach font/color schemes (unlike
|
||||
bootstrap3-gradients) through the `nikola bootswatch_theme` command.
|
||||
457
themes/bootstrap3/assets/css/bootstrap-theme.css
vendored
|
|
@ -1,457 +0,0 @@
|
|||
/*!
|
||||
* Bootstrap v3.3.0 (http://getbootstrap.com)
|
||||
* Copyright 2011-2014 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
}
|
||||
.btn-default .badge,
|
||||
.btn-primary .badge,
|
||||
.btn-success .badge,
|
||||
.btn-info .badge,
|
||||
.btn-warning .badge,
|
||||
.btn-danger .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #e0e0e0;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.btn-default:disabled,
|
||||
.btn-default[disabled] {
|
||||
background-color: #e0e0e0;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus {
|
||||
background-color: #2d6ca2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #2d6ca2;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:disabled,
|
||||
.btn-primary[disabled] {
|
||||
background-color: #2d6ca2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #419641;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:disabled,
|
||||
.btn-success[disabled] {
|
||||
background-color: #419641;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus {
|
||||
background-color: #2aabd2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:disabled,
|
||||
.btn-info[disabled] {
|
||||
background-color: #2aabd2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:disabled,
|
||||
.btn-warning[disabled] {
|
||||
background-color: #eb9316;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus {
|
||||
background-color: #c12e2a;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:disabled,
|
||||
.btn-danger[disabled] {
|
||||
background-color: #c12e2a;
|
||||
background-image: none;
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #357ebd;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .open > a,
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
|
||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .open > a,
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
|
||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #3071a9;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3278b3;
|
||||
}
|
||||
.list-group-item.active .badge,
|
||||
.list-group-item.active:hover .badge,
|
||||
.list-group-item.active:focus .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
||||