qablog 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +21 -0
  5. data/_includes/head.html +14 -0
  6. data/_includes/header.html +51 -0
  7. data/_layouts/cs.html +12 -0
  8. data/_layouts/default.html +45 -0
  9. data/_layouts/page.html +5 -0
  10. data/_layouts/post.html +10 -0
  11. data/_sass/_base.scss +150 -0
  12. data/_sass/_bootstrap.scss +56 -0
  13. data/_sass/_variables-blue.scss +871 -0
  14. data/_sass/_variables-default.scss +871 -0
  15. data/_sass/_variables-white.scss +871 -0
  16. data/_sass/bootstrap/_alerts.scss +73 -0
  17. data/_sass/bootstrap/_badges.scss +68 -0
  18. data/_sass/bootstrap/_breadcrumbs.scss +28 -0
  19. data/_sass/bootstrap/_button-groups.scss +244 -0
  20. data/_sass/bootstrap/_buttons.scss +168 -0
  21. data/_sass/bootstrap/_carousel.scss +270 -0
  22. data/_sass/bootstrap/_close.scss +36 -0
  23. data/_sass/bootstrap/_code.scss +69 -0
  24. data/_sass/bootstrap/_component-animations.scss +37 -0
  25. data/_sass/bootstrap/_dropdowns.scss +216 -0
  26. data/_sass/bootstrap/_forms.scss +617 -0
  27. data/_sass/bootstrap/_glyphicons.scss +307 -0
  28. data/_sass/bootstrap/_grid.scss +84 -0
  29. data/_sass/bootstrap/_input-groups.scss +171 -0
  30. data/_sass/bootstrap/_jumbotron.scss +54 -0
  31. data/_sass/bootstrap/_labels.scss +66 -0
  32. data/_sass/bootstrap/_list-group.scss +130 -0
  33. data/_sass/bootstrap/_media.scss +66 -0
  34. data/_sass/bootstrap/_mixins.scss +40 -0
  35. data/_sass/bootstrap/_modals.scss +150 -0
  36. data/_sass/bootstrap/_navbar.scss +662 -0
  37. data/_sass/bootstrap/_navs.scss +242 -0
  38. data/_sass/bootstrap/_normalize.scss +424 -0
  39. data/_sass/bootstrap/_pager.scss +54 -0
  40. data/_sass/bootstrap/_pagination.scss +89 -0
  41. data/_sass/bootstrap/_panels.scss +271 -0
  42. data/_sass/bootstrap/_popovers.scss +131 -0
  43. data/_sass/bootstrap/_print.scss +101 -0
  44. data/_sass/bootstrap/_progress-bars.scss +87 -0
  45. data/_sass/bootstrap/_responsive-embed.scss +35 -0
  46. data/_sass/bootstrap/_responsive-utilities.scss +179 -0
  47. data/_sass/bootstrap/_scaffolding.scss +161 -0
  48. data/_sass/bootstrap/_tables.scss +234 -0
  49. data/_sass/bootstrap/_theme.scss +291 -0
  50. data/_sass/bootstrap/_thumbnails.scss +38 -0
  51. data/_sass/bootstrap/_tooltip.scss +101 -0
  52. data/_sass/bootstrap/_type.scss +298 -0
  53. data/_sass/bootstrap/_utilities.scss +55 -0
  54. data/_sass/bootstrap/_variables.scss +874 -0
  55. data/_sass/bootstrap/_wells.scss +29 -0
  56. data/_sass/bootstrap/mixins/_alerts.scss +14 -0
  57. data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
  58. data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
  59. data/_sass/bootstrap/mixins/_buttons.scss +65 -0
  60. data/_sass/bootstrap/mixins/_center-block.scss +7 -0
  61. data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
  62. data/_sass/bootstrap/mixins/_forms.scss +88 -0
  63. data/_sass/bootstrap/mixins/_gradients.scss +58 -0
  64. data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
  65. data/_sass/bootstrap/mixins/_grid.scss +122 -0
  66. data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
  67. data/_sass/bootstrap/mixins/_image.scss +33 -0
  68. data/_sass/bootstrap/mixins/_labels.scss +12 -0
  69. data/_sass/bootstrap/mixins/_list-group.scss +32 -0
  70. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  71. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  72. data/_sass/bootstrap/mixins/_opacity.scss +8 -0
  73. data/_sass/bootstrap/mixins/_pagination.scss +24 -0
  74. data/_sass/bootstrap/mixins/_panels.scss +24 -0
  75. data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
  76. data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
  77. data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
  78. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  79. data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
  80. data/_sass/bootstrap/mixins/_size.scss +10 -0
  81. data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
  82. data/_sass/bootstrap/mixins/_table-row.scss +28 -0
  83. data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
  84. data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
  85. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  86. data/assets/css/main-blue.scss +8 -0
  87. data/assets/css/main-default.scss +8 -0
  88. data/assets/css/main-white.scss +8 -0
  89. data/assets/img/icons/favicon.ico +0 -0
  90. data/assets/js/main.js +93 -0
  91. metadata +146 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4810adf36217cad2081f1e5ae37199b35acfd51a7d8a8b157d37ecc462ffcbbf
4
+ data.tar.gz: 6d8819bf6844f420c42f27fd645e6b6c1b65e120657146f156b7dc4ca2c5758d
5
+ SHA512:
6
+ metadata.gz: 4fffd095d5a911bfa16c0210c752a917c79036d138412bc2bbe79572d5582c99cf69a7071d0ee7d5d225e9a961a6de7c2233cbab662f070adf912f4f1166a90a
7
+ data.tar.gz: fdc76571cd2150eba0ce51edf97d49269c740e216c09ac7a240ccaa045bf7805e9c7d398d0d6c4134ac354531e1e6d8aa3547ba1cf855130a5f152b23516fa0e
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 ATM
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,52 @@
1
+ # qablog
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "qablog"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: qablog
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install qablog
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `qablog.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,21 @@
1
+ <footer class="page-footer">
2
+ <center>
3
+ {% if site.switch_skin == true %}
4
+ <div class="row">
5
+ <div class="col-sm-8 col-sm-offset-2">
6
+ <a onclick="toggleTheme();">
7
+ Default/Blue
8
+ </a>
9
+ </div>
10
+ </div>
11
+ {% endif %}
12
+ {% if site.email != null and site.author != null %}
13
+ <div class="row">
14
+ <div class="col-sm-8 col-sm-offset-2">
15
+ Copyright (c) 20{{ site.time | date: '%y' }} {{site.author}} -
16
+ <a href="mailto:{{site.email}}">&lt;{{site.email}}&gt;</a>
17
+ </div>
18
+ </div>
19
+ {% endif %}
20
+ </center>
21
+ </footer>
@@ -0,0 +1,14 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5
+ <!-- Favicon -->
6
+ <link rel="shortcut icon" href="{{'/assets/img/icons/favicon.ico' | prepend: site.baseurl }}" type="image/x-icon" />
7
+ <link rel="stylesheet" id="css-theme" data-toggle={{site.skin}} href="{{ '/assets/css/main-' | append: site.skin | append: '.css' | prepend: site.baseurl }}">
8
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
10
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
11
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
12
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.3.0/d3.min.js"></script>
13
+ <script type="text/javascript" src="{{ '/assets/js/main.js' | prepend: site.baseurl }}"></script>
14
+ </head>
@@ -0,0 +1,51 @@
1
+ <header>
2
+ <div class="row">
3
+ <div class="col-xs-12">
4
+ <nav class="navbar navbar-default navbar-fixed-top">
5
+ <div class="container">
6
+ <div class="navbar-header">
7
+ <a class="navbar-toggle collapsed navbar-icon" data-toggle="collapse"
8
+ data-target="#bs-example-navbar-collapse-1">
9
+ <i class="fa fa-bars fa-2x"></i>
10
+ </a>
11
+ <a class="navbar-brand navbar-icon" href="{{ site.baseurl | append: '/'}}">
12
+ <i class="fa fa-home fa-2x"></i>
13
+ </a>
14
+ </div>
15
+
16
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
17
+ <ul class="nav navbar-nav navbar-right">
18
+ <li><a href="{{ site.baseurl | append: '/' }}">Home</a></li>
19
+ {% if site.blog == true %}
20
+ <li><a href="{{ '/blog' | prepend: site.baseurl }}">Blog</a></li>
21
+ {% endif %}
22
+
23
+ {% for page in site.ct %}
24
+ <li class="nav-item"><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.menu-caption }}</a></li>
25
+ {% endfor %}
26
+ <li class="dropdown">
27
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"
28
+ role="button" aria-haspopup="true" aria-expanded="false">Skin
29
+ <span class="caret"></span>
30
+ </a>
31
+ <ul class="dropdown-menu">
32
+ <li>
33
+ <a onclick="toggleThemeTo('blue');">
34
+ Blue
35
+ </a>
36
+ <a onclick="toggleThemeTo('default');">
37
+ Default
38
+ </a>
39
+ <a onclick="toggleThemeTo('white');">
40
+ White
41
+ </a>
42
+ </li>
43
+ </ul>
44
+ </li>
45
+ </ul>
46
+ </div>
47
+ </div>
48
+ </nav>
49
+ </div>
50
+ </div>
51
+ </header>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% assign items = site[page.cn] %}
5
+ {% for item in items %}
6
+ <li>
7
+ {% include {{ page.cn | append: "-summary" }}.html %}
8
+ </li>
9
+ {% endfor %}
10
+ {% for i in (1..20) %}
11
+ <li><a href="#">Master {{i}}</a></li>
12
+ {% endfor %}
@@ -0,0 +1,45 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html>
5
+ {% include head.html %}
6
+ <body class="animated fadeIn">
7
+ <div class="container">
8
+ <div id="background-div">
9
+ <svg id="background-svg">
10
+ <lineargradient id="Gradient1" x1="0" x2="0" y1="0" y2="1">
11
+ <stop stop-opacity="0" class="bgColor2" offset="0%" />
12
+ <stop stop-opacity="0.5" class="bgColor2" offset="10%" />
13
+ <stop stop-opacity="0.5" class="bgColor1" offset="40%" />
14
+ <stop stop-opacity="0" class="bgColor1" offset="100%" />
15
+ </lineargradient>
16
+ <g id="bg-layer1"></g>
17
+ <g id="bg-layer2" class="hide"></g>
18
+ <g id="bg-layer3"></g>
19
+ <g id="bg-layer4"></g>
20
+ </svg>
21
+ </div>
22
+ <section class="header">
23
+ {% include header.html %}
24
+ </section>
25
+ <section class="content">
26
+ <div class="row">
27
+ <div class="col-sm-8 col-sm-offset-2 content-div">
28
+ <div class="page-separator hidden-xs">
29
+ <h1 class="h1-strip" style="padding-bottom:8em; margin-bottom: 0;"></h1>
30
+ </div>
31
+ <div class="page-separator visible-xs">
32
+ <h1 class="h1-strip" style="padding-bottom:2em; margin-bottom: 0;"></h1>
33
+ </div>
34
+ <h1 class="post-title page-title" id="title"><a href="#title">{{ page.title }}</a></h1>
35
+ {{ content }}
36
+ </div>
37
+ </div>
38
+ </section>
39
+ <section class="footer">
40
+ {% include footer.html %}
41
+ </section>
42
+ </div>
43
+ </body>
44
+ </html>
45
+
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% if site.st == true %}
5
+ <h4 class="post-title"> {{ page.title }} </h4>
6
+ <h4 class="post-title"> {{ page.date | date_to_string }} </h4>
7
+ {% endif %}
8
+ <article class="blog-post">
9
+ {{ content }}
10
+ </article>
@@ -0,0 +1,150 @@
1
+ // Custom SCSS
2
+ // General
3
+
4
+ body {
5
+ background: linear-gradient($body-bg-header 10%, $body-bg 100%);
6
+ background-repeat: no-repeat;
7
+ background-attachment: fixed;
8
+ height: 100%;
9
+ width: 100%;
10
+ overflow-x: hidden;
11
+ text-shadow: 0 0 0.01em $shadow-color;
12
+ }
13
+
14
+ a {
15
+ cursor: pointer;
16
+ }
17
+
18
+ blockquote {
19
+ border-color: $gray;
20
+ border-width: 0 0 0 0.2em;
21
+ border-style: solid;
22
+ }
23
+
24
+ h1 {
25
+ padding-top: 0.5em;
26
+ padding-bottom: 0.5em;
27
+ }
28
+
29
+ h1 a,
30
+ h1 a:hover {
31
+ color: $brand-primary;
32
+ }
33
+
34
+
35
+ h1,
36
+ h2,
37
+ h3,
38
+ h4,
39
+ h5,
40
+ h6 {
41
+ color: $brand-danger;
42
+ text-decoration-color: $brand-danger;
43
+ border-bottom-color: $brand-danger;
44
+ }
45
+
46
+ #background-div,
47
+ #background-svg {
48
+ width: 100%;
49
+ height: 100%;
50
+ position: fixed;
51
+ top: 0;
52
+ left: 0;
53
+ z-index: 0;
54
+ }
55
+
56
+ #title {
57
+ margin-top: 0;
58
+ }
59
+
60
+ // Social media hover colors colors
61
+ $icon-shadow: 0.1em;
62
+ $icons-list: github facebook twitter linkedin envelope;
63
+ $icons-colors: $github-color $facebook-color $twitter-color $linkedin-color $envelope-color;
64
+ @for $i from 1 through length($icons-list) {
65
+ .fa-#{nth($icons-list, $i)}:hover {
66
+ text-shadow: 0 0 $icon-shadow #{nth($icons-colors, $i)};
67
+ }
68
+ }
69
+
70
+ .bgColor1 {
71
+ stop-color: $bg-color1;
72
+ }
73
+
74
+ .bgColor2 {
75
+ stop-color: $bg-color2;
76
+ }
77
+
78
+ .page-footer {
79
+ margin-top: 8em;
80
+
81
+ center div div a i {
82
+ color: $gray !important;
83
+ }
84
+ }
85
+
86
+ .navbar-toggle:hover {
87
+ background-color: transparent !important;
88
+ }
89
+
90
+ .navbar-icon:hover {
91
+ text-shadow: 0 0 $icon-shadow lighten($brand-primary, 20%);
92
+ color: $brand-primary !important;
93
+ }
94
+
95
+ .navbar-icon {
96
+ color: $brand-primary !important;
97
+ }
98
+
99
+ .navbar {
100
+ background-color: $navbar-bg;
101
+ transition: background-color 0.25s ease-in-out;
102
+ -webkit-transition: background-color 0.25s ease-in-out;
103
+ }
104
+
105
+ nav:hover {
106
+ background-color: $navbar-default-bg;
107
+ }
108
+
109
+ .post-title {
110
+ color: $brand-primary;
111
+ }
112
+
113
+ .blog-post {
114
+ margin-bottom: 5em;
115
+ }
116
+
117
+ $avatar-size: 10em;
118
+ .avatar-image {
119
+ height: auto;
120
+ width: auto;
121
+ max-height: $avatar-size;
122
+ max-width: $avatar-size;
123
+ border-radius: $avatar-size;
124
+ border-style: solid;
125
+ border-width: medium;
126
+ border-color: $gray-light;
127
+ }
128
+
129
+ .avatar-description {
130
+ color: $gray-light;
131
+ }
132
+
133
+ .hide {
134
+ display: none;
135
+ }
136
+
137
+ .h1-overlay {
138
+ background: $h1-bg;
139
+ position: absolute;
140
+ width: 100%;
141
+ z-index: -1;
142
+ padding: 1em;
143
+ }
144
+
145
+ .right-links {
146
+ a i {
147
+ font-size: 1.5em;
148
+ color: $gray !important;
149
+ }
150
+ }
@@ -0,0 +1,56 @@
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ // Core variables and mixins
8
+ @import "bootstrap/variables";
9
+ @import "bootstrap/mixins";
10
+
11
+ // Reset and dependencies
12
+ @import "bootstrap/normalize";
13
+ @import "bootstrap/print";
14
+ @import "bootstrap/glyphicons";
15
+
16
+ // Core CSS
17
+ @import "bootstrap/scaffolding";
18
+ @import "bootstrap/type";
19
+ @import "bootstrap/code";
20
+ @import "bootstrap/grid";
21
+ @import "bootstrap/tables";
22
+ @import "bootstrap/forms";
23
+ @import "bootstrap/buttons";
24
+
25
+ // Components
26
+ @import "bootstrap/component-animations";
27
+ @import "bootstrap/dropdowns";
28
+ @import "bootstrap/button-groups";
29
+ @import "bootstrap/input-groups";
30
+ @import "bootstrap/navs";
31
+ @import "bootstrap/navbar";
32
+ @import "bootstrap/breadcrumbs";
33
+ @import "bootstrap/pagination";
34
+ @import "bootstrap/pager";
35
+ @import "bootstrap/labels";
36
+ @import "bootstrap/badges";
37
+ @import "bootstrap/jumbotron";
38
+ @import "bootstrap/thumbnails";
39
+ @import "bootstrap/alerts";
40
+ @import "bootstrap/progress-bars";
41
+ @import "bootstrap/media";
42
+ @import "bootstrap/list-group";
43
+ @import "bootstrap/panels";
44
+ @import "bootstrap/responsive-embed";
45
+ @import "bootstrap/wells";
46
+ @import "bootstrap/close";
47
+
48
+ // Components w/ JavaScript
49
+ @import "bootstrap/modals";
50
+ @import "bootstrap/tooltip";
51
+ @import "bootstrap/popovers";
52
+ @import "bootstrap/carousel";
53
+
54
+ // Utility classes
55
+ @import "bootstrap/utilities";
56
+ @import "bootstrap/responsive-utilities";