personal-website 0.1.1 → 0.1.2
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 +4 -4
- data/_includes/footer.html +1 -1
- data/_layouts/home.html +5 -1
- data/_sass/content.scss +16 -0
- data/_sass/experience.scss +12 -14
- data/_sass/footer.scss +3 -0
- data/_sass/header.scss +6 -0
- data/_sass/project.scss +2 -1
- data/assets/css/home.scss +2 -1
- data/assets/js/header.js +6 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5823ed4e5393639258abc4bebe8fa2ee512f1daea5f6ddb9c3f26e03eda7df18
|
4
|
+
data.tar.gz: '0893622ed5c01601afcb3f0741958841c61831670f757cb6dce384fcfeded5fb'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48483fe0a78d6fba0299ec2cfc7443c39b5ff5a19218774c3b3ab67832eafd6dd990c56b6072cb89a55f545de5f7cfbaad892fec5ce6e40b4c9e9c8650b82c05
|
7
|
+
data.tar.gz: ffa66308beb70a128d27df81667e0ae8ccdb1998f6611c96f5d3f95f190a852734796b0d2aebf6a47a3bb5ee35aec8aa21a89a23e5805986102d445662a50eef
|
data/_includes/footer.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -6,8 +6,12 @@ layout: default
|
|
6
6
|
<html>
|
7
7
|
|
8
8
|
<head>
|
9
|
-
<
|
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
|
|
data/_sass/content.scss
CHANGED
@@ -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
|
}
|
data/_sass/experience.scss
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
.exp img{
|
6
6
|
height: 75px;
|
7
7
|
width: 100px;
|
8
|
-
margin: 5px
|
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
|
22
|
+
min-width: min(300px, 50vw);
|
23
23
|
}
|
24
24
|
|
25
|
-
|
26
|
-
|
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:
|
29
|
+
@media screen and (max-width: 1050px){
|
36
30
|
.exp:not(:last-of-type){
|
37
|
-
border-right:
|
38
|
-
border-bottom: 1px
|
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
|
+
}
|
data/_sass/footer.scss
ADDED
data/_sass/header.scss
CHANGED
data/_sass/project.scss
CHANGED
data/assets/css/home.scss
CHANGED
data/assets/js/header.js
CHANGED
@@ -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).
|
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(
|
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
|
-
|
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.
|
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-
|
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
|