ssg-guideline 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +45 -0
  4. data/_layouts/default.html +1 -0
  5. data/_layouts/page.html +5 -0
  6. data/_layouts/post.html +5 -0
  7. data/_sass/bootstrap/_alert.scss +55 -0
  8. data/_sass/bootstrap/_badge.scss +77 -0
  9. data/_sass/bootstrap/_breadcrumb.scss +38 -0
  10. data/_sass/bootstrap/_button-group.scss +202 -0
  11. data/_sass/bootstrap/_buttons.scss +170 -0
  12. data/_sass/bootstrap/_card.scss +276 -0
  13. data/_sass/bootstrap/_carousel.scss +178 -0
  14. data/_sass/bootstrap/_close.scss +31 -0
  15. data/_sass/bootstrap/_code.scss +64 -0
  16. data/_sass/bootstrap/_custom-forms.scss +263 -0
  17. data/_sass/bootstrap/_custom.scss +4 -0
  18. data/_sass/bootstrap/_dropdown.scss +161 -0
  19. data/_sass/bootstrap/_forms.scss +388 -0
  20. data/_sass/bootstrap/_grid.scss +52 -0
  21. data/_sass/bootstrap/_images.scss +43 -0
  22. data/_sass/bootstrap/_input-group.scss +178 -0
  23. data/_sass/bootstrap/_jumbotron.scss +20 -0
  24. data/_sass/bootstrap/_list-group.scss +141 -0
  25. data/_sass/bootstrap/_media.scss +8 -0
  26. data/_sass/bootstrap/_mixins.scss +57 -0
  27. data/_sass/bootstrap/_modal.scss +142 -0
  28. data/_sass/bootstrap/_nav.scss +119 -0
  29. data/_sass/bootstrap/_navbar.scss +268 -0
  30. data/_sass/bootstrap/_normalize.scss +461 -0
  31. data/_sass/bootstrap/_pagination.scss +67 -0
  32. data/_sass/bootstrap/_popover.scss +171 -0
  33. data/_sass/bootstrap/_print.scss +119 -0
  34. data/_sass/bootstrap/_progress.scss +32 -0
  35. data/_sass/bootstrap/_reboot.scss +389 -0
  36. data/_sass/bootstrap/_responsive-embed.scss +52 -0
  37. data/_sass/bootstrap/_tables.scss +153 -0
  38. data/_sass/bootstrap/_tooltip.scss +90 -0
  39. data/_sass/bootstrap/_transitions.scss +34 -0
  40. data/_sass/bootstrap/_type.scss +143 -0
  41. data/_sass/bootstrap/_utilities.scss +13 -0
  42. data/_sass/bootstrap/_variables.scss +961 -0
  43. data/_sass/bootstrap/bootstrap-grid.scss +43 -0
  44. data/_sass/bootstrap/bootstrap-reboot.scss +10 -0
  45. data/_sass/bootstrap/bootstrap.scss +54 -0
  46. data/_sass/extra/_syntax-highlighting.scss +71 -0
  47. data/_sass/main.scss +48 -0
  48. metadata +132 -0
@@ -0,0 +1,67 @@
1
+ .pagination {
2
+ display: flex;
3
+ // 1-2: Disable browser default list styles
4
+ padding-left: 0; // 1
5
+ list-style: none; // 2
6
+ @include border-radius();
7
+ }
8
+
9
+ .page-item {
10
+ &:first-child {
11
+ .page-link {
12
+ margin-left: 0;
13
+ @include border-left-radius($border-radius);
14
+ }
15
+ }
16
+ &:last-child {
17
+ .page-link {
18
+ @include border-right-radius($border-radius);
19
+ }
20
+ }
21
+
22
+ &.active .page-link {
23
+ z-index: 2;
24
+ color: $pagination-active-color;
25
+ background-color: $pagination-active-bg;
26
+ border-color: $pagination-active-border;
27
+ }
28
+
29
+ &.disabled .page-link {
30
+ color: $pagination-disabled-color;
31
+ pointer-events: none;
32
+ cursor: $cursor-disabled; // While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback.
33
+ background-color: $pagination-disabled-bg;
34
+ border-color: $pagination-disabled-border;
35
+ }
36
+ }
37
+
38
+ .page-link {
39
+ position: relative;
40
+ display: block;
41
+ padding: $pagination-padding-y $pagination-padding-x;
42
+ margin-left: -1px;
43
+ line-height: $pagination-line-height;
44
+ color: $pagination-color;
45
+ background-color: $pagination-bg;
46
+ border: $pagination-border-width solid $pagination-border-color;
47
+
48
+ @include hover-focus {
49
+ color: $pagination-hover-color;
50
+ text-decoration: none;
51
+ background-color: $pagination-hover-bg;
52
+ border-color: $pagination-hover-border;
53
+ }
54
+ }
55
+
56
+
57
+ //
58
+ // Sizing
59
+ //
60
+
61
+ .pagination-lg {
62
+ @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
63
+ }
64
+
65
+ .pagination-sm {
66
+ @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
67
+ }
@@ -0,0 +1,171 @@
1
+ .popover {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ z-index: $zindex-popover;
6
+ display: block;
7
+ max-width: $popover-max-width;
8
+ padding: $popover-inner-padding;
9
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
10
+ // So reset our font and text properties to avoid inheriting weird values.
11
+ @include reset-text();
12
+ font-size: $font-size-sm;
13
+ // Allow breaking very long words so they don't overflow the popover's bounds
14
+ word-wrap: break-word;
15
+ background-color: $popover-bg;
16
+ background-clip: padding-box;
17
+ border: $popover-border-width solid $popover-border-color;
18
+ @include border-radius($border-radius-lg);
19
+ @include box-shadow($popover-box-shadow);
20
+
21
+
22
+ // Popover directions
23
+
24
+ &.popover-top,
25
+ &.bs-tether-element-attached-bottom {
26
+ margin-top: -$popover-arrow-width;
27
+
28
+ &::before,
29
+ &::after {
30
+ left: 50%;
31
+ border-bottom-width: 0;
32
+ }
33
+
34
+ &::before {
35
+ bottom: -$popover-arrow-outer-width;
36
+ margin-left: -$popover-arrow-outer-width;
37
+ border-top-color: $popover-arrow-outer-color;
38
+ }
39
+
40
+ &::after {
41
+ bottom: -($popover-arrow-outer-width - 1);
42
+ margin-left: -$popover-arrow-width;
43
+ border-top-color: $popover-arrow-color;
44
+ }
45
+ }
46
+
47
+ &.popover-right,
48
+ &.bs-tether-element-attached-left {
49
+ margin-left: $popover-arrow-width;
50
+
51
+ &::before,
52
+ &::after {
53
+ top: 50%;
54
+ border-left-width: 0;
55
+ }
56
+
57
+ &::before {
58
+ left: -$popover-arrow-outer-width;
59
+ margin-top: -$popover-arrow-outer-width;
60
+ border-right-color: $popover-arrow-outer-color;
61
+ }
62
+
63
+ &::after {
64
+ left: -($popover-arrow-outer-width - 1);
65
+ margin-top: -($popover-arrow-outer-width - 1);
66
+ border-right-color: $popover-arrow-color;
67
+ }
68
+ }
69
+
70
+ &.popover-bottom,
71
+ &.bs-tether-element-attached-top {
72
+ margin-top: $popover-arrow-width;
73
+
74
+ &::before,
75
+ &::after {
76
+ left: 50%;
77
+ border-top-width: 0;
78
+ }
79
+
80
+ &::before {
81
+ top: -$popover-arrow-outer-width;
82
+ margin-left: -$popover-arrow-outer-width;
83
+ border-bottom-color: $popover-arrow-outer-color;
84
+ }
85
+
86
+ &::after {
87
+ top: -($popover-arrow-outer-width - 1);
88
+ margin-left: -$popover-arrow-width;
89
+ border-bottom-color: $popover-title-bg;
90
+ }
91
+
92
+ // This will remove the popover-title's border just below the arrow
93
+ .popover-title::before {
94
+ position: absolute;
95
+ top: 0;
96
+ left: 50%;
97
+ display: block;
98
+ width: 20px;
99
+ margin-left: -10px;
100
+ content: "";
101
+ border-bottom: 1px solid $popover-title-bg;
102
+ }
103
+ }
104
+
105
+ &.popover-left,
106
+ &.bs-tether-element-attached-right {
107
+ margin-left: -$popover-arrow-width;
108
+
109
+ &::before,
110
+ &::after {
111
+ top: 50%;
112
+ border-right-width: 0;
113
+ }
114
+
115
+ &::before {
116
+ right: -$popover-arrow-outer-width;
117
+ margin-top: -$popover-arrow-outer-width;
118
+ border-left-color: $popover-arrow-outer-color;
119
+ }
120
+
121
+ &::after {
122
+ right: -($popover-arrow-outer-width - 1);
123
+ margin-top: -($popover-arrow-outer-width - 1);
124
+ border-left-color: $popover-arrow-color;
125
+ }
126
+ }
127
+ }
128
+
129
+
130
+ // Offset the popover to account for the popover arrow
131
+ .popover-title {
132
+ padding: $popover-title-padding-y $popover-title-padding-x;
133
+ margin-bottom: 0; // Reset the default from Reboot
134
+ font-size: $font-size-base;
135
+ background-color: $popover-title-bg;
136
+ border-bottom: $popover-border-width solid darken($popover-title-bg, 5%);
137
+ $offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width});
138
+ @include border-top-radius($offset-border-width);
139
+
140
+ &:empty {
141
+ display: none;
142
+ }
143
+ }
144
+
145
+ .popover-content {
146
+ padding: $popover-content-padding-y $popover-content-padding-x;
147
+ }
148
+
149
+
150
+ // Arrows
151
+ //
152
+ // .popover-arrow is outer, .popover-arrow::after is inner
153
+
154
+ .popover::before,
155
+ .popover::after {
156
+ position: absolute;
157
+ display: block;
158
+ width: 0;
159
+ height: 0;
160
+ border-color: transparent;
161
+ border-style: solid;
162
+ }
163
+
164
+ .popover::before {
165
+ content: "";
166
+ border-width: $popover-arrow-outer-width;
167
+ }
168
+ .popover::after {
169
+ content: "";
170
+ border-width: $popover-arrow-width;
171
+ }
@@ -0,0 +1,119 @@
1
+ // scss-lint:disable QualifyingElement
2
+
3
+ // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
4
+
5
+ // ==========================================================================
6
+ // Print styles.
7
+ // Inlined to avoid the additional HTTP request:
8
+ // http://www.phpied.com/delay-loading-your-print-css/
9
+ // ==========================================================================
10
+
11
+ @if $enable-print-styles {
12
+ @media print {
13
+ *,
14
+ *::before,
15
+ *::after,
16
+ p::first-letter,
17
+ div::first-letter,
18
+ blockquote::first-letter,
19
+ li::first-letter,
20
+ p::first-line,
21
+ div::first-line,
22
+ blockquote::first-line,
23
+ li::first-line {
24
+ // Bootstrap specific; comment out `color` and `background`
25
+ //color: #000 !important; // Black prints faster:
26
+ // http://www.sanbeiji.com/archives/953
27
+ text-shadow: none !important;
28
+ //background: transparent !important;
29
+ box-shadow: none !important;
30
+ }
31
+
32
+ a,
33
+ a:visited {
34
+ text-decoration: underline;
35
+ }
36
+
37
+ // Bootstrap specific; comment the following selector out
38
+ //a[href]::after {
39
+ // content: " (" attr(href) ")";
40
+ //}
41
+
42
+ abbr[title]::after {
43
+ content: " (" attr(title) ")";
44
+ }
45
+
46
+ // Bootstrap specific; comment the following selector out
47
+ //
48
+ // Don't show links that are fragment identifiers,
49
+ // or use the `javascript:` pseudo protocol
50
+ //
51
+
52
+ //a[href^="#"]::after,
53
+ //a[href^="javascript:"]::after {
54
+ // content: "";
55
+ //}
56
+
57
+ pre {
58
+ white-space: pre-wrap !important;
59
+ }
60
+ pre,
61
+ blockquote {
62
+ border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px
63
+ page-break-inside: avoid;
64
+ }
65
+
66
+ //
67
+ // Printing Tables:
68
+ // http://css-discuss.incutio.com/wiki/Printing_Tables
69
+ //
70
+
71
+ thead {
72
+ display: table-header-group;
73
+ }
74
+
75
+ tr,
76
+ img {
77
+ page-break-inside: avoid;
78
+ }
79
+
80
+ p,
81
+ h2,
82
+ h3 {
83
+ orphans: 3;
84
+ widows: 3;
85
+ }
86
+
87
+ h2,
88
+ h3 {
89
+ page-break-after: avoid;
90
+ }
91
+
92
+ // Bootstrap specific changes start
93
+
94
+ // Bootstrap components
95
+ .navbar {
96
+ display: none;
97
+ }
98
+ .badge {
99
+ border: $border-width solid #000;
100
+ }
101
+
102
+ .table {
103
+ border-collapse: collapse !important;
104
+
105
+ td,
106
+ th {
107
+ background-color: #fff !important;
108
+ }
109
+ }
110
+ .table-bordered {
111
+ th,
112
+ td {
113
+ border: 1px solid #ddd !important;
114
+ }
115
+ }
116
+
117
+ // Bootstrap specific changes end
118
+ }
119
+ }
@@ -0,0 +1,32 @@
1
+ // Progress animations
2
+ @keyframes progress-bar-stripes {
3
+ from { background-position: $progress-height 0; }
4
+ to { background-position: 0 0; }
5
+ }
6
+
7
+ // Basic progress bar
8
+ .progress {
9
+ display: flex;
10
+ overflow: hidden; // force rounded corners by cropping it
11
+ font-size: $progress-font-size;
12
+ line-height: $progress-height;
13
+ text-align: center;
14
+ background-color: $progress-bg;
15
+ @include border-radius($progress-border-radius);
16
+ }
17
+ .progress-bar {
18
+ height: $progress-height;
19
+ color: $progress-bar-color;
20
+ background-color: $progress-bar-bg;
21
+ }
22
+
23
+ // Striped
24
+ .progress-bar-striped {
25
+ @include gradient-striped();
26
+ background-size: $progress-height $progress-height;
27
+ }
28
+
29
+ // Animated
30
+ .progress-bar-animated {
31
+ animation: progress-bar-stripes $progress-bar-animation-timing;
32
+ }