noir-for-jekyll 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/_sass/_layout.scss CHANGED
@@ -1,15 +1,15 @@
1
- // Layout
2
- //
3
- // Styles for managing the structural hierarchy of the site.
4
-
5
- .container {
6
- max-width: 38rem;
7
- padding-left: 1.5rem;
8
- padding-right: 1.5rem;
9
- margin-left: auto;
10
- margin-right: auto;
11
- }
12
-
13
- footer {
14
- margin-bottom: 2rem;
15
- }
1
+ // Layout
2
+ //
3
+ // Styles for managing the structural hierarchy of the site.
4
+
5
+ .container {
6
+ max-width: 38rem;
7
+ padding-left: 1.5rem;
8
+ padding-right: 1.5rem;
9
+ margin-left: auto;
10
+ margin-right: auto;
11
+ }
12
+
13
+ footer {
14
+ margin-bottom: 2rem;
15
+ }
data/_sass/_masthead.scss CHANGED
@@ -1,29 +1,29 @@
1
- // Masthead
2
- //
3
- // Super small header above the content for site name and short description.
4
-
5
- .masthead {
6
- padding-top: 1rem;
7
- padding-bottom: 1rem;
8
- margin-bottom: 3rem;
9
- }
10
-
11
- .masthead-title {
12
- margin-top: 0;
13
- margin-bottom: 0;
14
- color: $gray-6;
15
-
16
- @media (prefers-color-scheme: light) {
17
- color: #515151;
18
- }
19
-
20
- a {
21
- color: inherit;
22
- }
23
-
24
- small {
25
- font-size: 75%;
26
- font-weight: 400;
27
- opacity: .5;
28
- }
29
- }
1
+ // Masthead
2
+ //
3
+ // Super small header above the content for site name and short description.
4
+
5
+ .masthead {
6
+ padding-top: 1rem;
7
+ padding-bottom: 1rem;
8
+ margin-bottom: 3rem;
9
+ }
10
+
11
+ .masthead-title {
12
+ margin-top: 0;
13
+ margin-bottom: 0;
14
+ color: $gray-4;
15
+
16
+ @media (prefers-color-scheme: dark) {
17
+ color: $gray-6;
18
+ }
19
+
20
+ a {
21
+ color: inherit;
22
+ }
23
+
24
+ small {
25
+ font-size: 75%;
26
+ font-weight: 400;
27
+ opacity: .5;
28
+ }
29
+ }
data/_sass/_message.scss CHANGED
@@ -1,61 +1,65 @@
1
- // Messages
2
- //
3
- // Show alert messages to users. You may add it to single elements like a `<p>`,
4
- // or to a parent if there are multiple elements to show.
5
-
6
- .message {
7
- margin-bottom: 1rem;
8
- padding: 1rem;
9
- color: #717171;
10
- background-color: #f9f9f9;
11
-
12
- @media (prefers-color-scheme: dark) {
13
- color: #bababa;
14
- background-color: #1e1e1e;
15
- }
16
- }
17
-
18
- .danger {
19
- margin-bottom: 15px;
20
- padding: 12px;
21
- color: #fff;
22
- background-color: $danger;
23
- }
24
-
25
- .success {
26
- margin-bottom: 15px;
27
- padding: 12px;
28
- color: #fff;
29
- background-color: $success;
30
- }
31
-
32
- .info {
33
- margin-bottom: 15px;
34
- padding: 12px;
35
- color: #fff;
36
- background-color: $info;
37
- }
38
-
39
- .warning {
40
- margin-bottom: 15px;
41
- padding: 12px;
42
- color: #fff;
43
- background-color: $warning;
44
- }
45
-
46
- /* The close button */
47
- .closebtn {
48
- margin-left: 15px;
49
- color: white;
50
- font-weight: bold;
51
- float: right;
52
- font-size: 22px;
53
- line-height: 27px;
54
- cursor: pointer;
55
- transition: 0.3s;
56
- }
57
-
58
- /* When moving the mouse over the close button */
59
- .closebtn:hover {
60
- color: black;
61
- }
1
+ // Messages
2
+ //
3
+ // Show alert messages to users. You may add it to single elements like a `<p>`,
4
+ // or to a parent if there are multiple elements to show.
5
+
6
+ .message {
7
+ margin-bottom: 1rem;
8
+ padding: 1rem;
9
+ color: #717171;
10
+ background-color: #f9f9f9;
11
+
12
+ @media (prefers-color-scheme: dark) {
13
+ color: #bababa;
14
+ background-color: #1e1e1e;
15
+ }
16
+ }
17
+
18
+ .danger {
19
+ margin-bottom: 15px;
20
+ padding: 12px;
21
+ color: #fff;
22
+ background-color: $danger;
23
+ border-left: .3rem solid #e31b0c;
24
+ }
25
+
26
+ .success {
27
+ margin-bottom: 15px;
28
+ padding: 12px;
29
+ color: #fff;
30
+ background-color: $success;
31
+ border-left: .3rem solid #2e6b31;
32
+ }
33
+
34
+ .info {
35
+ margin-bottom: 15px;
36
+ padding: 12px;
37
+ color: #fff;
38
+ background-color: $info;
39
+ border-left: .3rem solid #0a6dbc;
40
+ }
41
+
42
+ .warning {
43
+ margin-bottom: 15px;
44
+ padding: 12px;
45
+ color: #fff;
46
+ background-color: $warning;
47
+ border-left: .3rem solid #c47500;
48
+ }
49
+
50
+ /* The close button */
51
+ .closebtn {
52
+ margin-left: 15px;
53
+ color: white;
54
+ font-weight: bold;
55
+ float: right;
56
+ font-size: 22px;
57
+ line-height: 27px;
58
+ cursor: pointer;
59
+ transition: 0.3s;
60
+ }
61
+
62
+ /* When moving the mouse over the close button */
63
+ .closebtn:hover {
64
+ color: black;
65
+ }
@@ -1,59 +1,59 @@
1
- // Pagination
2
- //
3
- // Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
4
- // there are no more previous or next posts to show.
5
-
6
- .pagination {
7
- overflow: hidden; // clearfix
8
- margin: 0 -1.5rem 1rem;
9
- color: #ccc;
10
- text-align: center;
11
- }
12
-
13
- // Pagination items can be `span`s or `a`s
14
- .pagination-item {
15
- display: block;
16
- padding: 1rem;
17
- border: solid #eee;
18
- border-width: 1px 0;
19
-
20
- @media (prefers-color-scheme: dark) {
21
- border: solid #111111;
22
- }
23
-
24
- &:first-child {
25
- margin-bottom: -1px;
26
- }
27
- }
28
-
29
- // Only provide a hover state for linked pagination items
30
- a.pagination-item:hover {
31
- background-color: #f5f5f5;
32
-
33
- @media (prefers-color-scheme: dark) {
34
- background-color: #060606;
35
- }
36
- }
37
-
38
- @media (min-width: 30em) {
39
- .pagination {
40
- margin: 3rem 0;
41
- }
42
-
43
- .pagination-item {
44
- float: left;
45
- width: 50%;
46
- border-width: 1px;
47
-
48
- &:first-child {
49
- margin-bottom: 0;
50
- border-top-left-radius: 4px;
51
- border-bottom-left-radius: 4px;
52
- }
53
- &:last-child {
54
- margin-left: -1px;
55
- border-top-right-radius: 4px;
56
- border-bottom-right-radius: 4px;
57
- }
58
- }
59
- }
1
+ // Pagination
2
+ //
3
+ // Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
4
+ // there are no more previous or next posts to show.
5
+
6
+ .pagination {
7
+ overflow: hidden; // clearfix
8
+ margin: 0 -1.5rem 1rem;
9
+ color: #ccc;
10
+ text-align: center;
11
+ }
12
+
13
+ // Pagination items can be `span`s or `a`s
14
+ .pagination-item {
15
+ display: block;
16
+ padding: 1rem;
17
+ border: solid #eee;
18
+ border-width: 1px 0;
19
+
20
+ @media (prefers-color-scheme: dark) {
21
+ border: solid #111111;
22
+ }
23
+
24
+ &:first-child {
25
+ margin-bottom: -1px;
26
+ }
27
+ }
28
+
29
+ // Only provide a hover state for linked pagination items
30
+ a.pagination-item:hover {
31
+ background-color: #f5f5f5;
32
+
33
+ @media (prefers-color-scheme: dark) {
34
+ background-color: #060606;
35
+ }
36
+ }
37
+
38
+ @media (min-width: 30em) {
39
+ .pagination {
40
+ margin: 3rem 0;
41
+ }
42
+
43
+ .pagination-item {
44
+ float: left;
45
+ width: 50%;
46
+ border-width: 1px;
47
+
48
+ &:first-child {
49
+ margin-bottom: 0;
50
+ border-top-left-radius: 4px;
51
+ border-bottom-left-radius: 4px;
52
+ }
53
+ &:last-child {
54
+ margin-left: -1px;
55
+ border-top-right-radius: 4px;
56
+ border-bottom-right-radius: 4px;
57
+ }
58
+ }
59
+ }
data/_sass/_posts.scss CHANGED
@@ -1,80 +1,80 @@
1
- // Posts and pages
2
- //
3
- // Each post is wrapped in `.post` and is used on default and post layouts. Each
4
- // page is wrapped in `.page` and is only used on the page layout.
5
-
6
- .page,
7
- .post {
8
- margin-bottom: 4em;
9
-
10
- li + li {
11
- margin-top: .25rem;
12
- }
13
- }
14
-
15
- // Blog post or page title
16
- .page-title,
17
- .post-title,
18
- .post-title a {
19
- color: $gray-7;
20
-
21
- @media (prefers-color-scheme: dark) {
22
- color: $gray-8;
23
- }
24
- }
25
-
26
- .page-title,
27
- .post-title {
28
- margin-top: 0;
29
- }
30
-
31
- // Meta data line below post title
32
- .post-date {
33
- display: block;
34
- margin-top: -.5rem;
35
- margin-bottom: 1rem;
36
- color: $gray-9;
37
-
38
- @media (prefers-color-scheme: dark) {
39
- color: $gray-10;
40
- }
41
- }
42
-
43
- // Related posts
44
- .related {
45
- padding-top: 2rem;
46
- padding-bottom: 2rem;
47
- margin-bottom: 2rem;
48
- border-top: 1px solid #eee;
49
- border-bottom: 1px solid #eee;
50
-
51
- @media (prefers-color-scheme: dark) {
52
- border-top: 1px solid #8e8e8e;
53
- border-bottom: 1px solid #8e8e8e;
54
- }
55
- }
56
-
57
- .related-posts {
58
- padding-left: 0;
59
- list-style: none;
60
-
61
- h3 {
62
- margin-top: 0;
63
- }
64
-
65
- li {
66
- small {
67
- font-size: 75%;
68
- color: #999;
69
- }
70
-
71
- a:hover {
72
- color: $green;
73
- text-decoration: none;
74
-
75
- small {
76
- color: inherit;
77
- }
78
- }
79
- }
80
- }
1
+ // Posts and pages
2
+ //
3
+ // Each post is wrapped in `.post` and is used on default and post layouts. Each
4
+ // page is wrapped in `.page` and is only used on the page layout.
5
+
6
+ .page,
7
+ .post {
8
+ margin-bottom: 4em;
9
+
10
+ li + li {
11
+ margin-top: .25rem;
12
+ }
13
+ }
14
+
15
+ // Blog post or page title
16
+ .page-title,
17
+ .post-title,
18
+ .post-title a {
19
+ color: $gray-7;
20
+
21
+ @media (prefers-color-scheme: dark) {
22
+ color: $gray-8;
23
+ }
24
+ }
25
+
26
+ .page-title,
27
+ .post-title {
28
+ margin-top: 0;
29
+ }
30
+
31
+ // Meta data line below post title
32
+ .post-date {
33
+ display: block;
34
+ margin-top: -.5rem;
35
+ margin-bottom: 1rem;
36
+ color: $gray-9;
37
+
38
+ @media (prefers-color-scheme: dark) {
39
+ color: $gray-10;
40
+ }
41
+ }
42
+
43
+ // Related posts
44
+ .related {
45
+ padding-top: 2rem;
46
+ padding-bottom: 2rem;
47
+ margin-bottom: 2rem;
48
+ border-top: 1px solid #eee;
49
+ border-bottom: 1px solid #eee;
50
+
51
+ @media (prefers-color-scheme: dark) {
52
+ border-top: 1px solid #8e8e8e;
53
+ border-bottom: 1px solid #8e8e8e;
54
+ }
55
+ }
56
+
57
+ .related-posts {
58
+ padding-left: 0;
59
+ list-style: none;
60
+
61
+ h3 {
62
+ margin-top: 0;
63
+ }
64
+
65
+ li {
66
+ small {
67
+ font-size: 75%;
68
+ color: #999;
69
+ }
70
+
71
+ a:hover {
72
+ color: $green;
73
+ text-decoration: none;
74
+
75
+ small {
76
+ color: inherit;
77
+ }
78
+ }
79
+ }
80
+ }