personal-website 0.1.1 → 0.1.2

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: 7e7adfbe1ed428de8830ddd144dd26e877b18548bff55b681a0ffe0c1c2c9d91
4
- data.tar.gz: bd68efa0f2f69ef4729c097f58b6b69e8a102a1cb014ff94f09635ac4c03a026
3
+ metadata.gz: 5823ed4e5393639258abc4bebe8fa2ee512f1daea5f6ddb9c3f26e03eda7df18
4
+ data.tar.gz: '0893622ed5c01601afcb3f0741958841c61831670f757cb6dce384fcfeded5fb'
5
5
  SHA512:
6
- metadata.gz: d509d8ca89efd82364d3e166f73d241c27a9c4a05ac669e2ace6eeef934fb4be3229d1ce0cbe9b5459a2665366c6c3a6af24cf321ee8941c613566df1318adb0
7
- data.tar.gz: e32bf962a2718621e4bf82b847d15623f8373d2030f3c099bc65ade75a5471e49f337d1c25460d41a47d142edf54b1d7657c207ad93627ff79afaf0eae423375
6
+ metadata.gz: 48483fe0a78d6fba0299ec2cfc7443c39b5ff5a19218774c3b3ab67832eafd6dd990c56b6072cb89a55f545de5f7cfbaad892fec5ce6e40b4c9e9c8650b82c05
7
+ data.tar.gz: ffa66308beb70a128d27df81667e0ae8ccdb1998f6611c96f5d3f95f190a852734796b0d2aebf6a47a3bb5ee35aec8aa21a89a23e5805986102d445662a50eef
@@ -1,3 +1,3 @@
1
- <footer class="text-center bg-dark text-light p-3">
1
+ <footer class="text-center bg-dark text-light">
2
2
  &copy; 2020 {{ site.name }}
3
3
  </footer>
@@ -6,8 +6,12 @@ layout: default
6
6
  <html>
7
7
 
8
8
  <head>
9
- <link rel="stylesheet" href="/assets/css/home.css">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
+ {% if site.google-search-console %}
11
+ <meta name="google-site-verification" content="{{ site.google-search-console }}" />
12
+ {% endif %}
10
13
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
14
+ <link rel="stylesheet" href="/assets/css/home.css">
11
15
  <title>{{ site.name }}</title>
12
16
  </head>
13
17
 
@@ -9,4 +9,20 @@
9
9
 
10
10
  .content > div:nth-child(even){
11
11
  background-color: #fafafa;
12
+ }
13
+
14
+ .row{
15
+ margin-left: 0;
16
+ margin-right: 0;
17
+ }
18
+
19
+ @media screen and (max-width: 768px){
20
+ .content{
21
+ margin-top: 0px;
22
+ }
23
+
24
+ .content > div{
25
+ padding-right: 0px;
26
+ padding-left: 0px;
27
+ }
12
28
  }
@@ -5,7 +5,7 @@
5
5
  .exp img{
6
6
  height: 75px;
7
7
  width: 100px;
8
- margin: 5px 15px;
8
+ margin: 5px;
9
9
  object-fit: contain;
10
10
  }
11
11
 
@@ -19,27 +19,25 @@
19
19
  }
20
20
 
21
21
  .exp figcaption{
22
- min-width: 300px !important;
22
+ min-width: min(300px, 50vw);
23
23
  }
24
24
 
25
- @media (max-width: 768px){
26
- body > header{
27
- position: initial !important;
28
- }
29
-
30
- .content{
31
- margin-top: 25px;
32
- }
25
+ .exp{
26
+ padding: 0;
33
27
  }
34
28
 
35
- @media (max-width: 1080px){
29
+ @media screen and (max-width: 1050px){
36
30
  .exp:not(:last-of-type){
37
- border-right: 1px transparent solid;
38
- border-bottom: 1px grey solid;
31
+ border-right-color: transparent;
32
+ border-bottom: 1px gray solid;
39
33
  padding-bottom: 25px;
40
34
  }
41
35
 
42
36
  .exp:not(:first-of-type){
43
37
  padding-top: 25px;
44
38
  }
45
- }
39
+
40
+ .exp{
41
+ margin: 0 10px;
42
+ }
43
+ }
@@ -0,0 +1,3 @@
1
+ body > footer{
2
+ padding: 50px;
3
+ }
@@ -24,4 +24,10 @@
24
24
  .social:hover{
25
25
  -webkit-transform: scale(1.2);
26
26
  transform: scale(1.2);
27
+ }
28
+
29
+ @media screen and (max-width: 768px){
30
+ body > header{
31
+ position: initial !important;
32
+ }
27
33
  }
@@ -10,7 +10,8 @@
10
10
  .project img{
11
11
  object-fit: contain;
12
12
  max-height: 250px;
13
- max-width: 400px;
13
+ max-width: 100%;
14
+ width: 400px;
14
15
  border-radius: 15px;
15
16
  }
16
17
 
@@ -3,4 +3,5 @@
3
3
  @import "header";
4
4
  @import "content";
5
5
  @import "experience";
6
- @import "project";
6
+ @import "project";
7
+ @import "footer";
@@ -2,17 +2,19 @@ me_height = $("#photo").outerHeight();
2
2
  social_height = $(".social").outerHeight();
3
3
  me_margin = ($("#photo").outerHeight(true) - me_height) / 2;
4
4
 
5
- $(window).on('resize', function(){
6
- $(window).scrollTop(0);
5
+ $(window).resize(function(e){
7
6
  $("#photo").outerHeight('');
8
7
  $(".social").outerHeight('');
9
8
  $("#photo").css("margin", '');
10
9
  me_height = $("#photo").outerHeight();
11
10
  social_height = $(".social").outerHeight();
12
11
  me_margin = ($("#photo").outerHeight(true) - me_height) / 2;
12
+ test(e);
13
13
  });
14
14
 
15
- $(window).scroll(function(e) {
15
+ $(window).scroll(test);
16
+
17
+ function test(e){
16
18
  scroll_top = $(window).scrollTop();
17
19
  // Disable resizing for small screens and negative scroll
18
20
  if(scroll_top < 0 || $(window).width() <= 768) return;
@@ -28,5 +30,4 @@ $(window).scroll(function(e) {
28
30
  if($(window).width() <= 945) return;
29
31
  // Resize social media icons
30
32
  $(".social").outerHeight(social_height - scroll_top / 5);
31
- console.log(scroll_top);
32
- });
33
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: personal-website
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-05 00:00:00.000000000 Z
11
+ date: 2020-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -85,6 +85,7 @@ files:
85
85
  - _layouts/home.html
86
86
  - _sass/content.scss
87
87
  - _sass/experience.scss
88
+ - _sass/footer.scss
88
89
  - _sass/header.scss
89
90
  - _sass/project.scss
90
91
  - assets/css/home.scss