oscailte 3.0.1 → 3.0.2

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.
Files changed (57) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +21 -21
  3. data/README.md +170 -175
  4. data/_includes/comments.html +20 -20
  5. data/_includes/footer.html +10 -10
  6. data/_includes/google-analytics.html +10 -10
  7. data/_includes/head.html +16 -12
  8. data/_includes/header.html +17 -17
  9. data/_includes/hero.html +16 -16
  10. data/_includes/icon.html +4 -2
  11. data/_includes/navigation.html +17 -17
  12. data/_includes/social.html +16 -16
  13. data/_includes/strings.html +8 -8
  14. data/_layouts/core.html +27 -27
  15. data/_layouts/default.html +6 -6
  16. data/_layouts/home.html +43 -43
  17. data/_layouts/page.html +4 -4
  18. data/_layouts/post.html +37 -37
  19. data/_sass/_oscailte.scss +146 -146
  20. data/_sass/oscailte/components/_button.scss +10 -10
  21. data/_sass/oscailte/components/_card.scss +18 -18
  22. data/_sass/oscailte/components/_footer.scss +21 -21
  23. data/_sass/oscailte/components/_header.scss +50 -50
  24. data/_sass/oscailte/components/_hero.scss +84 -84
  25. data/_sass/oscailte/components/_icon.scss +6 -6
  26. data/_sass/oscailte/components/_navigation.scss +31 -31
  27. data/_sass/oscailte/components/_recentposts.scss +58 -58
  28. data/_sass/oscailte/components/_skipnav.scss +10 -10
  29. data/_sass/oscailte/components/_social.scss +54 -54
  30. data/_sass/oscailte/components/_syntax.scss +72 -72
  31. data/_sass/oscailte/elements/_blockquote.scss +5 -5
  32. data/_sass/oscailte/elements/_body.scss +6 -6
  33. data/_sass/oscailte/elements/_code.scss +18 -18
  34. data/_sass/oscailte/elements/_headings.scss +14 -14
  35. data/_sass/oscailte/elements/_hr.scss +3 -3
  36. data/_sass/oscailte/elements/_html.scss +9 -9
  37. data/_sass/oscailte/elements/_img.scss +2 -2
  38. data/_sass/oscailte/elements/_links.scss +3 -3
  39. data/_sass/oscailte/generic/_font-face.scss +62 -62
  40. data/_sass/oscailte/generic/_lobotomised-owl.scss +2 -2
  41. data/_sass/oscailte/generic/_modern-normalize.scss +273 -273
  42. data/_sass/oscailte/layout/_container.scss +4 -4
  43. data/_sass/oscailte/layout/_post.scss +13 -13
  44. data/_sass/oscailte/layout/_stickyfooter.scss +10 -10
  45. data/_sass/oscailte/objects/_circuited.scss +5 -5
  46. data/_sass/oscailte/objects/_lists.scss +10 -10
  47. data/_sass/oscailte/objects/_muted.scss +2 -2
  48. data/_sass/oscailte/objects/_no-owl.scss +3 -3
  49. data/_sass/oscailte/tools/_functions.scss +26 -26
  50. data/_sass/oscailte/tools/_mixins.scss +28 -28
  51. data/assets/css/main.scss +4 -4
  52. data/assets/oscailte/fonts/lato-v16-latin-regular.svg +435 -435
  53. data/assets/oscailte/fonts/merriweather-v21-latin-700.svg +375 -375
  54. data/assets/oscailte/fonts/merriweather-v21-latin-italic.svg +390 -390
  55. data/assets/oscailte/fonts/merriweather-v21-latin-regular.svg +374 -374
  56. data/assets/oscailte/img/icons.svg +62 -62
  57. metadata +24 -19
data/_sass/_oscailte.scss CHANGED
@@ -1,147 +1,147 @@
1
- // Tools
2
- @import "oscailte/tools/functions.scss";
3
- @import "oscailte/tools/mixins.scss";
4
-
5
- $typography-config: (
6
- 'small': (
7
- 'base': (100%, 1.42),
8
- 'h1': (2em, 1.25),
9
- 'h2': (1.625em, 1.15384615),
10
- 'h3': (1.375em, 1.13636364),
11
- 'h4': (1.125em, 1.11),
12
- 'h5': (1.075em, 1.11),
13
- 'h6': (.925em, 1.11)
14
- ),
15
- 'medium': (
16
- 'base': (125%, 1.5),
17
- ),
18
- 'large': (
19
- 'base': (150%, 1.62),
20
- ),
21
- );
22
-
23
- $social-map: (
24
- 'dribbble': #EA4C89,
25
- 'facebook': #4172B8,
26
- 'flickr': #0063DC,
27
- 'github': #181717,
28
- 'instagram': #E4405F,
29
- 'keybase': #33A0FF,
30
- 'linkedin': #0077B5,
31
- 'pinterest': #BD081C,
32
- 'telegram': #2CA5E0,
33
- 'twitter': #1DA1F2,
34
- 'rss': #FFA500,
35
- );
36
-
37
-
38
- @include generate-typography-properties($typography-config);
39
-
40
- :root {
41
- --theme-background: #f5f6fa;
42
- --theme-color: #282828;
43
-
44
- /**
45
- * Root properties, typically colour declarations, but contains other things too.
46
- */
47
- --color-primary: #00a6ed;
48
- --color-secondary: #bf1ca9;
49
- --color-positive: #5ad42f;
50
- --color-negative: #d4372f;
51
- --site-container-width: 90%;
52
- --site-content-max-width: 81.25em;
53
- --site-owl-spacing: 1rem;
54
- --site-clip: polygon(
55
- calc(100% - var(--clip-notch)) 0,
56
- 100% var(--clip-notch),
57
- 100% 100%,
58
- var(--clip-notch) 100%,
59
- 0 calc(100% - var(--clip-notch)),
60
- 0 0
61
- );
62
-
63
- /**
64
- * Base typography settings.
65
- * Other typography settings will inherit/extend upon these.
66
- */
67
- --typography-body-family: "Merriweather", serif;
68
- --typography-heading-family: "Lato", serif;
69
- --typography-link-text-shadow-color: var(--theme-background);
70
-
71
- /**
72
- * General shared properties.
73
- */
74
- --box-shadow: 0 0 7px rgba(0, 0, 0, 0.05);
75
- --box-shadow_hover: 0 0 15px rgba(0, 0, 0, 0.15);
76
-
77
- /**
78
- * Component declarations
79
- */
80
- --hero-matrix-url: #{url("/assets/oscailte/img/hero_matrix.png")};
81
-
82
- --clip-notch: 10%;
83
- }
84
-
85
- // @media (prefers-color-scheme: dark) {
86
- // :root {
87
- // --theme-background: #282828;
88
- // --theme-color: #e5e5e5;
89
- // --header-background: var(--theme-background);
90
- // --header-link-color: var(--theme-color);
91
- // --post-preview-background: rgba(255, 255, 255, 0.035);
92
- // }
93
- // }
94
-
95
-
96
- @include breakpoint("medium") {
97
- .Site:not(.Site--home) .Site__main {
98
- --site-container-width: 75%;
99
- }
100
- }
101
- @include breakpoint("large") {
102
- .Site:not(.Site--home) .Site__main {
103
- --site-container-width: auto;
104
- --site-content-max-width: 60rem
105
- }
106
- }
107
-
108
-
109
- // Generic
110
- @import "oscailte/generic/font-face.scss";
111
- @import "oscailte/generic/modern-normalize.scss";
112
- @import "oscailte/generic/lobotomised-owl.scss";
113
-
114
- // Elements
115
- @import "oscailte/elements/html.scss";
116
- @import "oscailte/elements/body.scss";
117
- @import "oscailte/elements/blockquote.scss";
118
- @import "oscailte/elements/code.scss";
119
- @import "oscailte/elements/headings.scss";
120
- @import "oscailte/elements/hr.scss";
121
- @import "oscailte/elements/img.scss";
122
- @import "oscailte/elements/links.scss";
123
-
124
- // Objects
125
- @import "oscailte/objects/circuited.scss";
126
- @import "oscailte/objects/lists.scss";
127
- @import "oscailte/objects/muted.scss";
128
- @import "oscailte/objects/no-owl.scss";
129
-
130
- // Components
131
- @import "oscailte/components/button.scss";
132
- @import "oscailte/components/card.scss";
133
- @import "oscailte/components/footer.scss";
134
- @import "oscailte/components/header.scss";
135
- @import "oscailte/components/hero.scss";
136
- @import "oscailte/components/icon.scss";
137
- @import "oscailte/components/navigation.scss";
138
- @import "oscailte/components/recentposts.scss";
139
- @import "oscailte/components/skipnav.scss";
140
- @import "oscailte/components/social.scss";
141
- @import "oscailte/components/syntax.scss";
142
-
143
- // Layout
144
- @import "oscailte/layout/stickyfooter.scss";
145
- @import "oscailte/layout/container.scss";
146
- @import "oscailte/layout/home.scss";
1
+ // Tools
2
+ @import "oscailte/tools/functions.scss";
3
+ @import "oscailte/tools/mixins.scss";
4
+
5
+ $typography-config: (
6
+ 'small': (
7
+ 'base': (100%, 1.42),
8
+ 'h1': (2em, 1.25),
9
+ 'h2': (1.625em, 1.15384615),
10
+ 'h3': (1.375em, 1.13636364),
11
+ 'h4': (1.125em, 1.11),
12
+ 'h5': (1.075em, 1.11),
13
+ 'h6': (.925em, 1.11)
14
+ ),
15
+ 'medium': (
16
+ 'base': (125%, 1.5),
17
+ ),
18
+ 'large': (
19
+ 'base': (150%, 1.62),
20
+ ),
21
+ );
22
+
23
+ $social-map: (
24
+ 'dribbble': #EA4C89,
25
+ 'facebook': #4172B8,
26
+ 'flickr': #0063DC,
27
+ 'github': #181717,
28
+ 'instagram': #E4405F,
29
+ 'keybase': #33A0FF,
30
+ 'linkedin': #0077B5,
31
+ 'pinterest': #BD081C,
32
+ 'telegram': #2CA5E0,
33
+ 'twitter': #1DA1F2,
34
+ 'rss': #FFA500,
35
+ );
36
+
37
+
38
+ @include generate-typography-properties($typography-config);
39
+
40
+ :root {
41
+ --theme-background: #f5f6fa;
42
+ --theme-color: #282828;
43
+
44
+ /**
45
+ * Root properties, typically colour declarations, but contains other things too.
46
+ */
47
+ --color-primary: #00a6ed;
48
+ --color-secondary: #bf1ca9;
49
+ --color-positive: #5ad42f;
50
+ --color-negative: #d4372f;
51
+ --site-container-width: 90%;
52
+ --site-content-max-width: 81.25em;
53
+ --site-owl-spacing: 1rem;
54
+ --site-clip: polygon(
55
+ calc(100% - var(--clip-notch)) 0,
56
+ 100% var(--clip-notch),
57
+ 100% 100%,
58
+ var(--clip-notch) 100%,
59
+ 0 calc(100% - var(--clip-notch)),
60
+ 0 0
61
+ );
62
+
63
+ /**
64
+ * Base typography settings.
65
+ * Other typography settings will inherit/extend upon these.
66
+ */
67
+ --typography-body-family: "Merriweather", serif;
68
+ --typography-heading-family: "Lato", serif;
69
+ --typography-link-text-shadow-color: var(--theme-background);
70
+
71
+ /**
72
+ * General shared properties.
73
+ */
74
+ --box-shadow: 0 0 7px rgba(0, 0, 0, 0.05);
75
+ --box-shadow_hover: 0 0 15px rgba(0, 0, 0, 0.15);
76
+
77
+ /**
78
+ * Component declarations
79
+ */
80
+ --hero-matrix-url: #{url("/assets/oscailte/img/hero_matrix.png")};
81
+
82
+ --clip-notch: 10%;
83
+ }
84
+
85
+ // @media (prefers-color-scheme: dark) {
86
+ // :root {
87
+ // --theme-background: #282828;
88
+ // --theme-color: #e5e5e5;
89
+ // --header-background: var(--theme-background);
90
+ // --header-link-color: var(--theme-color);
91
+ // --post-preview-background: rgba(255, 255, 255, 0.035);
92
+ // }
93
+ // }
94
+
95
+
96
+ @include breakpoint("medium") {
97
+ .Site:not(.Site--home) .Site__main {
98
+ --site-container-width: 75%;
99
+ }
100
+ }
101
+ @include breakpoint("large") {
102
+ .Site:not(.Site--home) .Site__main {
103
+ --site-container-width: auto;
104
+ --site-content-max-width: 60rem
105
+ }
106
+ }
107
+
108
+
109
+ // Generic
110
+ @import "oscailte/generic/font-face.scss";
111
+ @import "oscailte/generic/modern-normalize.scss";
112
+ @import "oscailte/generic/lobotomised-owl.scss";
113
+
114
+ // Elements
115
+ @import "oscailte/elements/html.scss";
116
+ @import "oscailte/elements/body.scss";
117
+ @import "oscailte/elements/blockquote.scss";
118
+ @import "oscailte/elements/code.scss";
119
+ @import "oscailte/elements/headings.scss";
120
+ @import "oscailte/elements/hr.scss";
121
+ @import "oscailte/elements/img.scss";
122
+ @import "oscailte/elements/links.scss";
123
+
124
+ // Objects
125
+ @import "oscailte/objects/circuited.scss";
126
+ @import "oscailte/objects/lists.scss";
127
+ @import "oscailte/objects/muted.scss";
128
+ @import "oscailte/objects/no-owl.scss";
129
+
130
+ // Components
131
+ @import "oscailte/components/button.scss";
132
+ @import "oscailte/components/card.scss";
133
+ @import "oscailte/components/footer.scss";
134
+ @import "oscailte/components/header.scss";
135
+ @import "oscailte/components/hero.scss";
136
+ @import "oscailte/components/icon.scss";
137
+ @import "oscailte/components/navigation.scss";
138
+ @import "oscailte/components/recentposts.scss";
139
+ @import "oscailte/components/skipnav.scss";
140
+ @import "oscailte/components/social.scss";
141
+ @import "oscailte/components/syntax.scss";
142
+
143
+ // Layout
144
+ @import "oscailte/layout/stickyfooter.scss";
145
+ @import "oscailte/layout/container.scss";
146
+ @import "oscailte/layout/home.scss";
147
147
  @import "oscailte/layout/post.scss";
@@ -1,11 +1,11 @@
1
- .Button {
2
- background-color: var(--color-primary);
3
- border-radius: 4px;
4
- box-shadow: inset 0px -3px 0 rgba(#000, .2);
5
- color: #fff;
6
- display: inline-block;
7
- padding: .5em .75em;
8
- text-align: center;
9
- text-decoration: none;
10
- text-shadow: 1px 1px 0 rgba(#000, .1);
1
+ .Button {
2
+ background-color: var(--color-primary);
3
+ border-radius: 4px;
4
+ box-shadow: inset 0px -3px 0 rgba(#000, .2);
5
+ color: #fff;
6
+ display: inline-block;
7
+ padding: .5em .75em;
8
+ text-align: center;
9
+ text-decoration: none;
10
+ text-shadow: 1px 1px 0 rgba(#000, .1);
11
11
  }
@@ -1,19 +1,19 @@
1
- .Card {
2
- background: #fff;
3
- border-radius: 3px;
4
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
5
- padding: 1rem;
6
-
7
- &__title {
8
- font-size: 1em;
9
- margin: 0;
10
- }
11
-
12
- &__meta {
13
- color: #666;
14
-
15
- .Icon {
16
- margin-right: 5px;
17
- }
18
- }
1
+ .Card {
2
+ background: #fff;
3
+ border-radius: 3px;
4
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
5
+ padding: 1rem;
6
+
7
+ &__title {
8
+ font-size: 1em;
9
+ margin: 0;
10
+ }
11
+
12
+ &__meta {
13
+ color: #666;
14
+
15
+ .Icon {
16
+ margin-right: 5px;
17
+ }
18
+ }
19
19
  }
@@ -1,22 +1,22 @@
1
- .Site__footer {
2
- background-color: #222;
3
- color: #aaa;
4
- padding: calc(var(--site-owl-spacing) * 2) 0;
5
- text-align: center;
6
- text-shadow: 1px 1px 0 #000;
7
-
8
- br,
9
- p {
10
- margin: 0;
11
- }
12
- }
13
-
14
- @include breakpoint("medium") {
15
- .Site__footer .Container {
16
- display: flex;
17
- justify-content: space-between;
18
- }
19
- .Site__footer {
20
- text-align: left;
21
- }
1
+ .Site__footer {
2
+ background-color: #222;
3
+ color: #aaa;
4
+ padding: calc(var(--site-owl-spacing) * 2) 0;
5
+ text-align: center;
6
+ text-shadow: 1px 1px 0 #000;
7
+
8
+ br,
9
+ p {
10
+ margin: 0;
11
+ }
12
+ }
13
+
14
+ @include breakpoint("medium") {
15
+ .Site__footer .Container {
16
+ display: flex;
17
+ justify-content: space-between;
18
+ }
19
+ .Site__footer {
20
+ text-align: left;
21
+ }
22
22
  }
@@ -1,51 +1,51 @@
1
- .Header {
2
- background-color: var(--header-background, #fff);
3
- border-top: 5px solid var(--color-primary);
4
- box-shadow: var(--box-shadow);
5
- margin: 0;
6
- padding: 1em 0;
7
-
8
- .Container {
9
- display: flex;
10
- flex-direction: column;
11
- justify-content: space-between;
12
- }
13
-
14
- a {
15
- color: var(--header-link-color, var(--color-primary));
16
- }
17
-
18
- &__title {
19
- line-height: 1;
20
- margin: 0;
21
- text-align: center;
22
- text-shadow: 1px 1px 0 rgba(#000, .1);
23
-
24
- a {
25
- display: flex;
26
- flex-direction: column;
27
- text-decoration: none;
28
- }
29
- }
30
-
31
- &__subtitle {
32
- font-size: .55em;
33
- }
34
- }
35
-
36
- @include breakpoint("medium") {
37
- .Header {
38
- .Container {
39
- flex-direction: row;
40
- }
41
-
42
- &__title {
43
- text-align: left;
44
- }
45
-
46
-
47
- &__subtitle {
48
- margin-top: 0;
49
- }
50
- }
1
+ .Header {
2
+ background-color: var(--header-background, #fff);
3
+ border-top: 5px solid var(--color-primary);
4
+ box-shadow: var(--box-shadow);
5
+ margin: 0;
6
+ padding: 1em 0;
7
+
8
+ .Container {
9
+ display: flex;
10
+ flex-direction: column;
11
+ justify-content: space-between;
12
+ }
13
+
14
+ a {
15
+ color: var(--header-link-color, var(--color-primary));
16
+ }
17
+
18
+ &__title {
19
+ line-height: 1;
20
+ margin: 0;
21
+ text-align: center;
22
+ text-shadow: 1px 1px 0 rgba(#000, .1);
23
+
24
+ a {
25
+ display: flex;
26
+ flex-direction: column;
27
+ text-decoration: none;
28
+ }
29
+ }
30
+
31
+ &__subtitle {
32
+ font-size: .55em;
33
+ }
34
+ }
35
+
36
+ @include breakpoint("medium") {
37
+ .Header {
38
+ .Container {
39
+ flex-direction: row;
40
+ }
41
+
42
+ &__title {
43
+ text-align: left;
44
+ }
45
+
46
+
47
+ &__subtitle {
48
+ margin-top: 0;
49
+ }
50
+ }
51
51
  }