betterplace-content 0.3.5 → 0.3.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9637e6863add306e2f8cec6c3fe307be95b3e6b5
4
- data.tar.gz: e34979493f7408b1fa4cef5e4a6656303f36e9c7
3
+ metadata.gz: e6c2ea740d2f76cf07d99f9b48c1b1b8f4c7e2e0
4
+ data.tar.gz: ace8eed5983f8c88c5c8c443e00f1b2e7e2c3345
5
5
  SHA512:
6
- metadata.gz: 876aca898e57a14e5cee028da289bfb34ab491e0aa9e318a2d9b0ae199853d23359be627fc4736cc297fea9067bb96d1869d24787efe488a84b9d5a0265c9b2d
7
- data.tar.gz: b7ac3fa02094791fd790526914907d72360892acc1c46ca2e58ff6eec0b0e7d78e9a12aeb992c4644d94afff715084b6000b69f5e8f6599d5c22de01ceb54036
6
+ metadata.gz: e742b262ff5260eb8ac16eb7f55df1292c0c66e11f331cbf0fd8e6d3ff50f907659db318a0cfe28d79a4e814a4f6224d500472d8d777d4b56e22d41efc2faf01
7
+ data.tar.gz: e271fe715e810ec3908423a085e1295d8e7e852dc91c93a44ad330d4108044c0c2aaa62f2f0891551c6ec77c42c34dd16fd23dbffe1649e0da3a0116722f0001
@@ -18,9 +18,9 @@ layout: default
18
18
  {{ page.author }}
19
19
  </div>
20
20
 
21
- <div class="help-modified">
21
+ <div class="help-date">
22
22
  <i class="fa fa-clock-o fa-fw"></i>
23
- {{ page.modified | date:"%d.%m.%Y" }}
23
+ {{ page.date | date:"%d.%m.%Y" }}
24
24
  </div>
25
25
  </div>
26
26
  {% endif %}
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
  {% include hero_image.html %}
5
5
 
6
- <div class="content-wrapper layout-help">
6
+ <div class="content-wrapper layout-news">
7
7
  <div class="container centered">
8
8
  <div class="row">
9
9
  <div class="col-md-offset-14 col-md-10">
@@ -21,15 +21,15 @@ layout: default
21
21
  <div class="col-md-24">
22
22
  <div class="row news-article">
23
23
  {% if page.author %}
24
- <div class="help-meta-information m-b">
25
- <div class="help-author">
24
+ <div class="news-meta-information m-b">
25
+ <div class="news-author">
26
26
  <i class="fa fa-user-circle-o fa-fw"></i>
27
27
  {{ page.author }}
28
28
  </div>
29
29
 
30
- <div class="help-modified">
30
+ <div class="news-date">
31
31
  <i class="fa fa-clock-o fa-fw"></i>
32
- {{ page.modified | date:"%d.%m.%Y" }}
32
+ {{ page.date | date:"%d.%m.%Y" }}
33
33
  </div>
34
34
  </div>
35
35
  {% endif %}
@@ -14,7 +14,7 @@
14
14
  justify-content: center
15
15
 
16
16
  .help-author,
17
- .help-modified
17
+ .help-date
18
18
  padding: 10px
19
19
  color: $medium-grey
20
20
 
@@ -1,60 +1,71 @@
1
- .news-article img
2
- max-width: 100%
3
-
4
- .news-post-teaser
5
- display: flex
6
- flex-direction: column
7
- height: 390px
8
- display: block
9
- color: $very-dark-grey
10
- text-decoration: none
11
- font-weight: normal
12
-
13
- &:hover,
14
- &:focus
1
+ .layout-news
2
+ .news-article img
3
+ max-width: 100%
4
+
5
+ .news-meta-information
6
+ display: flex
7
+ justify-content: center
8
+
9
+ .news-author,
10
+ .news-date
11
+ padding: 10px
12
+ color: $medium-grey
13
+
14
+
15
+ .news-post-teaser
16
+ display: flex
17
+ flex-direction: column
18
+ height: 390px
19
+ display: block
20
+ color: $very-dark-grey
15
21
  text-decoration: none
16
- color: inherit
17
-
18
- h2
19
- text-decoration: underline
20
-
21
- .news-post-teaser-image
22
- flex-grow: 1
23
- width: 100%
24
- height: 200px
25
- background-size: cover
26
-
27
- .news-post-teaser-author
28
- color: $medium-grey
29
- margin-bottom: 5px
30
-
31
- .news-post-teaser-content
32
- flex-grow: 1
33
- display: flex
34
- flex-direction: column
35
- font-size: 14px
36
-
37
- .news-post-teaser-preview
38
- flex: 1 1 auto
39
- overflow: hidden
40
- position: relative
41
-
42
- &:after
43
- content: ''
44
- position: absolute
45
- bottom: 0
46
- left: 0
47
- right: 0
48
- height: 30px
49
- background-image: -webkit-linear-gradient(top, transparent 0%, #fff 100%)
50
- background-image: -o-linear-gradient(top, transparent 0%, #fff 100%)
51
- background-image: linear-gradient(to bottom, transparent 0%, #fff 100%)
52
- background-repeat: repeat-x
53
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#FFFFFFFF', GradientType=0)
54
-
55
- .news-post-teaser-author
56
- flex-shrink: 0
57
- color: $medium-grey
58
-
59
- .news-post-teaser-content
60
- height: 183px
22
+ font-weight: normal
23
+
24
+ &:hover,
25
+ &:focus
26
+ text-decoration: none
27
+ color: inherit
28
+
29
+ h2
30
+ text-decoration: underline
31
+
32
+ .news-post-teaser-image
33
+ flex-grow: 1
34
+ width: 100%
35
+ height: 200px
36
+ background-size: cover
37
+
38
+ .news-post-teaser-author
39
+ color: $medium-grey
40
+ margin-bottom: 5px
41
+
42
+ .news-post-teaser-content
43
+ flex-grow: 1
44
+ display: flex
45
+ flex-direction: column
46
+ font-size: 14px
47
+
48
+ .news-post-teaser-preview
49
+ flex: 1 1 auto
50
+ overflow: hidden
51
+ position: relative
52
+
53
+ &:after
54
+ content: ''
55
+ position: absolute
56
+ bottom: 0
57
+ left: 0
58
+ right: 0
59
+ height: 30px
60
+ background-image: -webkit-linear-gradient(top, transparent 0%, #fff 100%)
61
+ background-image: -o-linear-gradient(top, transparent 0%, #fff 100%)
62
+ background-image: linear-gradient(to bottom, transparent 0%, #fff 100%)
63
+ background-repeat: repeat-x
64
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#FFFFFFFF', GradientType=0)
65
+
66
+ .news-post-teaser-author
67
+ flex-shrink: 0
68
+ color: $medium-grey
69
+
70
+ .news-post-teaser-content
71
+ height: 183px
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers