alna-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/author.html +22 -0
  5. data/_includes/book-details.html +45 -0
  6. data/_includes/book.html +31 -0
  7. data/_includes/bookcase.html +25 -0
  8. data/_includes/date.html +22 -0
  9. data/_includes/disqus-comments.html +17 -0
  10. data/_includes/google-analytics.html +8 -0
  11. data/_includes/head.html +55 -0
  12. data/_includes/notebook.html +31 -0
  13. data/_includes/page-foot.html +27 -0
  14. data/_includes/page-head.html +10 -0
  15. data/_includes/portfolio.html +23 -0
  16. data/_includes/post-head.html +16 -0
  17. data/_includes/project.html +25 -0
  18. data/_includes/rating.html +30 -0
  19. data/_includes/see-more.html +9 -0
  20. data/_includes/site-nav.html +22 -0
  21. data/_includes/social-media.html +6 -0
  22. data/_layouts/default.html +28 -0
  23. data/_layouts/page.html +16 -0
  24. data/_layouts/post.html +26 -0
  25. data/_sass/components/_components.author.scss +35 -0
  26. data/_sass/components/_components.book-details.scss +46 -0
  27. data/_sass/components/_components.book.scss +43 -0
  28. data/_sass/components/_components.bookcase.scss +24 -0
  29. data/_sass/components/_components.buttons.scss +129 -0
  30. data/_sass/components/_components.date.scss +8 -0
  31. data/_sass/components/_components.icons.scss +80 -0
  32. data/_sass/components/_components.notebook.scss +30 -0
  33. data/_sass/components/_components.page-content.scss +25 -0
  34. data/_sass/components/_components.page-foot.scss +36 -0
  35. data/_sass/components/_components.page-head.scss +9 -0
  36. data/_sass/components/_components.portfolio.scss +19 -0
  37. data/_sass/components/_components.post-head.scss +9 -0
  38. data/_sass/components/_components.post.scss +33 -0
  39. data/_sass/components/_components.project.scss +24 -0
  40. data/_sass/components/_components.rating.scss +7 -0
  41. data/_sass/components/_components.see-more.scss +7 -0
  42. data/_sass/components/_components.site-nav.scss +45 -0
  43. data/_sass/components/_components.social-media.scss +12 -0
  44. data/_sass/elements/_elements.descriptions.scss +23 -0
  45. data/_sass/elements/_elements.headings.scss +8 -0
  46. data/_sass/elements/_elements.links.scss +14 -0
  47. data/_sass/elements/_elements.page.scss +20 -0
  48. data/_sass/main.scss +197 -0
  49. data/_sass/settings/_settings.colors.scss +174 -0
  50. data/_sass/settings/_settings.global.scss +20 -0
  51. data/_sass/tools/_tools.aliases.scss +18 -0
  52. data/assets/css/main.css +2 -0
  53. data/assets/fonts/icomoon.eot +0 -0
  54. data/assets/fonts/icomoon.svg +20 -0
  55. data/assets/fonts/icomoon.ttf +0 -0
  56. data/assets/fonts/icomoon.woff +0 -0
  57. metadata +141 -0
@@ -0,0 +1,46 @@
1
+ /* ==========================================================================
2
+ #BOOK-DETAILS
3
+ ========================================================================== */
4
+
5
+ .c-book-details {
6
+ background: $color-book-details-background;
7
+ padding: $unit;
8
+ margin-bottom: $unit-large;
9
+ border-left: 4px solid $color-book-details-border;
10
+
11
+ small {
12
+ display: block;
13
+ }
14
+ }
15
+
16
+
17
+ .c-book-details__cover {
18
+ @include mq($until: tablet) {
19
+ display: block;
20
+ float: none;
21
+ margin: 0 auto $unit;
22
+ }
23
+
24
+ img {
25
+ max-height: 180px;
26
+ }
27
+ }
28
+
29
+
30
+ .c-book-details__title {
31
+ margin-bottom: 0;
32
+ }
33
+
34
+
35
+ .c-book-details__details {
36
+ @include font-size(14px, false);
37
+ }
38
+
39
+
40
+ .c-book-details__descriptions {
41
+ margin-bottom: 0;
42
+
43
+ @include mq($until: tablet) {
44
+ display: none;
45
+ }
46
+ }
@@ -0,0 +1,43 @@
1
+ /* ==========================================================================
2
+ #BOOK
3
+ ========================================================================== */
4
+
5
+ .c-book {
6
+ text-align: center;
7
+ }
8
+
9
+
10
+ .c-book__link {
11
+ color: $color-book;
12
+ display: block;
13
+ padding: $unit-small;
14
+
15
+ &:hover,
16
+ &:focus {
17
+ color: $color-book;
18
+ background: $color-book-background;
19
+ }
20
+ }
21
+
22
+
23
+ .c-book__cover {
24
+ box-sizing: content-box;
25
+ margin-bottom: $unit-small;
26
+ max-height: 200px;
27
+
28
+ img {
29
+ max-height: inherit;
30
+ }
31
+ }
32
+
33
+
34
+ .c-book__headline {
35
+ color: $color-book-headline;
36
+ margin: $unit-tiny 0;
37
+ }
38
+
39
+
40
+ .c-book__excerpt {
41
+ @include font-size(16px, false);
42
+ margin-bottom: 0;
43
+ }
@@ -0,0 +1,24 @@
1
+ /* ==========================================================================
2
+ #BOOKCASE
3
+ ========================================================================== */
4
+
5
+ .c-bookcase {
6
+ padding: $unit-large 0;
7
+ border-bottom: 1px solid $color-bookcase-border;
8
+ }
9
+
10
+
11
+ .c-bookcase__headline {
12
+ text-align: center;
13
+ margin-bottom: $unit-large;
14
+ }
15
+
16
+
17
+ .c-bookcase__list {
18
+ margin-bottom: $unit;
19
+ }
20
+
21
+
22
+ .c-bookcase__item {
23
+ margin-bottom: $unit;
24
+ }
@@ -0,0 +1,129 @@
1
+ /* ==========================================================================
2
+ #BUTTONS
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * 1. Allow us to style box model properties.
7
+ * 2. Line different sized buttons up a little nicer.
8
+ * 3. Reset/normalize some styles.
9
+ * 4. Force all button-styled elements to appear clickable.
10
+ */
11
+
12
+ .c-btn {
13
+ @include font-size(18px, 2.2);
14
+ display: inline-block; /* [1] */
15
+ vertical-align: middle; /* [2] */
16
+ text-align: center; /* [3] */
17
+ margin: 0; /* [3] */
18
+ cursor: pointer; /* [4] */
19
+ padding: 0 $unit;
20
+ transition: $global-transition;
21
+ border-radius: $global-radius;
22
+ font-weight: $semi-bold;
23
+
24
+ }
25
+
26
+
27
+
28
+
29
+
30
+ /* Style variants
31
+ ========================================================================== */
32
+
33
+ .c-btn--primary {
34
+ background-color: $color-btn-primary-background;
35
+
36
+ &,
37
+ &:hover,
38
+ &:active,
39
+ &:focus {
40
+ text-decoration: none; /* [3] */
41
+ color: $color-btn-primary;
42
+ }
43
+
44
+ &:hover,
45
+ &:focus {
46
+ background-color: $color-btn-primary-hover;
47
+ }
48
+
49
+ }
50
+
51
+ .c-btn--secondary {
52
+ background-color: $color-btn-secondary-background;
53
+
54
+ &,
55
+ &:hover,
56
+ &:active,
57
+ &:focus {
58
+ text-decoration: none; /* [3] */
59
+ color: $color-btn-secondary;
60
+ }
61
+
62
+ &:hover,
63
+ &:focus {
64
+ background-color: $color-btn-secondary-hover;
65
+ }
66
+
67
+ }
68
+
69
+
70
+
71
+
72
+
73
+ /* Size variants
74
+ ========================================================================== */
75
+
76
+ .c-btn--small {
77
+ @include font-size(16px, 1.8);
78
+ padding: 0 $unit-small;
79
+ }
80
+
81
+ .c-btn--large {
82
+ @include font-size(20px, 2.6);
83
+ padding: 0 $unit-large;
84
+ }
85
+
86
+
87
+
88
+
89
+
90
+ /* Ghost buttons
91
+ ========================================================================== */
92
+
93
+ /**
94
+ * Ghost buttons have see-through backgrounds and are bordered.
95
+ */
96
+
97
+ $btn-ghost-border-width: 1px;
98
+
99
+ .c-btn--ghost {
100
+ box-shadow: inset 0 0 0 $btn-ghost-border-width currentColor;
101
+
102
+ &,
103
+ &:hover,
104
+ &:active,
105
+ &:focus {
106
+ background: none;
107
+ }
108
+
109
+ &.c-btn--primary {
110
+ color: $color-btn-primary-background;
111
+
112
+ &:hover,
113
+ &:focus {
114
+ color: $color-btn-primary-hover;
115
+ }
116
+
117
+ }
118
+
119
+ &.c-btn--secondary {
120
+ color: $color-btn-secondary-background;
121
+
122
+ &:hover,
123
+ &:focus {
124
+ color: $color-btn-secondary-hover;
125
+ }
126
+
127
+ }
128
+
129
+ }
@@ -0,0 +1,8 @@
1
+ /* ==========================================================================
2
+ #DATE
3
+ ========================================================================== */
4
+
5
+ .c-date {
6
+ @include font-size(16px);
7
+ color: $color-date;
8
+ }
@@ -0,0 +1,80 @@
1
+ /* ==========================================================================
2
+ #ICONS
3
+ ========================================================================== */
4
+
5
+ @font-face {
6
+ font-family: 'icomoon';
7
+ src: url('../fonts/icomoon.eot?snldla');
8
+ src: url('../fonts/icomoon.eot?snldla#iefix') format('embedded-opentype'),
9
+ url('../fonts/icomoon.ttf?snldla') format('truetype'),
10
+ url('../fonts/icomoon.woff?snldla') format('woff'),
11
+ url('../fonts/icomoon.svg?snldla#icomoon') format('svg');
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ }
15
+
16
+
17
+
18
+
19
+
20
+ .c-icon {
21
+ /* use !important to prevent issues with browser extensions that change fonts */
22
+ font-family: 'icomoon' !important;
23
+ speak: none;
24
+ font-style: normal;
25
+ font-weight: normal;
26
+ font-variant: normal;
27
+ text-transform: none;
28
+ line-height: 1;
29
+
30
+ /* Better Font Rendering =========== */
31
+ -webkit-font-smoothing: antialiased;
32
+ -moz-osx-font-smoothing: grayscale;
33
+ }
34
+
35
+
36
+
37
+
38
+
39
+ /* Type variants
40
+ ========================================================================== */
41
+
42
+ .c-icon--facebook:before {
43
+ content: "\ea90";
44
+ }
45
+
46
+ .c-icon--instagram:before {
47
+ content: "\ea92";
48
+ }
49
+
50
+ .c-icon--twitter:before {
51
+ content: "\ea96";
52
+ }
53
+
54
+ .c-icon--youtube:before {
55
+ content: "\ea9d";
56
+ }
57
+
58
+ .c-icon--github:before {
59
+ content: "\eab0";
60
+ }
61
+
62
+ .c-icon--soundcloud:before {
63
+ content: "\eac3";
64
+ }
65
+
66
+ .c-icon--linkedin:before {
67
+ content: "\eaca";
68
+ }
69
+
70
+ .c-icon--envelop:before {
71
+ content: "\e945";
72
+ }
73
+
74
+ .c-icon--star-empty:before {
75
+ content: "\e9d7";
76
+ }
77
+
78
+ .c-icon--star-full:before {
79
+ content: "\e9d9";
80
+ }
@@ -0,0 +1,30 @@
1
+ /* ==========================================================================
2
+ #NOTEBOOK
3
+ ========================================================================== */
4
+
5
+ .c-notebook {
6
+ padding: $unit-large 0;
7
+ border-bottom: 1px solid $color-notebook-border;
8
+ }
9
+
10
+
11
+ .c-notebook__headline {
12
+ text-align: center;
13
+ margin-bottom: $unit-large;
14
+ }
15
+
16
+
17
+ .c-notebook__list {
18
+ padding-bottom: $unit;
19
+ margin-bottom: 0;
20
+ }
21
+
22
+
23
+ .c-notebook__item {
24
+ border-bottom: 1px solid $color-notebook-border;
25
+ margin-top: $unit;
26
+
27
+ &:last-child {
28
+ border-bottom: 0;
29
+ }
30
+ }
@@ -0,0 +1,25 @@
1
+ /* ==========================================================================
2
+ #PAGE-CONTENT
3
+ ========================================================================== */
4
+
5
+ .c-page-content {
6
+ padding: $unit-large 0;
7
+ border-bottom: 1px solid $color-page-content-border;
8
+
9
+ p {
10
+ line-height: 1.5;
11
+ }
12
+
13
+ h2 {
14
+ border-top: 1px solid $color-page-content-border;
15
+ margin: $unit-large 0 $unit-small;
16
+ padding: $unit 0;
17
+ text-align: center;
18
+ }
19
+ }
20
+
21
+
22
+ .c-page-content__headline {
23
+ text-align: center;
24
+ margin-bottom: $unit-large;
25
+ }
@@ -0,0 +1,36 @@
1
+ /* ==========================================================================
2
+ #DATE
3
+ ========================================================================== */
4
+
5
+ .c-page-foot {
6
+ @include font-size(14px, false);
7
+ color: $color-page-foot;
8
+ padding: $unit-large 0;
9
+ text-align: center;
10
+ }
11
+
12
+
13
+ .c-page-foot__about {
14
+ margin-bottom: $unit-small;
15
+
16
+ a {
17
+ border-bottom: 1px dotted currentColor;
18
+ color: $color-page-foot;
19
+ }
20
+ }
21
+
22
+
23
+ .c-page-foot__copyright {
24
+ font-weight: $semi-bold;
25
+ margin-bottom: 0;
26
+ }
27
+
28
+
29
+ .c-page-foot__list {
30
+ }
31
+
32
+
33
+ .c-page-foot__item {
34
+ @include font-size(24px, false);
35
+ padding: 0 $unit-small;
36
+ }
@@ -0,0 +1,9 @@
1
+ /* ==========================================================================
2
+ #PAGE-HEAD
3
+ ========================================================================== */
4
+
5
+ .c-page-head {
6
+ background: $color-page-head-background;
7
+ color: $color-page-head;
8
+ padding: $unit-large 0;
9
+ }
@@ -0,0 +1,19 @@
1
+ /* ==========================================================================
2
+ #PORTFOLIO
3
+ ========================================================================== */
4
+
5
+ .c-portfolio {
6
+ border-bottom: 1px solid $color-portfolio-border;
7
+ padding: $unit-large 0;
8
+ }
9
+
10
+
11
+ .c-portfolio__headline {
12
+ margin-bottom: $unit-large;
13
+ text-align: center;
14
+ }
15
+
16
+
17
+ .c-portfolio__list {
18
+ margin-bottom: 0;
19
+ }
@@ -0,0 +1,9 @@
1
+ /* ==========================================================================
2
+ #POST-HEAD
3
+ ========================================================================== */
4
+
5
+ .c-post-head {
6
+ h1 {
7
+ margin-bottom: $unit-large;
8
+ }
9
+ }
@@ -0,0 +1,33 @@
1
+ /* ==========================================================================
2
+ #POST
3
+ ========================================================================== */
4
+
5
+ .c-post {
6
+ padding: $unit-large 0;
7
+ border-bottom: 1px solid $color-post-border;
8
+
9
+ p {
10
+ line-height: 1.5;
11
+ }
12
+
13
+ h2 {
14
+ border-top: 1px solid $color-post-border;
15
+ margin: $unit-large 0 $unit-small;
16
+ padding: $unit 0;
17
+ }
18
+
19
+ a {
20
+ border-bottom: 1px dotted currentColor;
21
+ }
22
+ }
23
+
24
+
25
+ .c-post__content {
26
+ border-bottom: 1px solid $color-post-border;
27
+ margin-bottom: $unit-large;
28
+ padding-bottom: $unit-large;
29
+
30
+ p:last-child {
31
+ margin-bottom: 0;
32
+ }
33
+ }
@@ -0,0 +1,24 @@
1
+ /* ==========================================================================
2
+ #PROJECT
3
+ ========================================================================== */
4
+
5
+ .c-project {
6
+ margin-bottom: $unit;
7
+ }
8
+
9
+
10
+ .c-project__banner {
11
+ margin-bottom: $unit;
12
+ }
13
+
14
+
15
+ .c-project__headline {
16
+ margin-bottom: $unit-small;
17
+ text-align: center;
18
+ text-transform: uppercase;
19
+ }
20
+
21
+
22
+ .c-project__btn {
23
+ text-align: center;
24
+ }
@@ -0,0 +1,7 @@
1
+ /* ==========================================================================
2
+ #RATING
3
+ ========================================================================== */
4
+
5
+ .c-rating {
6
+ color: $color-rating;
7
+ }
@@ -0,0 +1,7 @@
1
+ /* ==========================================================================
2
+ #SEE-MORE
3
+ ========================================================================== */
4
+
5
+ .c-see-more {
6
+ text-align: center;
7
+ }
@@ -0,0 +1,45 @@
1
+ /* ==========================================================================
2
+ #SITE-NAV
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * The site-nav component simply displays a list of items in one line.
7
+ */
8
+
9
+ .c-site-nav {
10
+ background: $color-site-nav-background;
11
+ }
12
+
13
+
14
+ .c-site-nav__list {
15
+ margin-bottom: 0;
16
+ }
17
+
18
+
19
+ .c-site-nav__item {
20
+ text-align: center;
21
+
22
+ @include mq($until: tablet) {
23
+ display: block;
24
+ }
25
+ }
26
+
27
+
28
+ .c-site-nav__link {
29
+ @include font-size(16px, false);
30
+ color: $color-site-nav-link;
31
+ display: block;
32
+ letter-spacing: 3px;
33
+ padding: $unit 0;
34
+ text-transform: uppercase;
35
+
36
+ @include mq($until: tablet) {
37
+ padding: $unit-small 0;
38
+ }
39
+
40
+ &:hover,
41
+ &:focus {
42
+ background: $color-site-nav-link-background;
43
+ color: $color-site-nav-link;
44
+ }
45
+ }
@@ -0,0 +1,12 @@
1
+ /* ==========================================================================
2
+ #SITE-NAV
3
+ ========================================================================== */
4
+
5
+ .c-social-media {
6
+ color: $color-social-media;
7
+
8
+ &:hover,
9
+ &:focus {
10
+ color: $color-social-media-hover;
11
+ }
12
+ }
@@ -0,0 +1,23 @@
1
+ /* ==========================================================================
2
+ #DESCRIPTIONS
3
+ ========================================================================== */
4
+
5
+ dl {
6
+
7
+ }
8
+
9
+ dt {
10
+ font-weight: $semi-bold;
11
+ float: left;
12
+ clear: left;
13
+ width: $unit * 5;
14
+
15
+ &:after {
16
+ content: ":";
17
+ }
18
+ }
19
+
20
+ dd {
21
+ margin-left: $unit;
22
+ padding-left: $unit;
23
+ }
@@ -0,0 +1,8 @@
1
+ /* ==========================================================================
2
+ #HEADINGS
3
+ ========================================================================== */
4
+
5
+ h1, h2, h3, h4, h5, h6 {
6
+ font-family: $heading-font-family;
7
+ font-weight: $regular;
8
+ }
@@ -0,0 +1,14 @@
1
+ /* ==========================================================================
2
+ #LINKS
3
+ ========================================================================== */
4
+
5
+ a {
6
+ color: $color-links;
7
+ text-decoration: none;
8
+ transition: $global-transition;
9
+
10
+ &:hover,
11
+ &:focus {
12
+ color: $color-links-hover;
13
+ }
14
+ }
@@ -0,0 +1,20 @@
1
+ /* ==========================================================================
2
+ #PAGE
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * 1. Prevent certain mobile browsers from automatically zooming fonts.
7
+ * 2. Fonts on OSX will look more consistent with other systems that do not
8
+ * render text using sub-pixel anti-aliasing.
9
+ */
10
+
11
+ html {
12
+ color: $color-text;
13
+ font-family: $base-font-family;
14
+ font-weight: $regular;
15
+ letter-spacing: 0.5px;
16
+ -webkit-text-size-adjust: 100%; /* [1] */
17
+ -ms-text-size-adjust: 100%; /* [1] */
18
+ -moz-osx-font-smoothing: grayscale; /* [2] */
19
+ -webkit-font-smoothing: antialiased; /* [2] */
20
+ }