harms-columns-front-page 1.0.4 → 1.1.0

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
  SHA1:
3
- metadata.gz: 87948659a9aebd34738f672fc88862ce7a026ec9
4
- data.tar.gz: 2d60110abc86a275bfda6a1de444682317711844
3
+ metadata.gz: d5d9e9f9032b35d971e8e532281d87fb95f2f4c2
4
+ data.tar.gz: e34cd52093c36c2f58ebd6672cd758a0b3ac15b0
5
5
  SHA512:
6
- metadata.gz: b9b4553a2a40fc5ac56eb8e22029e968e1ab6a959cb938acd336523faf2f3ccb6db473bf4afe86b4a75c1f41f99be7ff757b1f834f0cbae8b8cb4e0be14e7f78
7
- data.tar.gz: 5884e9c6d8f1f009078188c6ebc18139fc2930f5c8b01e50b04d92f3ec60e95b26c53337de75085c576ea71fcd5688d999d4dc985e0ed9e5efbd142ff1cdc2a2
6
+ metadata.gz: b31fa894febde91f6350f29dbb692d905c6d72b4fdfe1d281270076c3ffcba4dc3e2197776ede07caf6bfc48e991320c2afb5ee63da9a96c76c8ac89fa045855
7
+ data.tar.gz: ee04f73405144fa5d8661454bfdc4b2bdc060b37706d1acb23876fec92c13ae9e18670518840bfbfb0c04e707b00b56f18eb7f553c9f5e1260b446a39cc12c77
@@ -1,5 +1,16 @@
1
1
 
2
2
  <footer>
3
+ <div class="social-container">
4
+ {% for item in site.social %}
5
+
6
+ {% if item.icon %}
7
+ <a href="{{ item.url }}" target="_blank"><img class="social-icon" src="{{ item.icon }}"></a>
8
+ {% else %}
9
+ <a class="button light" href="{{ item.url }}" target="_blank">{{ item.title }}</a>
10
+ {% endif %}
11
+
12
+ {% endfor %}
13
+ </div>
3
14
 
4
15
  <p>&copy; {{ site.footer-copyright }} - <a href="/impressum">Impressum</a> - Webdesign by <a href="https://www.harms.design" target="_blank">Michael Harms</a></p>
5
16
 
@@ -142,14 +142,16 @@
142
142
  <div class="header">
143
143
  <div class="header-content">
144
144
  <div class="header-left">
145
+ {% if site.profile-image %}
145
146
  <div class="profile-image" style="background-image: url('{{ site.profile-image }}')"></div>
147
+ {% endif %}
146
148
  <div class="header-text">
147
149
  <h1>{{ site.title | escape }}</h1>
148
150
  <p class="sub-title">{{ site.subtitle | escape }}</p>
149
151
  </div>
150
152
  </div>
151
153
 
152
- <div class="header-right">
154
+ <!-- <div class="header-right">
153
155
  {% for item in site.social %}
154
156
 
155
157
  {% if item.icon %}
@@ -159,7 +161,7 @@
159
161
  {% endif %}
160
162
 
161
163
  {% endfor %}
162
- </div>
164
+ </div> -->
163
165
 
164
166
  </div>
165
167
  {% endif %}
data/_layouts/home.html CHANGED
@@ -34,7 +34,7 @@
34
34
  {% assign post_count = site.posts | size %}
35
35
  {% if post_count > 0 %}
36
36
  <div class="wrapper">
37
- <h2>Neuigkeiten</h2>
37
+
38
38
  <!-- loop for displaying posts -->
39
39
  {% for post in site.posts %}
40
40
  <div class="post">
data/_sass/_base.sass CHANGED
@@ -3,9 +3,11 @@ $site-margin: 40px
3
3
  $section-margin: 80px
4
4
 
5
5
  $mobile: 'max-width: 600px'
6
- $tablet: 'max-width: 1000px'
6
+ $tablet: 'max-width: 768px'
7
7
  $desktop: 'min-width: 1001px'
8
8
 
9
+ $nav-breakpoint: 'max-width: 1000px'
10
+
9
11
  html
10
12
  overflow-x: hidden
11
13
  &.mobile-menu-open
@@ -45,11 +47,11 @@ html
45
47
  margin-top: $section-margin/1.5
46
48
  margin-bottom: $section-margin/1.5
47
49
  &.home-content
48
- font-size: 35px
50
+ font-size: 25px
49
51
  @media screen and ($tablet)
50
- font-size: 30px
52
+ font-size: 20px
51
53
  @media screen and ($mobile)
52
- font-size: 25px
54
+ font-size: 16px
53
55
  color: $dark-grey
54
56
  line-height: 1.7
55
57
  font-weight: 300
data/_sass/_footer.sass CHANGED
@@ -1,4 +1,31 @@
1
1
  footer
2
+ .social-container
3
+ margin-bottom: 20px
4
+ display: flex
5
+ justify-content: flex-end
6
+ align-items: center
7
+ @media screen and ($tablet)
8
+ margin-top: 20px
9
+ flex-wrap: wrap
10
+ justify-content: center
11
+ @media screen and ($mobile)
12
+ margin-top: 10px
13
+ a
14
+ &.button
15
+ color: $light-grey !important
16
+ background-color: $dark-grey
17
+ border-color: $light-grey !important
18
+ &:hover
19
+ color: $dark-grey !important
20
+ margin: 0 10px
21
+ @media screen and ($tablet)
22
+ margin: 10px 5px 0 5px
23
+ &:last-of-type
24
+ margin-right: 0
25
+ @media screen and ($tablet)
26
+ margin-right: 5px
27
+ .social-icon
28
+ max-height: 36px
2
29
  background-color: $light-grey
3
30
  padding: 100px $site-margin
4
31
  @media screen and ($mobile)
@@ -6,6 +33,7 @@ footer
6
33
  display: flex
7
34
  justify-content: center
8
35
  align-items: center
36
+ flex-direction: column
9
37
  p
10
38
  display: inline-block
11
39
  text-align: center
data/_sass/_nav.sass CHANGED
@@ -131,7 +131,9 @@ html
131
131
  a
132
132
  text-decoration: none
133
133
  font-weight: 600
134
- font-size: 13px
134
+ font-size: 15px
135
+ @media screen and ($nav-breakpoint)
136
+ font-size: 13px
135
137
  color: $black
136
138
  transition: color .3s ease
137
139
  &:hover
data/assets/main.js CHANGED
@@ -46,7 +46,7 @@ $(document).ready(function() {
46
46
  $('.search-container input').val('');
47
47
 
48
48
 
49
- if( $(window).width() <= 1000 ) {
49
+ if( $(window).width() <= 768 ) {
50
50
 
51
51
  $('nav li.mobile').each(function(i) {
52
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harms-columns-front-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Harms