dev-blog-theme 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66e956e46c64b3622b06e3dd759244f6a6f1a6fd6da413a5da2ca8e001ebdf45
4
- data.tar.gz: bc37e065c96d9fb9298d2bf750822090b3a38bb63de7e2bd801e38b50d823809
3
+ metadata.gz: a885c9cbe32cf0999186f6d2a90c47e3aa79dcac22be85fb89e6c6c41c4a0deb
4
+ data.tar.gz: 5e992aa69a59e9e9ed2215722517619e7f6134978ce292e0a8cb2ae5dd5728a9
5
5
  SHA512:
6
- metadata.gz: d70bc59668005f88cafff0b8f67bb6ed2e166783113e49997a5fd7e6e44d775890364caf347dd85b464fa1b0512bc75a98ccc5f2e69a3c95080e18217b9d8e7d
7
- data.tar.gz: 61906518a8739686785d08df85162aaaf598051a2f5334fe652b2bdf24ec9407f361a91a522c3fb30afef6c20bc7303a427b4560bbc2b7dd3d3ecaefd5a69c32
6
+ metadata.gz: b6c11c21b64dbeb850cb16660ed57d870e81e3b5616fc3c98e3f7f135599c5d2a571b41c4a93dd87f3aeea354875d2f0f990a8e3d4c2332c07f323b3cf2af67c
7
+ data.tar.gz: a571ab1673b0e043c1da4329b239f39e6d58f06417558b0896488f55a80bf9c1aaedcca83fab14b978dccb9ca5814c8f1287e82fd77d4472af6157cc3b9db46e
data/_scss/body.scss ADDED
@@ -0,0 +1,82 @@
1
+ section{
2
+ max-width: 700px;
3
+ margin: 0 auto;
4
+ padding:1rem;
5
+
6
+ .post-item{
7
+ margin-bottom: 20px;
8
+ }
9
+
10
+ .post-item-title{
11
+ margin-bottom: 0px;
12
+ }
13
+
14
+ .post-item-date{
15
+ margin-bottom: 5em;
16
+ color: $secundary-color;
17
+ font-weight: 600;
18
+ font-size: 0.7rem;
19
+ }
20
+
21
+ .post-item-summary{
22
+ line-height: 1.5rem;
23
+ }
24
+ article{
25
+ h1{
26
+ font-size: 2rem;
27
+ }
28
+ }
29
+ .pagination{
30
+ display: flex;
31
+ flex-direction: row;
32
+ flex-wrap: wrap;
33
+ justify-content: center;
34
+
35
+ a, span, em{
36
+ font-size: 20px;
37
+ border: 1px solid $secundary-color;
38
+ margin: 10px;
39
+ padding: 10px;
40
+ }
41
+
42
+ .next{
43
+ float:right;
44
+ }
45
+ }
46
+ #tags{
47
+ list-style-type: none;
48
+ margin:0;
49
+ padding:0;
50
+
51
+ & > li{
52
+ float:left;
53
+
54
+ a{
55
+ text-align:center;
56
+ padding: 0px 16px;
57
+ text-decoration:none;
58
+ }
59
+ }
60
+ }
61
+ #meta{
62
+ div{
63
+ display:block;
64
+ height: 50px;
65
+ }
66
+ }
67
+ #content{
68
+ h4{
69
+ font-weight: 100;
70
+ font-size: 0.75rem;
71
+ margin:0;
72
+ }
73
+ h1{
74
+ font-size: 2rem;
75
+ margin: 0 0;
76
+ }
77
+ p{
78
+ line-height: 1.5em;
79
+ }
80
+ }
81
+ }
82
+
@@ -0,0 +1,171 @@
1
+ div#comments {
2
+ margin-top: 10px;
3
+
4
+ h3#comment-count, h2 {
5
+ padding: 8px;
6
+ }
7
+
8
+ img.avatar {
9
+ border-radius: 4px;
10
+ float: left;
11
+ width: 48px;
12
+ height: 48px;
13
+ }
14
+
15
+ #comments-list {
16
+ list-style-type: none;
17
+ margin-block-start: 0px;
18
+ padding-inline-start: 0px;
19
+
20
+ li {
21
+ padding: 8px;
22
+ clear: both;
23
+ min-height: 48px;
24
+ font-size: 15px;
25
+ line-height: 21px;
26
+ margin-top: 8px;
27
+
28
+ blockquote {
29
+ margin-left: 60px;
30
+ margin-top: 0px;
31
+
32
+ cite {
33
+ font-style: normal;
34
+ font-size: 12px;
35
+
36
+ span.author {
37
+ font-weight: 700;
38
+ font-size: 13px;
39
+ }
40
+
41
+ a.muted {
42
+ color: #656c7a;
43
+ font-size: 12px;
44
+ }
45
+ }
46
+
47
+ div.comment-body {
48
+ line-height: 21px;
49
+ font-size: 15px;
50
+ }
51
+ }
52
+
53
+ &.byauthor {
54
+ border-radius: 4px;
55
+ }
56
+ }
57
+
58
+ .bullet {
59
+ padding: 0;
60
+ color: $secundary-color;
61
+ line-height: 1.4;
62
+ }
63
+ } // #comments-list
64
+
65
+ form#commentform {
66
+ padding: 8px;
67
+ display:flex;
68
+ flex-direction:column;
69
+ flex-wrap: wrap;
70
+
71
+ input, textarea {
72
+ transition: all .2s linear;
73
+ padding: 5px 9px;
74
+ margin: 10px 0 0 0;
75
+ font-size: 13px;
76
+ border-radius: 4px;
77
+ height: 32px;
78
+ font-family: Roboto;
79
+ }
80
+
81
+
82
+ input:focus, textarea:focus, button#commentbutton:active, button#commentbutton:focus {
83
+ outline:none;
84
+ box-shadow: 0 0 8px rgba(230, 210, 180, 1);
85
+ border-color: #FF8984;
86
+ }
87
+
88
+ textarea, div.status {
89
+ border-radius: 4px;
90
+ height: auto;
91
+ line-height: 1.4;
92
+ font-size: 14px;
93
+ padding: 6px 10px 8px;
94
+ }
95
+
96
+ textarea {
97
+ width: 100%;
98
+ transition: all .15s ease-in-out;
99
+ overflow: auto;
100
+ word-wrap: break-word;
101
+ color: #2a2e2e;
102
+ cursor: text;
103
+ display: block;
104
+ padding:0;
105
+ margin:0;
106
+ min-height: 100px;
107
+ resize: none;
108
+ outline: none;
109
+ height: 100%;
110
+ }
111
+
112
+ div.status:not(:empty) {
113
+ margin-bottom: 10px;
114
+ border: solid 1px #eaa;
115
+ background-color: #ecc;
116
+ }
117
+
118
+
119
+ div.status:empty {
120
+ display: none;
121
+ }
122
+
123
+ div#commenttext {
124
+ float:right;
125
+ width:100%;
126
+ }
127
+
128
+ div#comment-box {
129
+ min-height: 48px;
130
+ display:flex;
131
+ flex-direction: row;
132
+ }
133
+
134
+ div#comment-author {
135
+ margin-left: 60px;
136
+ }
137
+
138
+ button#commentbutton, input, textarea {
139
+ border: 1px solid #caced3;
140
+ }
141
+
142
+ button#commentbutton {
143
+ margin: 10px 0 0 0;
144
+ padding: 5px 9px;
145
+ height: 44px;
146
+ color: #505050;
147
+ border-radius: 4px;
148
+ -webkit-appearance: none;
149
+ appearance: none;
150
+ background-color: 1px solid #dbdfe4;
151
+ background-image: linear-gradient(-180deg, #eceff5 0%, #dbdfe4 90%);
152
+
153
+ &:hover {
154
+ border: 1px solid #b0b0c0;
155
+ background-color: 1px solid #dbdfe4;
156
+ background-image: linear-gradient(-180deg, #eceff5 0%, #dbdfe4 90%);
157
+ }
158
+
159
+ &:active {
160
+ border: 1px solid #a8acc2;
161
+ background-color: 1px #cbcfd4;
162
+ background-image: none;
163
+ }
164
+
165
+ &.confirm-button {
166
+ background-color: 1px solid #ffffee;
167
+ background-image: linear-gradient(-180deg, #ffffee 0%, #eeeedd 90%)
168
+ }
169
+ }
170
+ }
171
+ }
data/_scss/common.scss ADDED
@@ -0,0 +1,20 @@
1
+ a{
2
+ text-decoration: none;
3
+ color: $primary-color;
4
+ border-bottom: 1px solid transparent;
5
+ transition: all ease-in-out 500ms;
6
+
7
+ &:hover,
8
+ &:focus{
9
+ border-bottom: 1px solid $primary-color;
10
+ cursor: pointer;
11
+ }
12
+ }
13
+
14
+ h1{
15
+ color: $primary-color;
16
+ }
17
+
18
+ h2{
19
+ margin-bottom:0;
20
+ }
data/_scss/footer.scss ADDED
@@ -0,0 +1,10 @@
1
+ footer{
2
+ background-color: $secundary-color;
3
+ color: #B7D7D8;
4
+ margin-top: auto;
5
+ text-align: center;
6
+
7
+ span{
8
+ color: $primary-color;
9
+ }
10
+ }
data/_scss/header.scss ADDED
@@ -0,0 +1,59 @@
1
+ html, body{
2
+ margin: 0;
3
+ display:flex;
4
+ flex-direction: column;
5
+ min-height:100vh;
6
+ font-family:Roboto, sans-serif;
7
+
8
+ & > header{
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ padding: 0.25rem 1rem 0;
14
+ box-shadow: 0 -3px 9px #000;
15
+ @media(min-width: 550px){
16
+ padding: 0 1rem;
17
+ }
18
+
19
+ h1{
20
+ margin: 0;
21
+ }
22
+
23
+ div, nav{
24
+ flex: 0 1 100%;
25
+ }
26
+
27
+ div{
28
+ @media(min-width: 1300px){
29
+ flex: 0 1 75%;
30
+ }
31
+ @media(min-width: 550px){
32
+ flex: 0 1 60%;
33
+ }
34
+ }
35
+
36
+ nav{
37
+ flex-basis: auto !important;
38
+ @media (max-width: 1300px){
39
+ flex: 0 1 25%;
40
+ }
41
+ @media(min-width: 550px){
42
+ flex: 0 1 40%;
43
+ }
44
+ ul{
45
+ list-style: none;
46
+ padding: 0;
47
+ display: flex;
48
+ justify-content: space-between;
49
+
50
+ li{
51
+ @media(min-width: 550px){
52
+ justify-content: space-around;
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Tarzia
@@ -101,6 +101,11 @@ files:
101
101
  - _layouts/home.html
102
102
  - _layouts/page.html
103
103
  - _layouts/post.html
104
+ - _scss/body.scss
105
+ - _scss/comments.scss
106
+ - _scss/common.scss
107
+ - _scss/footer.scss
108
+ - _scss/header.scss
104
109
  - assets/css/main.scss
105
110
  homepage: https://github.com/nicolastarzia/dev-blog-theme.
106
111
  licenses: