concrete-jekyll 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +0 -0
- data/README.md +16 -0
- data/_includes/footer.html +1 -0
- data/_includes/head.html +32 -0
- data/_includes/header.html +3 -0
- data/_includes/icon.html +25 -0
- data/_includes/main.html +2 -0
- data/_layouts/home.html +4 -0
- data/_sass/_additions.scss +0 -0
- data/_sass/_code.scss +144 -0
- data/_sass/_forms.scss +122 -0
- data/_sass/_grid.scss +0 -0
- data/_sass/_helpers.scss +29 -0
- data/_sass/_icons.scss +47 -0
- data/_sass/_reset.scss +110 -0
- data/_sass/_typography.scss +88 -0
- data/assets/main.scss +211 -0
- metadata +21 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa6f54269d568ab96eb2cfad3e106bdf40ce5fec
|
4
|
+
data.tar.gz: 8a4ee60db8c0ba762f0a34320a748f35cabf5539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c62179388906a78ab50e22a98489e5d13c93e48e36d8a186bc467664aec5f785328b173b44b4eb7ff7e724d85e7e0d4865003f4747316c9378a3f262998076c1
|
7
|
+
data.tar.gz: 36e4f31694817a39ba87a387fdc1564725b8da6191dd7ac2d841391224fe4cfc55b5802c07c945a9547c4ce0c98e496070d035e23dc55421b2ea0d71dadea80d
|
data/LICENSE.txt
ADDED
File without changes
|
data/README.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
### Installation
|
2
|
+
Add the theme to your sites Gemfile
|
3
|
+
|
4
|
+
`gem "concrete-jekyll"`
|
5
|
+
|
6
|
+
Install the theme
|
7
|
+
|
8
|
+
`bundle install`
|
9
|
+
|
10
|
+
Add the theme to your `_config.yml`:
|
11
|
+
|
12
|
+
`theme: concrete-jekyll`
|
13
|
+
|
14
|
+
Build your site:
|
15
|
+
|
16
|
+
`bundle exec jekyll serve`
|
@@ -0,0 +1 @@
|
|
1
|
+
</body>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<!-- ============================================================================
|
3
|
+
___ _ _ _
|
4
|
+
/ || | | | | |
|
5
|
+
\__ | | | | | | __
|
6
|
+
/ |/ |/_) |/ / \_/\/
|
7
|
+
\___/|__/| \_/|__/\__/ /\_/
|
8
|
+
|\
|
9
|
+
|/
|
10
|
+
Concrete Jekyll v1.0.0
|
11
|
+
https://github.com/Elkfox/concrete-jekyll
|
12
|
+
Copyright (c) 2017 Elkfox Co Pty Ltd
|
13
|
+
https://elkfox.com
|
14
|
+
Project lead: George Butter - https://github.com/butsandcats
|
15
|
+
MIT License
|
16
|
+
============================================================================ -->
|
17
|
+
|
18
|
+
<head>
|
19
|
+
<!-- META ================================================================ -->
|
20
|
+
<meta charset="utf-8">
|
21
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
22
|
+
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
23
|
+
<meta name="description" content="{{ site.description }}">
|
24
|
+
|
25
|
+
<title>{{ site.title }}</title>
|
26
|
+
<link href="{{ site.github.url }}/assets/main.css" rel="stylesheet" type="text/css" media="all">
|
27
|
+
<link rel="shortcut icon" href="{{ site.github.url }}/assets/favicon.png" type="image/png" />
|
28
|
+
|
29
|
+
<!-- Fonts and CDN content =============================================== -->
|
30
|
+
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,600" rel="stylesheet">
|
31
|
+
</head>
|
32
|
+
<body>
|
data/_includes/icon.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{% assign icon = include.icon %}
|
2
|
+
{% if include.icon_size %}
|
3
|
+
{% assign icon_size = include.icon_size %}
|
4
|
+
{% else %}
|
5
|
+
{% assign icon_size = '32' %}
|
6
|
+
{% endif %}
|
7
|
+
<span class="icon" aria-hidden="true">
|
8
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="{{ icon }}" width="{{ icon_size }}px" height="{{ icon_size }}px" aria-label="{{ icon | capitalize }}" role="img" viewbox="0 0 32 32">
|
9
|
+
<title>{{ icon | replace: '-', '' | capitalize }}</title>
|
10
|
+
<desc>{{ icon | replace: '-', '' | capitalize }} {{ site.data.common.icon }}</desc>
|
11
|
+
{% case icon %}
|
12
|
+
{% when 'github' %}
|
13
|
+
<path class="fill" d="M16,0.4c-8.8,0-16,7.2-16,16c0,7.1,4.6,13.1,10.9,15.2
|
14
|
+
c0.8,0.1,1.1-0.3,1.1-0.8c0-0.4,0-1.4,0-2.7c-4.5,1-5.4-2.1-5.4-2.1c-0.7-1.8-1.8-2.3-1.8-2.3c-1.5-1,0.1-1,0.1-1
|
15
|
+
c1.6,0.1,2.5,1.6,2.5,1.6c1.4,2.4,3.7,1.7,4.7,1.3c0.1-1,0.6-1.7,1-2.1c-3.6-0.4-7.3-1.8-7.3-7.9c0-1.7,0.6-3.2,1.6-4.3
|
16
|
+
c-0.2-0.4-0.7-2,0.2-4.2c0,0,1.3-0.4,4.4,1.6c1.3-0.4,2.6-0.5,4-0.5c1.4,0,2.7,0.2,4,0.5C23.1,6.6,24.4,7,24.4,7
|
17
|
+
c0.9,2.2,0.3,3.8,0.2,4.2c1,1.1,1.6,2.5,1.6,4.3c0,6.1-3.7,7.5-7.3,7.9c0.6,0.5,1.1,1.5,1.1,3c0,2.1,0,3.9,0,4.4
|
18
|
+
c0,0.4,0.3,0.9,1.1,0.8C27.4,29.5,32,23.5,32,16.4C32,7.6,24.8,0.4,16,0.4z"/>
|
19
|
+
{% when 'heart' %}
|
20
|
+
<path class="fill" d="M29.311,4.689C25.623,1.002,19.548,1.109,16,5.032C12.451,1.107,6.375,1.004,2.689,4.689
|
21
|
+
C0.955,6.424,0,8.729,0,11.182c0,2.453,0.955,4.759,2.689,6.492L16,30.985l13.311-13.312C31.045,15.94,32,13.635,32,11.182
|
22
|
+
C32,8.729,31.045,6.424,29.311,4.689z"/>
|
23
|
+
{% endcase %}
|
24
|
+
</svg>
|
25
|
+
</span>
|
data/_includes/main.html
ADDED
data/_layouts/home.html
ADDED
File without changes
|
data/_sass/_code.scss
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
code.highlighter-rouge {
|
2
|
+
font-family: Menlo, monospace;
|
3
|
+
font-weight: 900;
|
4
|
+
color: $colorOne;
|
5
|
+
overflow: scroll;
|
6
|
+
}
|
7
|
+
|
8
|
+
.highlight {
|
9
|
+
font-family: Menlo, monospace;
|
10
|
+
font-weight: 900;
|
11
|
+
background: $colorDarkGray;
|
12
|
+
color: $colorLightGray;
|
13
|
+
margin: $gutter (-$gutter);
|
14
|
+
padding: $gutter;
|
15
|
+
overflow: scroll;
|
16
|
+
|
17
|
+
.hll,
|
18
|
+
.s,
|
19
|
+
.sa,
|
20
|
+
.sb,
|
21
|
+
.sc,
|
22
|
+
.dl,
|
23
|
+
.sd,
|
24
|
+
.s2,
|
25
|
+
.se,
|
26
|
+
.sh,
|
27
|
+
.si,
|
28
|
+
.sx,
|
29
|
+
.sr,
|
30
|
+
.s1,
|
31
|
+
.ss {
|
32
|
+
color: $colorThree;
|
33
|
+
}
|
34
|
+
|
35
|
+
.go {
|
36
|
+
color: $colorGray;
|
37
|
+
}
|
38
|
+
|
39
|
+
.err,
|
40
|
+
.g,
|
41
|
+
.l,
|
42
|
+
.n,
|
43
|
+
.x,
|
44
|
+
.p,
|
45
|
+
.ge,
|
46
|
+
.gr,
|
47
|
+
.gh,
|
48
|
+
.gi,
|
49
|
+
.gp,
|
50
|
+
.gs,
|
51
|
+
.gu,
|
52
|
+
.gt,
|
53
|
+
.ld,
|
54
|
+
.no,
|
55
|
+
.nd,
|
56
|
+
.ni,
|
57
|
+
.ne,
|
58
|
+
.nn,
|
59
|
+
.nx,
|
60
|
+
.py,
|
61
|
+
.w,
|
62
|
+
.bp {
|
63
|
+
color: $colorLightGray;
|
64
|
+
}
|
65
|
+
|
66
|
+
.gh,
|
67
|
+
.gi,
|
68
|
+
.gu {
|
69
|
+
font-weight: bold;
|
70
|
+
}
|
71
|
+
|
72
|
+
.ge {
|
73
|
+
text-decoration: underline;
|
74
|
+
}
|
75
|
+
|
76
|
+
.bp {
|
77
|
+
font-style: italic;
|
78
|
+
}
|
79
|
+
|
80
|
+
.c,
|
81
|
+
.ch,
|
82
|
+
.cm,
|
83
|
+
.cpf,
|
84
|
+
.c1,
|
85
|
+
.cs {
|
86
|
+
color: $colorSix;
|
87
|
+
}
|
88
|
+
|
89
|
+
.kd,
|
90
|
+
.kt,
|
91
|
+
.nb,
|
92
|
+
.nl,
|
93
|
+
.nv,
|
94
|
+
.vc,
|
95
|
+
.vg,
|
96
|
+
.vi,
|
97
|
+
.vm {
|
98
|
+
color: $colorEight;
|
99
|
+
}
|
100
|
+
|
101
|
+
.kd,
|
102
|
+
.nb,
|
103
|
+
.nl,
|
104
|
+
.nv,
|
105
|
+
.vc,
|
106
|
+
.vg,
|
107
|
+
.vi,
|
108
|
+
.vm {
|
109
|
+
font-style: italic;
|
110
|
+
}
|
111
|
+
|
112
|
+
.na,
|
113
|
+
.nc,
|
114
|
+
.nf,
|
115
|
+
.fm {
|
116
|
+
color: $colorSeven;
|
117
|
+
}
|
118
|
+
|
119
|
+
.k,
|
120
|
+
.o,
|
121
|
+
.cp,
|
122
|
+
.kc,
|
123
|
+
.kn,
|
124
|
+
.kp,
|
125
|
+
.kr,
|
126
|
+
.nt,
|
127
|
+
.ow {
|
128
|
+
color: $colorOne;
|
129
|
+
}
|
130
|
+
|
131
|
+
.m,
|
132
|
+
.mb,
|
133
|
+
.mf,
|
134
|
+
.mh,
|
135
|
+
.mi,
|
136
|
+
.mo,
|
137
|
+
.il {
|
138
|
+
color: $colorFive;
|
139
|
+
}
|
140
|
+
|
141
|
+
.gd {
|
142
|
+
color: $colorTwo;
|
143
|
+
}
|
144
|
+
}
|
data/_sass/_forms.scss
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
// Forms
|
2
|
+
form {
|
3
|
+
max-width: 100%;
|
4
|
+
}
|
5
|
+
input[type="text"],
|
6
|
+
input[type="email"],
|
7
|
+
input[type="number"],
|
8
|
+
input[type="tel"],
|
9
|
+
input[type="password"],
|
10
|
+
input[type="search"],
|
11
|
+
textarea {
|
12
|
+
max-width: 100%;
|
13
|
+
height: $gutter;
|
14
|
+
line-height: ($gutter - $borderWeight*2);
|
15
|
+
padding: 0 $gutter/2;
|
16
|
+
font-size: 1.125rem;
|
17
|
+
border: $borderWeight $borderStyle $colorTwo;
|
18
|
+
border-radius: $borderRadius;
|
19
|
+
-webkit-appearance: none;
|
20
|
+
@media only screen and (max-width: $s) {
|
21
|
+
width: 100%;
|
22
|
+
clear: both;
|
23
|
+
margin-bottom: $gutter/3;
|
24
|
+
}
|
25
|
+
&.error {
|
26
|
+
border-color: $colorThree;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
textarea {
|
30
|
+
height: initial;
|
31
|
+
line-height: $lineHeight;
|
32
|
+
padding: $gutter/2;
|
33
|
+
font-family: inherit; // for Firefox
|
34
|
+
}
|
35
|
+
label {
|
36
|
+
line-height: inherit;
|
37
|
+
}
|
38
|
+
button, .button,
|
39
|
+
input[type="button"],
|
40
|
+
input[type="submit"],
|
41
|
+
input[type="reset"],
|
42
|
+
select {
|
43
|
+
max-width: 100%;
|
44
|
+
height: $gutter;
|
45
|
+
line-height: ($gutter - $borderWeight*2);
|
46
|
+
padding: 0 $gutter/1.5;
|
47
|
+
font-size: 1.125rem;
|
48
|
+
color: lighten($colorOne, 25%);
|
49
|
+
background-color: $colorOne;
|
50
|
+
border: $borderWeight $borderStyle $colorOne;
|
51
|
+
border-radius: $borderRadius;
|
52
|
+
-webkit-appearance: none;
|
53
|
+
-moz-appearance: none;
|
54
|
+
@include transition();
|
55
|
+
option {
|
56
|
+
// for Firefox
|
57
|
+
background-color: $colorBackground;
|
58
|
+
border: 0;
|
59
|
+
display: block;
|
60
|
+
color: $colorText;
|
61
|
+
}
|
62
|
+
&:hover {
|
63
|
+
background-color: darken($colorOne, 5%);
|
64
|
+
border-color: darken($colorOne, 5%);
|
65
|
+
color: lighten($colorOne, 35%);
|
66
|
+
cursor: pointer;
|
67
|
+
}
|
68
|
+
&.alternate {
|
69
|
+
color: lighten($colorTwo, 25%);
|
70
|
+
background-color: $colorTwo;
|
71
|
+
border: $borderWeight $borderStyle $colorTwo;
|
72
|
+
&:hover {
|
73
|
+
background-color: darken($colorTwo, 5%);
|
74
|
+
border-color: darken($colorTwo, 5%);
|
75
|
+
color: lighten($colorTwo, 35%);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
&:disabled, &.disabled {
|
79
|
+
cursor: default;
|
80
|
+
background-color: lighten($colorTwo, 30%);
|
81
|
+
border-color: lighten($colorTwo, 30%);
|
82
|
+
color: lighten($colorTwo, 0%);
|
83
|
+
&:hover {
|
84
|
+
@extend .disabled
|
85
|
+
}
|
86
|
+
}
|
87
|
+
@include s() {
|
88
|
+
width: 100%;
|
89
|
+
clear: both;
|
90
|
+
margin-bottom: $gutter/3;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
a.button {
|
94
|
+
display: inline-block;
|
95
|
+
text-decoration: none;
|
96
|
+
}
|
97
|
+
.select-wrapper {
|
98
|
+
display: inline-block;
|
99
|
+
position: relative;
|
100
|
+
@media only screen and (max-width: $s) {
|
101
|
+
width: 100%;
|
102
|
+
clear: both;
|
103
|
+
margin-bottom: $gutter/3;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
.errors, .note {
|
107
|
+
padding: $gutter/3.5;
|
108
|
+
margin: $gutter/2 auto;
|
109
|
+
color: lighten($colorThree, 50%);
|
110
|
+
background-color: $colorThree;
|
111
|
+
border: $borderWeight $borderStyle $colorThree;
|
112
|
+
border-radius: $borderRadius;
|
113
|
+
li {
|
114
|
+
margin-bottom: $gutter/3;
|
115
|
+
&:last-of-type {
|
116
|
+
margin-bottom: 0;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
a {
|
120
|
+
color: lighten($colorThree, 50%);
|
121
|
+
}
|
122
|
+
}
|
data/_sass/_grid.scss
ADDED
File without changes
|
data/_sass/_helpers.scss
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
// Helpers
|
2
|
+
|
3
|
+
.left {
|
4
|
+
text-align: left;
|
5
|
+
}
|
6
|
+
.center {
|
7
|
+
text-align: center;
|
8
|
+
margin-left: auto;
|
9
|
+
margin-right: auto;
|
10
|
+
}
|
11
|
+
.right {
|
12
|
+
text-align: right;
|
13
|
+
}
|
14
|
+
.wide {
|
15
|
+
width: 100%;
|
16
|
+
}
|
17
|
+
.hidden {
|
18
|
+
display: none;
|
19
|
+
}
|
20
|
+
.inline {
|
21
|
+
list-style: none;
|
22
|
+
display: inline-block;
|
23
|
+
li {
|
24
|
+
display: inline-block;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
.clearfix {
|
28
|
+
@include clearfix();
|
29
|
+
}
|
data/_sass/_icons.scss
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
@mixin icon {
|
2
|
+
vertical-align: middle;
|
3
|
+
display: inline-block;
|
4
|
+
line-height: 1%; // Makes inline SVGs behave more like text characters
|
5
|
+
svg {
|
6
|
+
// vertical-align: middle;
|
7
|
+
overflow: visible;
|
8
|
+
fill: none;
|
9
|
+
stroke: none;
|
10
|
+
.fill {
|
11
|
+
fill: $colorOne;
|
12
|
+
}
|
13
|
+
.stroke {
|
14
|
+
stroke: $colorOne;
|
15
|
+
stroke-width: $borderWeight;
|
16
|
+
stroke-linecap: $iconLinecap;
|
17
|
+
stroke-miterlimit: 10;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.icon-block & {
|
21
|
+
display: block !important;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.icon {
|
26
|
+
@include icon();
|
27
|
+
}
|
28
|
+
.icon-small .icon {
|
29
|
+
@include icon();
|
30
|
+
svg {
|
31
|
+
height: $baseIconSize/2;
|
32
|
+
width: $baseIconSize/2;
|
33
|
+
.stroke {
|
34
|
+
stroke-width: $borderWeight*2;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
.icon-large .icon {
|
39
|
+
@include icon();
|
40
|
+
svg {
|
41
|
+
height: $baseIconSize*2;
|
42
|
+
width: $baseIconSize*2;
|
43
|
+
.stroke {
|
44
|
+
stroke-width: $borderWeight/2;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
data/_sass/_reset.scss
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
/*==============================================================================
|
2
|
+
___ _ _ _
|
3
|
+
/ || | | | | |
|
4
|
+
\__ | | | | | | __
|
5
|
+
/ |/ |/_) |/ / \_/\/
|
6
|
+
\___/|__/| \_/|__/\__/ /\_/
|
7
|
+
|\
|
8
|
+
|/
|
9
|
+
Concrete Jekyll v1.0.0
|
10
|
+
https://github.com/Elkfox/concrete-jekyll
|
11
|
+
Copyright (c) 2017 Elkfox Co Pty Ltd
|
12
|
+
https://elkfox.com
|
13
|
+
Project lead: George Butter - https://github.com/butsandcats
|
14
|
+
MIT License
|
15
|
+
==============================================================================*/
|
16
|
+
|
17
|
+
|
18
|
+
/* Global ====================================================================*/
|
19
|
+
|
20
|
+
html {
|
21
|
+
height: 100%
|
22
|
+
}
|
23
|
+
|
24
|
+
body {
|
25
|
+
height: 100%;
|
26
|
+
color: $colorText;
|
27
|
+
background-color: $colorDarkGray;
|
28
|
+
font: 16px/21px sans-serif;
|
29
|
+
-webkit-font-smoothing: antialiased;
|
30
|
+
}
|
31
|
+
|
32
|
+
img {
|
33
|
+
max-width: 100%;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Reset =====================================================================*/
|
37
|
+
|
38
|
+
html, body, div, span, applet, object, iframe,
|
39
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
40
|
+
a, abbr, acronym, address, big, cite, code,
|
41
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
42
|
+
small, strike, strong, sub, sup, tt, var,
|
43
|
+
b, u, i, center,
|
44
|
+
dl, dt, dd, ol, ul, li,
|
45
|
+
fieldset, form, label, legend,
|
46
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
47
|
+
article, aside, canvas, details, embed,
|
48
|
+
figure, figcaption, footer, header, hgroup,
|
49
|
+
menu, nav, output, ruby, section, summary,
|
50
|
+
time, mark, audio, video {
|
51
|
+
margin: 0;
|
52
|
+
padding: 0;
|
53
|
+
border: 0;
|
54
|
+
font-size: 100%;
|
55
|
+
font: inherit;
|
56
|
+
vertical-align: baseline;
|
57
|
+
outline: none;
|
58
|
+
}
|
59
|
+
article, aside, details, figcaption, figure,
|
60
|
+
footer, header, hgroup, nav, nav, section, main {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
body {
|
64
|
+
line-height: 1;
|
65
|
+
}
|
66
|
+
ol, ul {
|
67
|
+
list-style: none;
|
68
|
+
}
|
69
|
+
blockquote, q {
|
70
|
+
quotes: none;
|
71
|
+
font-size: 1.6em;
|
72
|
+
font-weight: 600;
|
73
|
+
line-height: 1.5;
|
74
|
+
}
|
75
|
+
blockquote:before, blockquote:after,
|
76
|
+
q:before, q:after {
|
77
|
+
content: '';
|
78
|
+
content: none;
|
79
|
+
}
|
80
|
+
table {
|
81
|
+
border-collapse: collapse;
|
82
|
+
border-spacing: 0;
|
83
|
+
}
|
84
|
+
form, input, textarea, label, fieldset, legend, select, optgroup, option, button
|
85
|
+
{
|
86
|
+
background-image: none;
|
87
|
+
background-color: transparent;
|
88
|
+
-webkit-box-shadow: none;
|
89
|
+
-moz-box-shadow: none;
|
90
|
+
box-shadow: none;
|
91
|
+
// line-height: inherit; TBC
|
92
|
+
line-height: 1; // TBC
|
93
|
+
display: inline-block;
|
94
|
+
vertical-align: middle;
|
95
|
+
border: 0;
|
96
|
+
outline: none;
|
97
|
+
color: inherit;
|
98
|
+
}
|
99
|
+
*,
|
100
|
+
*:after,
|
101
|
+
*:before {
|
102
|
+
margin: 0;
|
103
|
+
padding: 0;
|
104
|
+
-webkit-box-sizing: border-box;
|
105
|
+
-moz-box-sizing: border-box;
|
106
|
+
box-sizing: border-box;
|
107
|
+
-webkit-font-smoothing: antialiased;
|
108
|
+
-moz-osx-font-smoothing: grayscale;
|
109
|
+
-webkit-backface-visibility: hidden;
|
110
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
body {
|
2
|
+
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
|
3
|
+
line-height: $lineHeight;
|
4
|
+
letter-spacing: 0.33px;
|
5
|
+
}
|
6
|
+
|
7
|
+
h1, h2, h3, h4, h5, h6,
|
8
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
9
|
+
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
|
10
|
+
line-height: $lineHeight;
|
11
|
+
display: block;
|
12
|
+
margin-bottom: $gutter/4;
|
13
|
+
a {
|
14
|
+
text-decoration: none;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
h1, .h1 {
|
18
|
+
font-size: 4rem;
|
19
|
+
font-weight: $fontBold;
|
20
|
+
letter-spacing: 0.5px
|
21
|
+
}
|
22
|
+
h2, .h2 {
|
23
|
+
font-size: 2.31rem;
|
24
|
+
font-weight: $fontLight;
|
25
|
+
letter-spacing: 0.5px
|
26
|
+
}
|
27
|
+
h3, .h3 {
|
28
|
+
font-size: 2rem;
|
29
|
+
}
|
30
|
+
h4, .h4 { font-size: 1.5rem; }
|
31
|
+
h5, .h5 { font-size: 1.2rem; }
|
32
|
+
h6, .h6 { font-size: 1.1rem; }
|
33
|
+
|
34
|
+
p {
|
35
|
+
font-size: 1rem;
|
36
|
+
font-weight: $fontRegular;
|
37
|
+
line-height: $lineHeight;
|
38
|
+
margin-bottom: 1.4rem;
|
39
|
+
}
|
40
|
+
|
41
|
+
a {
|
42
|
+
color: $colorOne;
|
43
|
+
cursor: pointer;
|
44
|
+
@include transition();
|
45
|
+
&:hover, &:focus {
|
46
|
+
color: darken($colorOne, 5%);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
hr {
|
51
|
+
border: 0;
|
52
|
+
border-top: $borderWeight $borderStyle $colorText;
|
53
|
+
margin: $gutter/1.5 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
strong, b {
|
57
|
+
font-weight: $fontBold;
|
58
|
+
}
|
59
|
+
|
60
|
+
small {
|
61
|
+
font-size: 0.8rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
i {
|
65
|
+
font-style: italic;
|
66
|
+
}
|
67
|
+
|
68
|
+
.rte {
|
69
|
+
h2 {
|
70
|
+
margin-top: $gutter;
|
71
|
+
}
|
72
|
+
ul, ol {
|
73
|
+
list-style: initial;
|
74
|
+
list-style-position: inside;
|
75
|
+
margin-bottom: $gutter/2;
|
76
|
+
li {
|
77
|
+
list-style: inherit;
|
78
|
+
list-style-position: inherit;
|
79
|
+
font-weight: $fontLight;
|
80
|
+
font-size: 1.15rem;
|
81
|
+
line-height: 2;
|
82
|
+
margin-bottom: $gutter/3;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
ol {
|
86
|
+
list-style-type: decimal;
|
87
|
+
}
|
88
|
+
}
|
data/assets/main.scss
ADDED
@@ -0,0 +1,211 @@
|
|
1
|
+
---
|
2
|
+
# this ensures Jekyll reads the file to be transformed into CSS later
|
3
|
+
# only Main files contain this front matter, not partials.
|
4
|
+
---
|
5
|
+
|
6
|
+
// Variables ===================================================================
|
7
|
+
|
8
|
+
// Palette
|
9
|
+
$colorWhite: #fbfbfb;
|
10
|
+
$colorLightGray: #f8f8f2;
|
11
|
+
$colorGray: #44475a;
|
12
|
+
$colorDarkGray: #282a36;
|
13
|
+
$colorPink: #FF79C6;
|
14
|
+
$colorPurple: #bd93f9;
|
15
|
+
$colorCyan: #64D9EF;
|
16
|
+
$colorBlue: #6272a4;
|
17
|
+
$colorYellow: #F1FA8C;
|
18
|
+
$colorGreen: #50fa7b;
|
19
|
+
$colorOrange: #ffb86c;
|
20
|
+
$colorRed: #ff5555;
|
21
|
+
|
22
|
+
// Variables in use
|
23
|
+
$colorOne: $colorRed;
|
24
|
+
$colorTwo: $colorBlue;
|
25
|
+
$colorThree: $colorGreen;
|
26
|
+
$colorFour: $colorOrange;
|
27
|
+
$colorFive: $colorPurple;
|
28
|
+
$colorSix: $colorCyan;
|
29
|
+
$colorSeven: $colorYellow;
|
30
|
+
$colorEight: $colorPink;
|
31
|
+
|
32
|
+
$colorText: $colorDarkGray;
|
33
|
+
$colorBackground: $colorWhite;
|
34
|
+
$colorForeground: $colorLightGray;
|
35
|
+
|
36
|
+
// Typography
|
37
|
+
$fontLight: 300;
|
38
|
+
$fontRegular: 400;
|
39
|
+
$fontBold: 600;
|
40
|
+
$lineHeight: 1.75;
|
41
|
+
|
42
|
+
// Space & Borders
|
43
|
+
$gutter: 50px;
|
44
|
+
$borderRadius: 2px;
|
45
|
+
$borderWeight: 2px;
|
46
|
+
$borderStyle: solid;
|
47
|
+
|
48
|
+
// Screen Sizes
|
49
|
+
$s: 650px;
|
50
|
+
$m: 850px;
|
51
|
+
$l: 1050px;
|
52
|
+
$xl: 1450px;
|
53
|
+
|
54
|
+
// Miscellaneous
|
55
|
+
$transition: all .3s ease-out;
|
56
|
+
|
57
|
+
// Icons
|
58
|
+
$baseIconSize: 32px;
|
59
|
+
$iconLinecap: square;
|
60
|
+
|
61
|
+
// Mixins ======================================================================
|
62
|
+
|
63
|
+
// Prefixer (See https://github.com/thoughtbot/bourbon/blob/master/app/assets/stylesheets/addons/_prefixer.scss)
|
64
|
+
@mixin prefixer($property, $value, $prefixes) {
|
65
|
+
@each $prefix in $prefixes {
|
66
|
+
@if $prefix == webkit {
|
67
|
+
-webkit-#{$property}: $value;
|
68
|
+
} @else if $prefix == moz {
|
69
|
+
-moz-#{$property}: $value;
|
70
|
+
} @else if $prefix == ms {
|
71
|
+
-ms-#{$property}: $value;
|
72
|
+
} @else if $prefix == o {
|
73
|
+
-o-#{$property}: $value;
|
74
|
+
} @else if $prefix == spec {
|
75
|
+
#{$property}: $value;
|
76
|
+
} @else {
|
77
|
+
@warn "Unrecognized prefix: #{$prefix}";
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
// Clearfix
|
83
|
+
@mixin clearfix() {
|
84
|
+
display: block; // TBC - is this OK? Seems to help
|
85
|
+
&:after {
|
86
|
+
content: '';
|
87
|
+
display: table;
|
88
|
+
clear: both;
|
89
|
+
}
|
90
|
+
*zoom: 1;
|
91
|
+
}
|
92
|
+
|
93
|
+
// Verically Align
|
94
|
+
@mixin vertical-align() {
|
95
|
+
position: relative;
|
96
|
+
top: 50%;
|
97
|
+
-webkit-transform: perspective(1px) translateY(-50%);
|
98
|
+
-ms-transform: perspective(1px) translateY(-50%);
|
99
|
+
transform: perspective(1px) translateY(-50%);
|
100
|
+
}
|
101
|
+
|
102
|
+
// Transition Property (for legacy support)
|
103
|
+
@mixin transition-property() {
|
104
|
+
-webkit-transition-property: -webkit-transform;
|
105
|
+
-moz-transition-property: -moz-transform;
|
106
|
+
transition-property: transform;
|
107
|
+
}
|
108
|
+
|
109
|
+
// Transitions
|
110
|
+
@mixin transition() {
|
111
|
+
@include prefixer(transition, $transition, webkit moz ms spec);
|
112
|
+
}
|
113
|
+
|
114
|
+
// Overlays
|
115
|
+
@mixin overlay() {
|
116
|
+
top: 0;
|
117
|
+
left: 0;
|
118
|
+
right: 0;
|
119
|
+
bottom: 0;
|
120
|
+
width: 100%;
|
121
|
+
height: 100%;
|
122
|
+
}
|
123
|
+
|
124
|
+
// Flex
|
125
|
+
@mixin flex() {
|
126
|
+
display: -webkit-box;
|
127
|
+
display: -moz-box;
|
128
|
+
display: -ms-flexbox;
|
129
|
+
display: -webkit-box;
|
130
|
+
display: -webkit-flexbox;
|
131
|
+
display: -webkit-flex;
|
132
|
+
display: flex;
|
133
|
+
}
|
134
|
+
@mixin box-orient--vertical() {
|
135
|
+
@include prefixer(box-orient, vertical, webkit moz spec);
|
136
|
+
}
|
137
|
+
@mixin flex-direction($flex-direction) {
|
138
|
+
@include prefixer(flex-direction, $flex-direction, webkit moz ms spec);
|
139
|
+
}
|
140
|
+
|
141
|
+
// Screen Sizes & Types
|
142
|
+
@mixin s() {
|
143
|
+
@media (max-width: $s) {
|
144
|
+
@content;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
@mixin m() {
|
148
|
+
@media (min-width: $s) and (max-width: $l - 1px) {
|
149
|
+
@content;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
@mixin l() {
|
153
|
+
@media (min-width: $l) and (max-width: $xl - 1px) {
|
154
|
+
@content;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
@mixin xl() {
|
158
|
+
@media (min-width: $xl) {
|
159
|
+
@content;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
// Table Grids
|
164
|
+
@mixin table() {
|
165
|
+
display: table;
|
166
|
+
table-layout: fixed;
|
167
|
+
width: 100%;
|
168
|
+
margin: 0 0 $gutter;
|
169
|
+
.column {
|
170
|
+
float: none;
|
171
|
+
display: table-cell;
|
172
|
+
vertical-align: middle;
|
173
|
+
&.middle {
|
174
|
+
vertical-align: middle;
|
175
|
+
}
|
176
|
+
&.top {
|
177
|
+
vertical-align: top;
|
178
|
+
}
|
179
|
+
&.bottom {
|
180
|
+
vertical-align: bottom;
|
181
|
+
}
|
182
|
+
&:first-of-type {
|
183
|
+
padding-left: 0;
|
184
|
+
}
|
185
|
+
&:last-of-type {
|
186
|
+
padding-right: 0;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
// Reverse Grids
|
192
|
+
@mixin reverse() {
|
193
|
+
direction: rtl;
|
194
|
+
.column {
|
195
|
+
direction: ltr;
|
196
|
+
float: right;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
// Imports =====================================================================
|
201
|
+
|
202
|
+
@import "grid";
|
203
|
+
@import "reset";
|
204
|
+
@import "helpers";
|
205
|
+
@import "typography";
|
206
|
+
@import "forms";
|
207
|
+
@import "code";
|
208
|
+
@import "icons";
|
209
|
+
// Add your additional css to the additions file if you wish to update easily
|
210
|
+
// later.
|
211
|
+
@import "additions";
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concrete-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Butter
|
@@ -38,12 +38,29 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.12'
|
41
|
-
description:
|
41
|
+
description: Stock Jekyll theme.
|
42
42
|
email: me@georgebutter.com
|
43
43
|
executables: []
|
44
44
|
extensions: []
|
45
45
|
extra_rdoc_files: []
|
46
|
-
files:
|
46
|
+
files:
|
47
|
+
- LICENSE.txt
|
48
|
+
- README.md
|
49
|
+
- _includes/footer.html
|
50
|
+
- _includes/head.html
|
51
|
+
- _includes/header.html
|
52
|
+
- _includes/icon.html
|
53
|
+
- _includes/main.html
|
54
|
+
- _layouts/home.html
|
55
|
+
- _sass/_additions.scss
|
56
|
+
- _sass/_code.scss
|
57
|
+
- _sass/_forms.scss
|
58
|
+
- _sass/_grid.scss
|
59
|
+
- _sass/_helpers.scss
|
60
|
+
- _sass/_icons.scss
|
61
|
+
- _sass/_reset.scss
|
62
|
+
- _sass/_typography.scss
|
63
|
+
- assets/main.scss
|
47
64
|
homepage: http://rubygems.org/gems/concrete-jekyll
|
48
65
|
licenses:
|
49
66
|
- MIT
|
@@ -68,5 +85,5 @@ rubyforge_project:
|
|
68
85
|
rubygems_version: 2.6.8
|
69
86
|
signing_key:
|
70
87
|
specification_version: 4
|
71
|
-
summary: A Jekyll theme built on the
|
88
|
+
summary: A Jekyll theme built on the Concrete framework.
|
72
89
|
test_files: []
|