Skip to content

Commit

Permalink
Move bootstrap3 themes from core
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 18, 2018
1 parent ecd0017 commit b4c5753
Show file tree
Hide file tree
Showing 61 changed files with 2,746 additions and 0 deletions.
1 change: 1 addition & 0 deletions v8/bootstrap3-jinja/AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Roberto Alsina <https://github.com/ralsina>
8 changes: 8 additions & 0 deletions v8/bootstrap3-jinja/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
A theme based on Bootstrap 3.

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.
6 changes: 6 additions & 0 deletions v8/bootstrap3-jinja/assets/css/bootstrap-theme.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions v8/bootstrap3-jinja/assets/css/bootstrap-theme.min.css.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions v8/bootstrap3-jinja/assets/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions v8/bootstrap3-jinja/assets/css/bootstrap.min.css.map

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions v8/bootstrap3-jinja/assets/css/docs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
body {
font-weight: 300;
}

a:hover,
a:focus {
text-decoration: none;
}

.container {
max-width: 700px;
}

h2 {
text-align: center;
font-weight: 300;
}


/* Header
-------------------------------------------------- */

.jumbotron {
position: relative;
font-size: 16px;
color: #fff;
color: rgba(255,255,255,.75);
text-align: center;
background-color: #b94a48;
border-radius: 0;
}
.jumbotron h1,
.jumbotron .glyphicon-ok {
margin-bottom: 15px;
font-weight: 300;
letter-spacing: -1px;
color: #fff;
}
.jumbotron .glyphicon-ok {
font-size: 40px;
line-height: 1;
}
.btn-outline {
margin-top: 15px;
margin-bottom: 15px;
padding: 18px 24px;
font-size: inherit;
font-weight: 500;
color: #fff; /* redeclare to override the `.jumbotron a` */
background-color: transparent;
border-color: #fff;
border-color: rgba(255,255,255,.5);
transition: all .1s ease-in-out;
}
.btn-outline:hover,
.btn-outline:active {
color: #b94a48;
background-color: #fff;
border-color: #fff;
}

.jumbotron:after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
display: block;
content: "";
height: 30px;
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,.1));
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,.1));
}

.jumbotron p a,
.jumbotron-links a {
font-weight: 500;
color: #fff;
transition: all .1s ease-in-out;
}
.jumbotron p a:hover,
.jumbotron-links a:hover {
text-shadow: 0 0 10px rgba(255,255,255,.55);
}

/* Textual links */
.jumbotron-links {
margin-top: 15px;
margin-bottom: 0;
padding-left: 0;
list-style: none;
font-size: 14px;
}
.jumbotron-links li {
display: inline;
}
.jumbotron-links li + li {
margin-left: 20px;
}

@media (min-width: 768px) {
.jumbotron {
padding-top: 100px;
padding-bottom: 100px;
font-size: 21px;
}
.jumbotron h1,
.jumbotron .glyphicon-ok {
font-size: 50px;
}
}

/* Steps for setup
-------------------------------------------------- */

.how-to {
padding: 50px 20px;
border-top: 1px solid #eee;
}
.how-to li {
font-size: 21px;
line-height: 1.5;
margin-top: 20px;
}
.how-to li p {
font-size: 16px;
color: #555;
}
.how-to code {
font-size: 85%;
color: #b94a48;
background-color: #fcf3f2;
word-wrap: break-word;
white-space: normal;
}

/* Icons
-------------------------------------------------- */

.the-icons {
padding: 40px 10px;
font-size: 20px;
line-height: 2;
color: #333;
text-align: center;
}
.the-icons .glyphicon {
padding-left: 15px;
padding-right: 15px;
}

/* Footer
-------------------------------------------------- */

.footer {
padding: 50px 30px;
color: #777;
text-align: center;
border-top: 1px solid #eee;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
218 changes: 218 additions & 0 deletions v8/bootstrap3-jinja/assets/css/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
#container {
width: 960px;
margin: 0 auto;
}

#contentcolumn {
max-width: 760px;
}
#q {
width: 150px;
}

img {
max-width: 90%;
}

.postbox {
border-bottom: 2px solid darkgrey;
margin-bottom: 12px;
}

.titlebox {
text-align: right;
}

#addthisbox {margin-bottom: 12px;}

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;
}

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;
}

.at300b, .stMainServices, .stButton, .stButton_gradient {
box-sizing: content-box;
}

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;
}

.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:after,
.translationslist p:before {
content: " — ";
}

.metadata p:first-of-type:before,
.translationslist p:first-of-type:before {
content: "";
}

.metadata p,
.translationslist p {
display: inline;
}

.posttranslations h3, .translationslist h3 {
display: inline;
font-size: 1em;
font-weight: bold;
}

.posttranslations h3:last-child, .translationslist h3:last-child {
display: none;
}

.entry-content {
margin-top: 1em;
}

.navbar-brand {
padding: 0 15px;
}

.navbar-brand #blog-title {
padding: 15px 0;
display: inline-block;
}

.navbar-brand #logo {
max-width: 100%;
}

.navbar-brand>img {
display: inline;
}

.row {
margin: 0;
}

/* for alignment with Bootstrap's .entry-content styling */
.entry-summary {
margin-top: 1em;
}

/* Custom page footer */
#footer {
padding-top: 19px;
color: #777;
border-top: 1px solid #e5e5e5;
}

.codetable {
table-layout: fixed;
}

.codetable pre {
overflow-x: scroll;
}

/* hat tip bootstrap/html5 boilerplate */
@media print {
*, *:before, *:after {
font-family: Garamond, Junicode, serif;
}

body {
font-size: 12pt;
}

article .entry-title a[href]:after,
article .metadata a[href]:after,
article .tags a[href]:after {
content: "";
}

article .metadata .sourceline {
display: none;
}

article .metadata .linkline a[href]:after {
content: " (" attr(href) ")";
}

.navbar {
display: none;
}
}
Binary file not shown.
Loading

0 comments on commit b4c5753

Please sign in to comment.