quiet-comic 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 +198 -0
- data/_artworks/demo-0.md +7 -0
- data/_artworks/demo-1.md +7 -0
- data/_artworks/demo-2.md +7 -0
- data/_artworks/demo-3.md +7 -0
- data/_artworks/demo-4.md +7 -0
- data/_artworks/demo-5.md +7 -0
- data/_artworks/demo-6.md +7 -0
- data/_artworks/demo-7.md +7 -0
- data/_artworks/demo-8.md +7 -0
- data/_artworks/demo-9.md +7 -0
- data/_artworks/demo.md +7 -0
- data/_includes/collection_feed.xml +80 -0
- data/_includes/comments.html +11 -0
- data/_includes/facebook_javascript_sdk.html +8 -0
- data/_includes/footer.html +50 -0
- data/_includes/google_analytics.html +10 -0
- data/_includes/head.html +23 -0
- data/_includes/header.html +43 -0
- data/_includes/seo.html +147 -0
- data/_layouts/artwork.html +41 -0
- data/_layouts/autopage_collection.html +63 -0
- data/_layouts/default.html +12 -0
- data/_layouts/home.html +22 -0
- data/_layouts/page.html +46 -0
- data/_layouts/post.html +5 -0
- data/_pages/demo-0.md +8 -0
- data/_pages/demo-1.md +7 -0
- data/_pages/demo-2.md +7 -0
- data/_pages/demo-3.md +7 -0
- data/_pages/demo-4.md +7 -0
- data/_pages/demo-5.md +7 -0
- data/_pages/demo-6.md +7 -0
- data/_pages/demo-7.md +7 -0
- data/_pages/demo-8.md +7 -0
- data/_pages/demo-9.md +7 -0
- data/_pages/demo.md +7 -0
- data/_sass/quiet_comic.scss +48 -0
- data/_sass/quiet_comic/base.scss +97 -0
- data/_sass/quiet_comic/components.scss +226 -0
- data/_sass/quiet_comic/grid.scss +420 -0
- data/_sass/quiet_comic/mixins.scss +37 -0
- data/_sass/quiet_comic/syntax_highlighting.scss +136 -0
- data/artworks_feed.xml +6 -0
- data/assets/fonts/GloriaHallelujah.ttf +0 -0
- data/assets/fonts/PermanentMarker.ttf +0 -0
- data/assets/images/artworks/krita.jpg +0 -0
- data/assets/images/da-icon.svg +51 -0
- data/assets/images/fb-icon.svg +1 -0
- data/assets/images/feed-icon.svg +1 -0
- data/assets/images/github-icon.svg +68 -0
- data/assets/images/instagram-icon.svg +1 -0
- data/assets/images/pages/placeholder-page.jpg +0 -0
- data/assets/images/placeholder-brand-image.png +0 -0
- data/assets/images/twitter-icon.svg +1 -0
- data/assets/images/youtube-icon.svg +1 -0
- data/assets/main.scss +6 -0
- data/pages_feed.xml +6 -0
- metadata +229 -0
data/_pages/demo-3.md
ADDED
data/_pages/demo-4.md
ADDED
data/_pages/demo-5.md
ADDED
data/_pages/demo-6.md
ADDED
data/_pages/demo-7.md
ADDED
data/_pages/demo-8.md
ADDED
data/_pages/demo-9.md
ADDED
data/_pages/demo.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// fonts
|
4
|
+
@font-face {
|
5
|
+
font-family: "Gloria Hallelujah";
|
6
|
+
src: url("fonts/GloriaHallelujah.ttf");
|
7
|
+
}
|
8
|
+
|
9
|
+
@font-face {
|
10
|
+
font-family: "Permanent Marker";
|
11
|
+
src: url("fonts/PermanentMarker.ttf")
|
12
|
+
}
|
13
|
+
|
14
|
+
// VARIABLES
|
15
|
+
|
16
|
+
// fonts
|
17
|
+
$base-font-family: "Gloria Hallelujah", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
18
|
+
$secondary-font-family: "Permanent Marker", Helvetica, Arial, sans-serif !default;
|
19
|
+
$base-font-size: 16px !default;
|
20
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
21
|
+
$base-font-weight: 400px !default;
|
22
|
+
$base-line-height: 1.5 !default;
|
23
|
+
|
24
|
+
// colors
|
25
|
+
$text-color: hsl(203, 17%, 27%) !default;
|
26
|
+
$text-color-light: lighten($text-color, 40%) !default;
|
27
|
+
$text-color-dark: darken($text-color, 40%) !default;
|
28
|
+
$background-color: #FFF !default;
|
29
|
+
$brand-color: hsl(205, 30%, 45%) !default;
|
30
|
+
$link-color: lighten($brand-color, 40%) !default;
|
31
|
+
|
32
|
+
// header
|
33
|
+
$min-header-height: 80px;
|
34
|
+
|
35
|
+
// min breakpoint widths
|
36
|
+
$break-sm: 300px;
|
37
|
+
$break-md: 600px;
|
38
|
+
$break-lg: 900px;
|
39
|
+
$break-xl: 1200px;
|
40
|
+
|
41
|
+
// import partials
|
42
|
+
@import
|
43
|
+
"quiet_comic/mixins",
|
44
|
+
"quiet_comic/base",
|
45
|
+
"quiet_comic/components",
|
46
|
+
"quiet_comic/grid",
|
47
|
+
"quiet_comic/syntax_highlighting"
|
48
|
+
;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
// reset basic elements
|
2
|
+
html, body, h1, h2, h3, h4, h5, h6,
|
3
|
+
p, blockquote, pre, hr, dl, dd, dt,
|
4
|
+
ul, ol, li, figure, table, thead, tbody,
|
5
|
+
tfoot, tr, td, th, article, header, footer, nav {
|
6
|
+
margin: 0;
|
7
|
+
padding: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
body {
|
11
|
+
font-family: $base-font-family;
|
12
|
+
font-size: $base-font-size;
|
13
|
+
font-weight: $base-font-weight;
|
14
|
+
line-height: $base-line-height;
|
15
|
+
|
16
|
+
color: $text-color;
|
17
|
+
background-color: $background-color;
|
18
|
+
|
19
|
+
// Sticky footer
|
20
|
+
display: flex;
|
21
|
+
min-height: 100vh;
|
22
|
+
flex-direction: column;
|
23
|
+
}
|
24
|
+
|
25
|
+
main {
|
26
|
+
flex: 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
h6 {
|
30
|
+
font-size: $base-font-size * 1.125;
|
31
|
+
margin: $base-font-size * 1.825 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
h5 {
|
35
|
+
font-size: $base-font-size * 1.25;
|
36
|
+
margin: $base-font-size * 1.75 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
h4 {
|
40
|
+
font-size: $base-font-size * 1.5;
|
41
|
+
margin: $base-font-size * 1.5 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
h3 {
|
45
|
+
font-size: $base-font-size * 1.625;
|
46
|
+
margin: $base-font-size * 1.357 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
h2 {
|
50
|
+
font-size: $base-font-size * 1.8;
|
51
|
+
margin: $base-font-size * 1.2 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
h1 {
|
55
|
+
font-size: $base-font-size * 1.925;
|
56
|
+
margin: $base-font-size * 1.075 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
p, blockquote, pre, ul, ol, dl, figure {
|
60
|
+
margin: $base-font-size 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
a {
|
64
|
+
@include border-slide-bottom($text-color, 0.15em);
|
65
|
+
color: $link-color;
|
66
|
+
text-decoration: none;
|
67
|
+
|
68
|
+
&:visited {
|
69
|
+
color: darken($brand-color, 10%);
|
70
|
+
}
|
71
|
+
|
72
|
+
&:hover {
|
73
|
+
color: $text-color;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
// code blocks
|
78
|
+
pre,
|
79
|
+
code {
|
80
|
+
font-size: $base-font-size * 0.9375;
|
81
|
+
border-radius: 3px;
|
82
|
+
}
|
83
|
+
|
84
|
+
code {
|
85
|
+
padding: 1px 5px;
|
86
|
+
}
|
87
|
+
|
88
|
+
pre {
|
89
|
+
padding: 8px 12px;
|
90
|
+
overflow-x: auto;
|
91
|
+
|
92
|
+
> code {
|
93
|
+
border: 0;
|
94
|
+
padding-right: 0;
|
95
|
+
padding-left: 0;
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,226 @@
|
|
1
|
+
// header
|
2
|
+
header {
|
3
|
+
list-style: none;
|
4
|
+
position: relative;
|
5
|
+
z-index: 1;
|
6
|
+
|
7
|
+
ul {
|
8
|
+
margin: 0 1rem;
|
9
|
+
min-height: $min-header-height;
|
10
|
+
display: flex;
|
11
|
+
flex-wrap: wrap;
|
12
|
+
justify-content: flex-end;
|
13
|
+
align-items: center;
|
14
|
+
}
|
15
|
+
|
16
|
+
li {
|
17
|
+
display: inline-block;
|
18
|
+
padding: 0.5rem;
|
19
|
+
}
|
20
|
+
|
21
|
+
.active:after {
|
22
|
+
width: 100%;
|
23
|
+
}
|
24
|
+
|
25
|
+
.nav-home-button {
|
26
|
+
margin-right: auto;
|
27
|
+
|
28
|
+
a {
|
29
|
+
transition: opacity 0.4s ease-in-out;
|
30
|
+
|
31
|
+
&:after {
|
32
|
+
content: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:hover {
|
36
|
+
opacity: 0.5;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// footer
|
43
|
+
footer {
|
44
|
+
display: flex;
|
45
|
+
align-items: center;
|
46
|
+
justify-content: left;
|
47
|
+
margin: 5em 3em;
|
48
|
+
margin-bottom: 1em;
|
49
|
+
|
50
|
+
.bio-container {
|
51
|
+
h5 {
|
52
|
+
margin-bottom: 0;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.social-links {
|
57
|
+
display: flex;
|
58
|
+
margin-left: auto;
|
59
|
+
|
60
|
+
li {
|
61
|
+
display: inline-block;
|
62
|
+
margin: 0.4rem;
|
63
|
+
|
64
|
+
a {
|
65
|
+
transition: opacity 0.4s ease-in-out;
|
66
|
+
|
67
|
+
&:after {
|
68
|
+
content: none;
|
69
|
+
}
|
70
|
+
|
71
|
+
&:hover {
|
72
|
+
opacity: 0.4;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
img {
|
77
|
+
width: 50px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
// home page
|
86
|
+
.Home-img {
|
87
|
+
min-height: 100vh;
|
88
|
+
// temporary color
|
89
|
+
background-color: hsla(31, 15%, 50%, 0.1);
|
90
|
+
margin-top: -$min-header-height;
|
91
|
+
|
92
|
+
.main-feed-link {
|
93
|
+
width: 30px;
|
94
|
+
position: absolute;
|
95
|
+
bottom: 3rem;
|
96
|
+
right: 3rem;
|
97
|
+
transition: opacity 0.4s ease-in-out;
|
98
|
+
|
99
|
+
&:after {
|
100
|
+
content: none;
|
101
|
+
}
|
102
|
+
|
103
|
+
&:hover {
|
104
|
+
opacity: 0.4;
|
105
|
+
}
|
106
|
+
|
107
|
+
img {
|
108
|
+
width: 100%;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
// pages and gallery
|
114
|
+
.pages-layout, .gallery-layout {
|
115
|
+
|
116
|
+
.Grid-cell {
|
117
|
+
display: flex;
|
118
|
+
align-items: stretch;
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
.thumbnail-link {
|
124
|
+
@include overlay-on-hover($brand-color);
|
125
|
+
|
126
|
+
flex: 1;
|
127
|
+
text-align: center;
|
128
|
+
background-size: cover;
|
129
|
+
|
130
|
+
&:hover {
|
131
|
+
|
132
|
+
.thumbnail-title {
|
133
|
+
opacity: 1;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
.thumbnail-title {
|
139
|
+
z-index: 1;
|
140
|
+
color: #fff;
|
141
|
+
padding: 0.5em;
|
142
|
+
opacity: 0;
|
143
|
+
filter: brightness(100%);
|
144
|
+
transition: opacity 0.4s ease-in-out;
|
145
|
+
}
|
146
|
+
|
147
|
+
// page and artwork
|
148
|
+
.page-header, .artwork-header {
|
149
|
+
display: flex;
|
150
|
+
align-items: stretch;
|
151
|
+
}
|
152
|
+
|
153
|
+
.header-date {
|
154
|
+
color: $text-color-light;
|
155
|
+
font-size: 0.7em;
|
156
|
+
align-self: center;
|
157
|
+
margin-left: 1em;
|
158
|
+
}
|
159
|
+
|
160
|
+
.pager-container,
|
161
|
+
.size-buttons-container {
|
162
|
+
font-size: 0.5em;
|
163
|
+
align-self: center;
|
164
|
+
}
|
165
|
+
|
166
|
+
.pager {
|
167
|
+
list-style: none;
|
168
|
+
display: inline-block;
|
169
|
+
|
170
|
+
li {
|
171
|
+
display: inline-block;
|
172
|
+
}
|
173
|
+
|
174
|
+
a {
|
175
|
+
margin: 0 0.3em;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
.size-buttons-container {
|
181
|
+
margin-left: auto;
|
182
|
+
margin-right: 2em;
|
183
|
+
}
|
184
|
+
|
185
|
+
#width-50 {
|
186
|
+
flex: 0 0 50%;
|
187
|
+
display: none;
|
188
|
+
|
189
|
+
&:target {
|
190
|
+
display: block;
|
191
|
+
|
192
|
+
& ~ #width-100 {
|
193
|
+
display: none;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
#width-75 {
|
199
|
+
flex: 0 0 75%;
|
200
|
+
display: none;
|
201
|
+
|
202
|
+
&:target {
|
203
|
+
display: block;
|
204
|
+
|
205
|
+
& ~ #width-100 {
|
206
|
+
display: none;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
.main-image {
|
212
|
+
margin: auto;
|
213
|
+
}
|
214
|
+
|
215
|
+
#width-100 {
|
216
|
+
flex: 0 0 100%;
|
217
|
+
|
218
|
+
&:target {
|
219
|
+
display: block;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
// comments
|
224
|
+
.comments-container {
|
225
|
+
margin: 5em 0;
|
226
|
+
}
|
@@ -0,0 +1,420 @@
|
|
1
|
+
.Container--fluid {
|
2
|
+
width: 80%;
|
3
|
+
margin: 0 auto;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
|
7
|
+
.Container--fixed {
|
8
|
+
max-width: 80%;
|
9
|
+
width: 1000px;
|
10
|
+
margin: 0 auto;
|
11
|
+
box-sizing: border-box;
|
12
|
+
}
|
13
|
+
|
14
|
+
.Grid {
|
15
|
+
display: flex;
|
16
|
+
flex-wrap: wrap;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
|
20
|
+
* {
|
21
|
+
box-sizing: border-box;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.Grid-cell {
|
26
|
+
flex: 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
// cell order
|
30
|
+
.cell--first {
|
31
|
+
order: 1;
|
32
|
+
}
|
33
|
+
|
34
|
+
.cell--last {
|
35
|
+
order: 100;
|
36
|
+
}
|
37
|
+
|
38
|
+
@media (min-width: $break-sm) {
|
39
|
+
.sm-cell--first {
|
40
|
+
order: 1;
|
41
|
+
}
|
42
|
+
|
43
|
+
.sm-cell--last {
|
44
|
+
order: 100;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@media (min-width: $break-md) {
|
49
|
+
.md-cell--first {
|
50
|
+
order: 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
.md-cell--last {
|
54
|
+
order: 100;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
@media (min-width: $break-lg) {
|
60
|
+
.lg-cell--first {
|
61
|
+
order: 1;
|
62
|
+
}
|
63
|
+
|
64
|
+
.lg-cell--last {
|
65
|
+
order: 100;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
@media (min-width: $break-xl) {
|
71
|
+
.xl-cell--first {
|
72
|
+
order: 1;
|
73
|
+
}
|
74
|
+
|
75
|
+
.xl-cell--last {
|
76
|
+
order: 100;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.Grid-cell-inner {
|
81
|
+
padding: 1rem;
|
82
|
+
}
|
83
|
+
|
84
|
+
.Demo {
|
85
|
+
width: 100%;
|
86
|
+
background-color: hsla(31, 15%, 50%, .1);
|
87
|
+
padding: 1rem;
|
88
|
+
text-align: center;
|
89
|
+
}
|
90
|
+
|
91
|
+
// group alignment
|
92
|
+
.Grid--top {
|
93
|
+
align-items: flex-start;
|
94
|
+
}
|
95
|
+
|
96
|
+
.Grid-bottom {
|
97
|
+
align-items: flex-end;
|
98
|
+
}
|
99
|
+
|
100
|
+
.Grid--center {
|
101
|
+
align-items: center;
|
102
|
+
}
|
103
|
+
|
104
|
+
.Grid--justifyCenter {
|
105
|
+
justify-content: center;
|
106
|
+
}
|
107
|
+
|
108
|
+
// Individual alignment
|
109
|
+
.Grid-cell--top {
|
110
|
+
align-self: flex-start;
|
111
|
+
}
|
112
|
+
|
113
|
+
.Grid-cell--bottom {
|
114
|
+
align-self: flex-end;
|
115
|
+
}
|
116
|
+
|
117
|
+
.Grid-cell--center {
|
118
|
+
align-self: center;
|
119
|
+
}
|
120
|
+
|
121
|
+
.Grid-cell--autoSize {
|
122
|
+
flex: none;
|
123
|
+
}
|
124
|
+
|
125
|
+
// Group sizing
|
126
|
+
// baseline flex-basis
|
127
|
+
.Grid--1of1 > .Grid-cell {
|
128
|
+
flex: 0 0 100%;
|
129
|
+
}
|
130
|
+
|
131
|
+
.Grid--1of2 > .Grid-cell {
|
132
|
+
flex: 0 0 50%;
|
133
|
+
}
|
134
|
+
|
135
|
+
.Grid--1of3 > .Grid-cell {
|
136
|
+
flex: 0 0 33.33333%;
|
137
|
+
}
|
138
|
+
|
139
|
+
.Grid--1of4 > .Grid-cell {
|
140
|
+
flex: 0 0 25%;
|
141
|
+
}
|
142
|
+
|
143
|
+
.Grid--1of6 > .Grid-cell {
|
144
|
+
flex: 0 0 16.666666%;
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
// flex-basis at different breakpoints
|
149
|
+
@media (min-width: $break-sm) {
|
150
|
+
.sm-Grid--fit > .Grid-cell {
|
151
|
+
flex: 1;
|
152
|
+
}
|
153
|
+
|
154
|
+
.sm-Grid--1of1 > .Grid-cell {
|
155
|
+
flex: 0 0 100%;
|
156
|
+
}
|
157
|
+
|
158
|
+
.sm-Grid--1of2 > .Grid-cell {
|
159
|
+
flex: 0 0 50%;
|
160
|
+
}
|
161
|
+
|
162
|
+
.sm-Grid--1of3 > .Grid-cell {
|
163
|
+
flex: 0 0 33.33333%;
|
164
|
+
}
|
165
|
+
|
166
|
+
.sm-Grid--1of4 > .Grid-cell {
|
167
|
+
flex: 0 0 25%;
|
168
|
+
}
|
169
|
+
|
170
|
+
.sm-Grid--1of6 > .Grid-cell {
|
171
|
+
flex: 0 0 16.666666%;
|
172
|
+
}
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
}
|
177
|
+
|
178
|
+
@media (min-width: $break-md) {
|
179
|
+
.md-Grid--fit > .Grid-cell {
|
180
|
+
flex: 1;
|
181
|
+
}
|
182
|
+
|
183
|
+
.md-Grid--1of1 > .Grid-cell {
|
184
|
+
flex: 0 0 100%;
|
185
|
+
}
|
186
|
+
|
187
|
+
.md-Grid--1of2 > .Grid-cell {
|
188
|
+
flex: 0 0 50%;
|
189
|
+
}
|
190
|
+
|
191
|
+
.md-Grid--1of3 > .Grid-cell {
|
192
|
+
flex: 0 0 33.33333%;
|
193
|
+
}
|
194
|
+
|
195
|
+
.md-Grid--1of4 > .Grid-cell {
|
196
|
+
flex: 0 0 25%;
|
197
|
+
}
|
198
|
+
|
199
|
+
.md-Grid--1of6 > .Grid-cell {
|
200
|
+
flex: 0 0 16.666666%;
|
201
|
+
}
|
202
|
+
|
203
|
+
}
|
204
|
+
|
205
|
+
@media (min-width: $break-lg) {
|
206
|
+
.lg-Grid--fit > .Grid-cell {
|
207
|
+
flex: 1;
|
208
|
+
}
|
209
|
+
|
210
|
+
.lg-Grid--1of1 > .Grid-cell {
|
211
|
+
flex: 0 0 100%;
|
212
|
+
}
|
213
|
+
|
214
|
+
.lg-Grid--1of2 > .Grid-cell {
|
215
|
+
flex: 0 0 50%;
|
216
|
+
}
|
217
|
+
|
218
|
+
.lg-Grid--1of3 > .Grid-cell {
|
219
|
+
flex: 0 0 33.33333%;
|
220
|
+
}
|
221
|
+
|
222
|
+
.lg-Grid--1of4 > .Grid-cell {
|
223
|
+
flex: 0 0 25%;
|
224
|
+
}
|
225
|
+
|
226
|
+
.lg-Grid--1of6 > .Grid-cell {
|
227
|
+
flex: 0 0 16.666666%;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
@media (min-width: $break-xl) {
|
232
|
+
.xl-Grid--fit > .Grid-cell {
|
233
|
+
flex: 1;
|
234
|
+
}
|
235
|
+
|
236
|
+
.xl-Grid--1of1 > .Grid-cell {
|
237
|
+
flex: 0 0 100%;
|
238
|
+
}
|
239
|
+
|
240
|
+
.xl-Grid--1of2 > .Grid-cell {
|
241
|
+
flex: 0 0 50%;
|
242
|
+
}
|
243
|
+
|
244
|
+
.xl-Grid--1of3 > .Grid-cell {
|
245
|
+
flex: 0 0 33.33333%;
|
246
|
+
}
|
247
|
+
|
248
|
+
.xl-Grid--1of4 > .Grid-cell {
|
249
|
+
flex: 0 0 25%;
|
250
|
+
}
|
251
|
+
|
252
|
+
.lg-Grid--1of6 > .Grid-cell {
|
253
|
+
flex: 0 0 16.666666%;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
// individual sizing per cell
|
258
|
+
// baseline widths
|
259
|
+
.cell--1of1 {
|
260
|
+
width: 100% !important;
|
261
|
+
flex: none !important;
|
262
|
+
}
|
263
|
+
|
264
|
+
.cell--1of2 {
|
265
|
+
width: 50% !important;
|
266
|
+
flex: none !important;
|
267
|
+
}
|
268
|
+
|
269
|
+
.cell--1of3 {
|
270
|
+
width: 33.33333% !important;
|
271
|
+
flex: none !important;
|
272
|
+
}
|
273
|
+
|
274
|
+
.cell--2of3 {
|
275
|
+
width: 66.666666% !important;
|
276
|
+
flex: none !important;
|
277
|
+
}
|
278
|
+
|
279
|
+
|
280
|
+
.cell--1of4 {
|
281
|
+
width: 25% !important;
|
282
|
+
flex: none !important;
|
283
|
+
}
|
284
|
+
|
285
|
+
// widths at different breakpoints
|
286
|
+
@media (min-width: $break-sm) {
|
287
|
+
.sm-cell--1of1 {
|
288
|
+
width: 100% !important;
|
289
|
+
flex: none !important;
|
290
|
+
}
|
291
|
+
|
292
|
+
.sm-cell--1of2 {
|
293
|
+
width: 50% !important;
|
294
|
+
flex: none !important;
|
295
|
+
}
|
296
|
+
|
297
|
+
.sm-cell--1of3 {
|
298
|
+
width: 33.33333% !important;
|
299
|
+
flex: none !important;
|
300
|
+
}
|
301
|
+
|
302
|
+
.sm-cell--2of3 {
|
303
|
+
width: 66.666666% !important;
|
304
|
+
flex: none !important;
|
305
|
+
}
|
306
|
+
|
307
|
+
.sm-cell--1of4 {
|
308
|
+
width: 25% !important;
|
309
|
+
flex: none !important;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
@media (min-width: $break-md) {
|
314
|
+
.md-cell--1of1 {
|
315
|
+
width: 100% !important;
|
316
|
+
flex: none !important;
|
317
|
+
}
|
318
|
+
|
319
|
+
.md-cell--1of2 {
|
320
|
+
width: 50% !important;
|
321
|
+
flex: none !important;
|
322
|
+
}
|
323
|
+
|
324
|
+
.md-cell--1of3 {
|
325
|
+
width: 33.33333% !important;
|
326
|
+
flex: none !important;
|
327
|
+
}
|
328
|
+
|
329
|
+
.md-cell--2of3 {
|
330
|
+
width: 66.666666% !important;
|
331
|
+
flex: none !important;
|
332
|
+
}
|
333
|
+
|
334
|
+
.md-cell--1of4 {
|
335
|
+
width: 25% !important;
|
336
|
+
flex: none !important;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
@media (min-width: $break-lg) {
|
341
|
+
.lg-cell--1of1 {
|
342
|
+
width: 100% !important;
|
343
|
+
flex: none !important;
|
344
|
+
}
|
345
|
+
|
346
|
+
.lg-cell--1of2 {
|
347
|
+
width: 50% !important;
|
348
|
+
flex: none !important;
|
349
|
+
}
|
350
|
+
|
351
|
+
.lg-cell--1of3 {
|
352
|
+
width: 33.33333% !important;
|
353
|
+
flex: none !important;
|
354
|
+
}
|
355
|
+
|
356
|
+
.lg-cell--2of3 {
|
357
|
+
width: 66.666666% !important;
|
358
|
+
flex: none !important;
|
359
|
+
}
|
360
|
+
|
361
|
+
.lg-cell--1of4 {
|
362
|
+
width: 25% !important;
|
363
|
+
flex: none !important;
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
@media (min-width: $break-xl) {
|
368
|
+
.xl-cell--1of1 {
|
369
|
+
width: 100% !important;
|
370
|
+
flex: none !important;
|
371
|
+
}
|
372
|
+
|
373
|
+
.xl-cell--1of2 {
|
374
|
+
width: 50% !important;
|
375
|
+
flex: none !important;
|
376
|
+
}
|
377
|
+
|
378
|
+
.xl-cell--1of3 {
|
379
|
+
width: 33.33333% !important;
|
380
|
+
flex: none !important;
|
381
|
+
}
|
382
|
+
|
383
|
+
.xl-cell--2of3 {
|
384
|
+
width: 66.666666% !important;
|
385
|
+
flex: none !important;
|
386
|
+
}
|
387
|
+
|
388
|
+
.xl-cell--1of4 {
|
389
|
+
width: 25% !important;
|
390
|
+
flex: none !important;
|
391
|
+
}
|
392
|
+
}
|
393
|
+
|
394
|
+
// Gutters
|
395
|
+
.Grid--gutters {
|
396
|
+
// we have negative margins so that we can pad
|
397
|
+
// the grid cells on the top and left
|
398
|
+
// and so that grids will stack on top of each other nicely
|
399
|
+
margin: -1rem 0 1rem -1rem;
|
400
|
+
}
|
401
|
+
|
402
|
+
.Grid--gutters > .Grid-cell {
|
403
|
+
padding: 1rem 0 0 1rem;
|
404
|
+
}
|
405
|
+
|
406
|
+
.Grid--guttersLg {
|
407
|
+
margin: -1.5rem 0 1.5rem -1.5rem;
|
408
|
+
}
|
409
|
+
|
410
|
+
.Grid--guttersLg > .Grid-cell {
|
411
|
+
padding: 1.5rem 0 0 1.5rem;
|
412
|
+
}
|
413
|
+
|
414
|
+
.Grid--guttersXL {
|
415
|
+
margin: -2rem 0 2rem -2rem;
|
416
|
+
}
|
417
|
+
|
418
|
+
.Grid--guttersXL > .Grid-cell {
|
419
|
+
padding: 2rem 0 0 2rem;
|
420
|
+
}
|