jekyll-taco 0.1.0

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.
@@ -0,0 +1,66 @@
1
+ // Typography
2
+ $base-font-family: 'Open Sans', sans-serif;
3
+ $heading-font-family: 'Questrial', sans-serif;
4
+
5
+ // Line height
6
+ $base-line-height: 1.5;
7
+ $heading-line-height: 1.2;
8
+
9
+ // Other Sizes
10
+ $base-border-radius: 3px;
11
+ $base-spacing: 1.5rem;
12
+ $small-spacing: $base-spacing / 2;
13
+ $base-z-index: 0;
14
+
15
+ // Colors
16
+ $blue: #1565c0;
17
+ $dark-gray: #333;
18
+ $medium-gray: #999;
19
+ $light-gray: #efefef;
20
+
21
+ // Font Colors
22
+ $base-font-color: $medium-gray;
23
+ $heading-color: $dark-gray;
24
+ $action-color: #00b771;
25
+ $hover-color: #003328;
26
+
27
+ // Borders
28
+ $base-border-color: $light-gray;
29
+ $base-border: 1px solid $base-border-color;
30
+ $bq-border: 5px solid $base-border-color;
31
+
32
+ // Background Colors
33
+ $base-background-color: #fff;
34
+ $secondary-background-color: tint($base-border-color, 75%);
35
+
36
+ // Padding
37
+ $padding: 1rem;
38
+ $margins: 1rem;
39
+ $content-padding: 60px 0;
40
+ $content-padding-mobile: 30px 0;
41
+
42
+ // Mobile Heading Font Size
43
+ $h1-mobile: 1.75rem;
44
+ $h2-mobile: 1.5rem;
45
+ $h3-mobile: 1.25rem;
46
+ $h4-mobile: 1.1rem;
47
+ $h5-mobile: 1rem;
48
+ $h6-mobile: 0.75rem;
49
+
50
+ // Heading Font Size
51
+ $h1: 2.25rem;
52
+ $h2: 2rem;
53
+ $h3: 1.75rem;
54
+ $h4: 1.5rem;
55
+ $h5: 1.25rem;
56
+ $h6: 1rem;
57
+
58
+ // Focus
59
+ $focus-outline-color: transparentize($action-color, 0.4);
60
+ $focus-outline-width: 3px;
61
+ $focus-outline: $focus-outline-width solid $focus-outline-color;
62
+ $focus-outline-offset: 2px;
63
+
64
+ // Animations
65
+ $base-duration: 0.5s;
66
+ $base-timing: ease;
Binary file
@@ -0,0 +1,45 @@
1
+ $_button-background-color: $action-color;
2
+ $_button-background-color-hover: $hover-color;
3
+
4
+ .button {
5
+ appearance: none;
6
+ background-color: $_button-background-color;
7
+ border: 0;
8
+ border-radius: $base-border-radius;
9
+ color: white;
10
+ cursor: pointer;
11
+ display: inline-block;
12
+ font-family: $base-font-family;
13
+ font-size: 14px;
14
+ text-transform: uppercase;
15
+ letter-spacing: 1px;
16
+ -webkit-font-smoothing: antialiased;
17
+ font-weight: 600;
18
+ line-height: 1;
19
+ padding: $small-spacing $base-spacing;
20
+ text-align: center;
21
+ text-decoration: none;
22
+ transition: background-color $base-duration $base-timing;
23
+ user-select: none;
24
+ vertical-align: middle;
25
+ white-space: nowrap;
26
+
27
+ &:hover {
28
+ background-color: $_button-background-color-hover;
29
+ color: white;
30
+ }
31
+
32
+ &:focus {
33
+ outline: $focus-outline;
34
+ outline-offset: $focus-outline-offset;
35
+ }
36
+
37
+ &:disabled {
38
+ cursor: not-allowed;
39
+ opacity: 0.5;
40
+
41
+ &:hover {
42
+ background-color: $_button-background-color;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,50 @@
1
+ // Homepage
2
+ .index-card {
3
+ display: flex;
4
+ flex-direction: column;
5
+ padding: $padding;
6
+ margin-bottom: 2em;
7
+ background: #f7f7f7;
8
+ }
9
+
10
+ .index-card__image {
11
+ margin-bottom: $margins;
12
+
13
+ &:hover {
14
+ transition-duration: 0.5s;
15
+ opacity: 0.6;
16
+ }
17
+ }
18
+
19
+ .index-card__content {
20
+ h4 {
21
+ margin-bottom: 0;
22
+ }
23
+ }
24
+
25
+ // Services
26
+ .services-card {
27
+ display: flex;
28
+ flex-direction: column;
29
+ padding: 2 * $padding;
30
+ margin-bottom: 2em;
31
+ text-align: center;
32
+ border: $base-border;
33
+ }
34
+
35
+ .services-card__i {
36
+ margin-bottom: 2 * $margins;
37
+ font-size: 42px;
38
+ color: $action-color;
39
+ }
40
+
41
+ .services-card__content {
42
+ flex: 1;
43
+ display: flex;
44
+ flex-direction: column;
45
+ justify-content: space-between;
46
+
47
+ p {
48
+ flex: 1;
49
+ }
50
+ }
@@ -0,0 +1,128 @@
1
+ $_form-box-shadow: inset 0 1px 3px rgba(#000, 0.06);
2
+ $_form-box-shadow-focus: $_form-box-shadow, 0 0 5px rgba($action-color, 0.7);
3
+
4
+ fieldset {
5
+ background-color: transparent;
6
+ border: 0;
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ legend {
12
+ font-weight: 600;
13
+ margin-bottom: $small-spacing / 2;
14
+ padding: 0;
15
+ }
16
+
17
+ label {
18
+ display: block;
19
+ font-weight: 600;
20
+ margin-bottom: $small-spacing / 2;
21
+ color: $dark-gray;
22
+ }
23
+
24
+ input,
25
+ select,
26
+ textarea {
27
+ display: block;
28
+ font-family: $base-font-family;
29
+ font-size: 16px;
30
+ }
31
+
32
+ [type="text"] {
33
+ appearance: none;
34
+ background-color: $base-background-color;
35
+ border: $base-border;
36
+ border-radius: $base-border-radius;
37
+ box-shadow: $_form-box-shadow;
38
+ box-sizing: border-box;
39
+ margin-bottom: $small-spacing;
40
+ padding: $base-spacing / 3;
41
+ transition: border-color $base-duration $base-timing;
42
+ width: 100%;
43
+
44
+ &:hover {
45
+ border-color: shade($base-border-color, 20%);
46
+ }
47
+
48
+ &:focus {
49
+ border-color: $action-color;
50
+ box-shadow: $_form-box-shadow-focus;
51
+ outline: none;
52
+ }
53
+
54
+ &:disabled {
55
+ background-color: shade($base-background-color, 5%);
56
+ cursor: not-allowed;
57
+
58
+ &:hover {
59
+ border: $base-border;
60
+ }
61
+ }
62
+
63
+ &::placeholder {
64
+ color: tint($base-font-color, 40%);
65
+ }
66
+ }
67
+
68
+ textarea {
69
+ resize: vertical;
70
+ }
71
+
72
+ [type="checkbox"],
73
+ [type="radio"] {
74
+ display: inline;
75
+ margin-right: $small-spacing / 2;
76
+ }
77
+
78
+ [type="file"] {
79
+ margin-bottom: $small-spacing;
80
+ width: 100%;
81
+ }
82
+
83
+ select {
84
+ margin-bottom: $small-spacing;
85
+ width: 100%;
86
+ }
87
+
88
+ [type="checkbox"],
89
+ [type="radio"],
90
+ [type="file"],
91
+ select {
92
+ &:focus {
93
+ outline: $focus-outline;
94
+ outline-offset: $focus-outline-offset;
95
+ }
96
+ }
97
+
98
+ .form-vertical {
99
+ display: flex;
100
+ flex-direction: column;
101
+ width: 100%;
102
+
103
+ input,
104
+ select,
105
+ textarea {
106
+ margin-bottom: 2 * $margins;
107
+ padding: 10px;
108
+ }
109
+
110
+ textarea {
111
+ height: 100px;
112
+ }
113
+
114
+ [type="submit"] {
115
+ margin-left: auto;
116
+ }
117
+
118
+ p {
119
+ text-align: right;
120
+ }
121
+ }
122
+
123
+ // Responsive Forms
124
+ @media screen and (min-width: 800px) {
125
+ .form-vertical {
126
+ width: 60%;
127
+ }
128
+ }
@@ -0,0 +1,17 @@
1
+ ul,
2
+ ol {
3
+ margin: 0;
4
+ }
5
+
6
+ dl {
7
+ margin: 0;
8
+ }
9
+
10
+ dt {
11
+ font-weight: 600;
12
+ margin: 0;
13
+ }
14
+
15
+ dd {
16
+ margin: 0;
17
+ }
@@ -0,0 +1,9 @@
1
+ figure {
2
+ margin: 0;
3
+ }
4
+
5
+ img,
6
+ picture {
7
+ margin: 0;
8
+ max-width: 100%;
9
+ }
@@ -0,0 +1,30 @@
1
+ table {
2
+ border-collapse: collapse;
3
+ margin: $base-spacing 0;
4
+ table-layout: fixed;
5
+ text-align: left;
6
+ width: 100%;
7
+ }
8
+
9
+ thead {
10
+ line-height: $heading-line-height;
11
+ vertical-align: bottom;
12
+ }
13
+
14
+ tbody {
15
+ vertical-align: top;
16
+ }
17
+
18
+ tr {
19
+ border-bottom: $base-border;
20
+ }
21
+
22
+ th {
23
+ font-weight: 600;
24
+ color: $dark-gray;
25
+ }
26
+
27
+ th,
28
+ td {
29
+ padding: $small-spacing $small-spacing $small-spacing 0;
30
+ }
@@ -0,0 +1,149 @@
1
+ html {
2
+ color: $base-font-color;
3
+ font-family: $base-font-family;
4
+ font-size: 100%;
5
+ line-height: $base-line-height;
6
+ }
7
+
8
+ h1,
9
+ h2,
10
+ h3,
11
+ h4,
12
+ h5,
13
+ h6 {
14
+ font-family: $heading-font-family;
15
+ font-weight: normal;
16
+ line-height: $heading-line-height;
17
+ margin: 0 0 $small-spacing;
18
+ color: $heading-color;
19
+ }
20
+
21
+ // Heading Font Sizes
22
+ h1 {
23
+ font-size: $h1-mobile;
24
+ }
25
+ h2 {
26
+ font-size: $h2-mobile;
27
+ }
28
+ h3 {
29
+ font-size: $h3-mobile;
30
+ }
31
+ h4 {
32
+ font-size: $h4-mobile;
33
+ }
34
+ h5 {
35
+ font-size: $h5-mobile;
36
+ }
37
+ h6 {
38
+ font-size: $h6-mobile;
39
+ }
40
+
41
+ // Responsive Headings
42
+ @media screen and (min-width: 500px) {
43
+ h1 {
44
+ font-size: $h1;
45
+ }
46
+ h2 {
47
+ font-size: $h2;
48
+ }
49
+ h3 {
50
+ font-size: $h3;
51
+ }
52
+ h4 {
53
+ font-size: $h4;
54
+ }
55
+ h5 {
56
+ font-size: $h5;
57
+ }
58
+ h6 {
59
+ font-size: $h6;
60
+ }
61
+ }
62
+
63
+ p {
64
+ margin: 0 0 $small-spacing;
65
+ }
66
+
67
+ // Links
68
+ a {
69
+ color: $action-color;
70
+ text-decoration-skip: ink;
71
+ transition: color $base-duration $base-timing;
72
+ text-decoration: none;
73
+
74
+ &:hover {
75
+ color: $hover-color;
76
+ }
77
+
78
+ &:focus {
79
+ outline: $focus-outline;
80
+ outline-offset: $focus-outline-offset;
81
+ }
82
+ }
83
+
84
+ // Horizontal Line
85
+ hr {
86
+ border-bottom: $base-border;
87
+ border-left: 0;
88
+ border-right: 0;
89
+ border-top: 0;
90
+ margin: $base-spacing 0;
91
+ }
92
+
93
+ // Blockquote
94
+ blockquote {
95
+ margin: 0 0 $margins 0;
96
+ padding: 0 1rem;
97
+ border-left: $bq-border;
98
+ font-size: 1.5rem;
99
+ cite {
100
+ display: block;
101
+ text-align: right;
102
+ font-size: 1rem;
103
+ }
104
+ }
105
+
106
+ // Navigation
107
+ .nav__item {
108
+ font-family: 'Questrial', sans-serif;
109
+ font-weight: 500;
110
+ letter-spacing: 1px;
111
+ }
112
+
113
+ // Mega title
114
+ .mega-title {
115
+ font-size: 3rem;
116
+ }
117
+
118
+ // Tagline
119
+ .tagline {
120
+ color: white;
121
+ }
122
+
123
+ @media screen and (min-width: 500px) {
124
+ .mega-title {
125
+ //font-size: 2.5rem;
126
+ }
127
+ }
128
+
129
+ @media screen and (min-width: 900px) {
130
+ .mega-title {
131
+ //font-size: 3rem;
132
+ }
133
+ }
134
+ // Home page
135
+ .intro {
136
+ font-size: $h2;
137
+ font-style: italic;
138
+ }
139
+
140
+ // Blog
141
+ .post-info {
142
+ font-size: 0.9rem;
143
+ font-weight: bold;
144
+ }
145
+
146
+ // Footer
147
+ footer {
148
+ font-size: 0.8rem;
149
+ }