jekyll-any-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/api/example.html +23 -0
- data/_includes/api/get.html +11 -0
- data/_includes/api/save.html +1 -0
- data/_includes/components/alert.html +7 -0
- data/_includes/components/blockquote.html +23 -0
- data/_includes/components/bootstrap.html +245 -0
- data/_includes/components/card.html +85 -0
- data/_includes/components/lead.html +1 -0
- data/_includes/components/login.html +28 -0
- data/_includes/components/navbar_link.html +3 -0
- data/_includes/components/navbar_text.html +3 -0
- data/_includes/components/page_info.html +48 -0
- data/_includes/components/toc.html +18 -0
- data/_includes/filters/link_to_file.html +26 -0
- data/_includes/filters/unslug.html +17 -0
- data/_includes/page/end.html +2 -0
- data/_includes/page/footer.html +26 -0
- data/_includes/page/head.html +28 -0
- data/_includes/page/header.html +7 -0
- data/_includes/page/init.html +17 -0
- data/_includes/page/main.html +44 -0
- data/_includes/page/navbar.html +69 -0
- data/_includes/page/sidebar.html +6 -0
- data/_includes/page/top.html +27 -0
- data/_includes/tempus/calendar.html +26 -0
- data/_includes/tempus/events.html +72 -0
- data/_includes/tempus/next.html +73 -0
- data/_includes/widgets/libros.html +183 -0
- data/_includes/widgets/themes.html +11 -0
- data/_includes/widgets/toc.html +18 -0
- data/_layouts/default.html +8 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/_any_theme.sass +54 -0
- data/_sass/any_theme/_corrections.sass +71 -0
- data/_sass/any_theme/_headings.sass +13 -0
- data/_sass/any_theme/_mixins.sass +11 -0
- data/_sass/any_theme/_syntax_blood.scss +310 -0
- data/_sass/any_theme/_syntax_dark.scss +63 -0
- data/_sass/any_theme/_syntax_default.scss +310 -0
- data/_sass/any_theme/_toc.sass +4 -0
- data/_sass/any_theme/_widgets.sass +48 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +47 -0
- data/_sass/bootstrap/_breadcrumb.scss +38 -0
- data/_sass/bootstrap/_button-group.scss +166 -0
- data/_sass/bootstrap/_buttons.scss +143 -0
- data/_sass/bootstrap/_card.scss +270 -0
- data/_sass/bootstrap/_carousel.scss +191 -0
- data/_sass/bootstrap/_close.scss +34 -0
- data/_sass/bootstrap/_code.scss +56 -0
- data/_sass/bootstrap/_custom-forms.scss +297 -0
- data/_sass/bootstrap/_dropdown.scss +131 -0
- data/_sass/bootstrap/_forms.scss +333 -0
- data/_sass/bootstrap/_functions.scss +86 -0
- data/_sass/bootstrap/_grid.scss +52 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +159 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +115 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +42 -0
- data/_sass/bootstrap/_modal.scss +168 -0
- data/_sass/bootstrap/_nav.scss +118 -0
- data/_sass/bootstrap/_navbar.scss +311 -0
- data/_sass/bootstrap/_pagination.scss +77 -0
- data/_sass/bootstrap/_popover.scss +183 -0
- data/_sass/bootstrap/_print.scss +124 -0
- data/_sass/bootstrap/_progress.scss +33 -0
- data/_sass/bootstrap/_reboot.scss +482 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_tables.scss +180 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +36 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +14 -0
- data/_sass/bootstrap/_variables.scss +894 -0
- data/_sass/bootstrap/bootstrap-grid.scss +32 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +42 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/mixins/_badge.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +109 -0
- data/_sass/bootstrap/mixins/_caret.scss +65 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +11 -0
- data/_sass/bootstrap/mixins/_forms.scss +137 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +67 -0
- data/_sass/bootstrap/mixins/_grid.scss +52 -0
- data/_sass/bootstrap/mixins/_hover.scss +39 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_navbar-align.scss +10 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +35 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +30 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +9 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +9 -0
- data/_sass/bootstrap/mixins/_visibility.scss +7 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +59 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +38 -0
- data/_sass/bootstrap/utilities/_embed.scss +52 -0
- data/_sass/bootstrap/utilities/_flex.scss +46 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_position.scss +36 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_sizing.scss +12 -0
- data/_sass/bootstrap/utilities/_spacing.scss +51 -0
- data/_sass/bootstrap/utilities/_text.scss +52 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/css/basic_light_sans.sass +71 -0
- data/assets/css_no/basic_dark_sans.sass +114 -0
- data/assets/css_no/basic_dark_serif.sass +114 -0
- data/assets/css_no/basic_light_serif.sass +69 -0
- data/assets/css_no/bootstrap.sass +44 -0
- data/assets/css_no/dark_additions.sass +74 -0
- data/assets/css_no/dnd.sass +188 -0
- data/assets/css_no/gurps.sass +70 -0
- data/assets/css_no/minidark.sass +177 -0
- data/assets/css_no/minimal.sass +139 -0
- data/assets/css_no/roboto_dark.sass +324 -0
- data/assets/css_no/roboto_light.sass +275 -0
- data/assets/fonts/scala/fonts.scss +59 -0
- data/assets/fonts/scala/scala-bold-webfont.eot +0 -0
- data/assets/fonts/scala/scala-bold-webfont.svg +873 -0
- data/assets/fonts/scala/scala-bold-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-bold-webfont.woff +0 -0
- data/assets/fonts/scala/scala-italic-webfont.eot +0 -0
- data/assets/fonts/scala/scala-italic-webfont.svg +235 -0
- data/assets/fonts/scala/scala-italic-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-italic-webfont.woff +0 -0
- data/assets/fonts/scala/scala-webfont.eot +0 -0
- data/assets/fonts/scala/scala-webfont.svg +234 -0
- data/assets/fonts/scala/scala-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-webfont.woff +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.eot +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.svg +244 -0
- data/assets/fonts/scala/scalasans-bold-webfont.ttf +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.woff +0 -0
- data/assets/fonts/scala/scalasans-webfont.eot +0 -0
- data/assets/fonts/scala/scalasans-webfont.svg +238 -0
- data/assets/fonts/scala/scalasans-webfont.ttf +0 -0
- data/assets/fonts/scala/scalasans-webfont.woff +0 -0
- data/assets/images/dnd-bg.jpg +0 -0
- data/assets/js/any-theme.coffee +33 -0
- data/assets/js/any_theme/libros.coffee +113 -0
- data/assets/js/any_theme/login.coffee +90 -0
- data/assets/js/any_theme/storage.coffee +49 -0
- data/assets/js/any_theme/themes.coffee +10 -0
- data/assets/pages/about.md +17 -0
- data/assets/pages/customize/css.md +22 -0
- data/assets/pages/customize/themes.md +17 -0
- data/assets/pages/docs/libros.md +17 -0
- data/assets/pages/docs/tempus.md +66 -0
- data/assets/pages/index.md +21 -0
- metadata +258 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
// Base class
|
2
|
+
.tooltip {
|
3
|
+
position: absolute;
|
4
|
+
z-index: $zindex-tooltip;
|
5
|
+
display: block;
|
6
|
+
margin: $tooltip-margin;
|
7
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
8
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
9
|
+
@include reset-text();
|
10
|
+
font-size: $tooltip-font-size;
|
11
|
+
// Allow breaking very long words so they don't overflow the tooltip's bounds
|
12
|
+
word-wrap: break-word;
|
13
|
+
opacity: 0;
|
14
|
+
|
15
|
+
&.show { opacity: $tooltip-opacity; }
|
16
|
+
|
17
|
+
.arrow {
|
18
|
+
position: absolute;
|
19
|
+
display: block;
|
20
|
+
width: $tooltip-arrow-width;
|
21
|
+
height: $tooltip-arrow-height;
|
22
|
+
|
23
|
+
&::before {
|
24
|
+
position: absolute;
|
25
|
+
content: "";
|
26
|
+
border-color: transparent;
|
27
|
+
border-style: solid;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.bs-tooltip-top {
|
33
|
+
padding: $tooltip-arrow-height 0;
|
34
|
+
|
35
|
+
.arrow {
|
36
|
+
bottom: 0;
|
37
|
+
|
38
|
+
&::before {
|
39
|
+
top: 0;
|
40
|
+
border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
|
41
|
+
border-top-color: $tooltip-arrow-color;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.bs-tooltip-right {
|
47
|
+
padding: 0 $tooltip-arrow-height;
|
48
|
+
|
49
|
+
.arrow {
|
50
|
+
left: 0;
|
51
|
+
width: $tooltip-arrow-height;
|
52
|
+
height: $tooltip-arrow-width;
|
53
|
+
|
54
|
+
&::before {
|
55
|
+
right: 0;
|
56
|
+
border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
|
57
|
+
border-right-color: $tooltip-arrow-color;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.bs-tooltip-bottom {
|
63
|
+
padding: $tooltip-arrow-height 0;
|
64
|
+
|
65
|
+
.arrow {
|
66
|
+
top: 0;
|
67
|
+
|
68
|
+
&::before {
|
69
|
+
bottom: 0;
|
70
|
+
border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
|
71
|
+
border-bottom-color: $tooltip-arrow-color;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.bs-tooltip-left {
|
77
|
+
padding: 0 $tooltip-arrow-height;
|
78
|
+
|
79
|
+
.arrow {
|
80
|
+
right: 0;
|
81
|
+
width: $tooltip-arrow-height;
|
82
|
+
height: $tooltip-arrow-width;
|
83
|
+
|
84
|
+
&::before {
|
85
|
+
left: 0;
|
86
|
+
border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
|
87
|
+
border-left-color: $tooltip-arrow-color;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.bs-tooltip-auto {
|
93
|
+
&[x-placement^="top"] {
|
94
|
+
@extend .bs-tooltip-top;
|
95
|
+
}
|
96
|
+
&[x-placement^="right"] {
|
97
|
+
@extend .bs-tooltip-right;
|
98
|
+
}
|
99
|
+
&[x-placement^="bottom"] {
|
100
|
+
@extend .bs-tooltip-bottom;
|
101
|
+
}
|
102
|
+
&[x-placement^="left"] {
|
103
|
+
@extend .bs-tooltip-left;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
// Wrapper for the tooltip content
|
108
|
+
.tooltip-inner {
|
109
|
+
max-width: $tooltip-max-width;
|
110
|
+
padding: $tooltip-padding-y $tooltip-padding-x;
|
111
|
+
color: $tooltip-color;
|
112
|
+
text-align: center;
|
113
|
+
background-color: $tooltip-bg;
|
114
|
+
@include border-radius($tooltip-border-radius);
|
115
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// stylelint-disable selector-no-qualifying-type
|
2
|
+
|
3
|
+
.fade {
|
4
|
+
opacity: 0;
|
5
|
+
@include transition($transition-fade);
|
6
|
+
|
7
|
+
&.show {
|
8
|
+
opacity: 1;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.collapse {
|
13
|
+
display: none;
|
14
|
+
&.show {
|
15
|
+
display: block;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
tr {
|
20
|
+
&.collapse.show {
|
21
|
+
display: table-row;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
tbody {
|
26
|
+
&.collapse.show {
|
27
|
+
display: table-row-group;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.collapsing {
|
32
|
+
position: relative;
|
33
|
+
height: 0;
|
34
|
+
overflow: hidden;
|
35
|
+
@include transition($transition-collapse);
|
36
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
// stylelint-disable declaration-no-important, selector-list-comma-newline-after
|
2
|
+
|
3
|
+
//
|
4
|
+
// Headings
|
5
|
+
//
|
6
|
+
|
7
|
+
h1, h2, h3, h4, h5, h6,
|
8
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
9
|
+
margin-bottom: $headings-margin-bottom;
|
10
|
+
font-family: $headings-font-family;
|
11
|
+
font-weight: $headings-font-weight;
|
12
|
+
line-height: $headings-line-height;
|
13
|
+
color: $headings-color;
|
14
|
+
}
|
15
|
+
|
16
|
+
h1, .h1 { font-size: $h1-font-size; }
|
17
|
+
h2, .h2 { font-size: $h2-font-size; }
|
18
|
+
h3, .h3 { font-size: $h3-font-size; }
|
19
|
+
h4, .h4 { font-size: $h4-font-size; }
|
20
|
+
h5, .h5 { font-size: $h5-font-size; }
|
21
|
+
h6, .h6 { font-size: $h6-font-size; }
|
22
|
+
|
23
|
+
.lead {
|
24
|
+
font-size: $lead-font-size;
|
25
|
+
font-weight: $lead-font-weight;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Type display classes
|
29
|
+
.display-1 {
|
30
|
+
font-size: $display1-size;
|
31
|
+
font-weight: $display1-weight;
|
32
|
+
line-height: $display-line-height;
|
33
|
+
}
|
34
|
+
.display-2 {
|
35
|
+
font-size: $display2-size;
|
36
|
+
font-weight: $display2-weight;
|
37
|
+
line-height: $display-line-height;
|
38
|
+
}
|
39
|
+
.display-3 {
|
40
|
+
font-size: $display3-size;
|
41
|
+
font-weight: $display3-weight;
|
42
|
+
line-height: $display-line-height;
|
43
|
+
}
|
44
|
+
.display-4 {
|
45
|
+
font-size: $display4-size;
|
46
|
+
font-weight: $display4-weight;
|
47
|
+
line-height: $display-line-height;
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
//
|
52
|
+
// Horizontal rules
|
53
|
+
//
|
54
|
+
|
55
|
+
hr {
|
56
|
+
margin-top: $hr-margin-y;
|
57
|
+
margin-bottom: $hr-margin-y;
|
58
|
+
border: 0;
|
59
|
+
border-top: $hr-border-width solid $hr-border-color;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
//
|
64
|
+
// Emphasis
|
65
|
+
//
|
66
|
+
|
67
|
+
small,
|
68
|
+
.small {
|
69
|
+
font-size: $small-font-size;
|
70
|
+
font-weight: $font-weight-normal;
|
71
|
+
}
|
72
|
+
|
73
|
+
mark,
|
74
|
+
.mark {
|
75
|
+
padding: $mark-padding;
|
76
|
+
background-color: $mark-bg;
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
//
|
81
|
+
// Lists
|
82
|
+
//
|
83
|
+
|
84
|
+
.list-unstyled {
|
85
|
+
@include list-unstyled;
|
86
|
+
}
|
87
|
+
|
88
|
+
// Inline turns list items into inline-block
|
89
|
+
.list-inline {
|
90
|
+
@include list-unstyled;
|
91
|
+
}
|
92
|
+
.list-inline-item {
|
93
|
+
display: inline-block;
|
94
|
+
|
95
|
+
&:not(:last-child) {
|
96
|
+
margin-right: $list-inline-padding;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
//
|
102
|
+
// Misc
|
103
|
+
//
|
104
|
+
|
105
|
+
// Builds on `abbr`
|
106
|
+
.initialism {
|
107
|
+
font-size: 90%;
|
108
|
+
text-transform: uppercase;
|
109
|
+
}
|
110
|
+
|
111
|
+
// Blockquotes
|
112
|
+
.blockquote {
|
113
|
+
margin-bottom: $spacer;
|
114
|
+
font-size: $blockquote-font-size;
|
115
|
+
}
|
116
|
+
|
117
|
+
.blockquote-footer {
|
118
|
+
display: block;
|
119
|
+
font-size: 80%; // back to default font-size
|
120
|
+
color: $blockquote-small-color;
|
121
|
+
|
122
|
+
&::before {
|
123
|
+
content: "\2014 \00A0"; // em dash, nbsp
|
124
|
+
}
|
125
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@import "utilities/align";
|
2
|
+
@import "utilities/background";
|
3
|
+
@import "utilities/borders";
|
4
|
+
@import "utilities/clearfix";
|
5
|
+
@import "utilities/display";
|
6
|
+
@import "utilities/embed";
|
7
|
+
@import "utilities/flex";
|
8
|
+
@import "utilities/float";
|
9
|
+
@import "utilities/position";
|
10
|
+
@import "utilities/screenreaders";
|
11
|
+
@import "utilities/sizing";
|
12
|
+
@import "utilities/spacing";
|
13
|
+
@import "utilities/text";
|
14
|
+
@import "utilities/visibility";
|