Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit ed1762c

Browse files
authored
Update _me.scss
1 parent 73653ab commit ed1762c

File tree

1 file changed

+62
-60
lines changed

1 file changed

+62
-60
lines changed

_sass/pages/_me.scss

Lines changed: 62 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,67 @@
11

22
@-webkit-keyframes MeBgAnim {
3-
0%{background-position:0% 50%}
4-
50%{background-position:100% 50%}
5-
100%{background-position:0% 50%}
3+
0%{background-position:0% 50%}
4+
50%{background-position:100% 50%}
5+
100%{background-position:0% 50%}
66
}
77
@keyframes MeBgAnim {
8-
0%{background-position:0% 50%}
9-
50%{background-position:100% 50%}
10-
100%{background-position:0% 50%}
8+
0%{background-position:0% 50%}
9+
50%{background-position:100% 50%}
10+
100%{background-position:0% 50%}
1111
}
1212

1313
body#me {
14-
// Custom tooltip colors for this page
15-
._720kb-tooltip {
16-
background: $bg-color;
17-
color: $text-color;
18-
}
19-
._720kb-tooltip-title {
20-
color: $text-color;
21-
}
22-
._720kb-tooltip-caret:before {
23-
//border: $bg-color;
24-
border-top-color: $bg-color;
25-
border-bottom-color: $bg-color;
26-
}
14+
// Custom tooltip colors for this page
15+
._720kb-tooltip {
16+
background: $bg-color;
17+
color: $text-color;
18+
}
19+
._720kb-tooltip-title {
20+
color: $text-color;
21+
}
22+
._720kb-tooltip-caret:before {
23+
//border: $bg-color;
24+
border-top-color: $bg-color;
25+
border-bottom-color: $bg-color;
26+
}
2727

28-
// The image on frontpage
29-
#cover {
30-
background-image: url('/covers/mantymetsa.jpg');
31-
background-size: cover;
32-
}
33-
// Custom gradient overlay crazy color thingy
34-
#cover-sharp {
35-
background-size: 150% 150%;
36-
-webkit-animation: MeBgAnim 15s ease forwards;
37-
animation: MeBgAnim 15s ease forwards;
38-
@include gradient-directional(#0000ff, #ff0000, 45deg);
39-
opacity: 0.5;
40-
}
41-
#cover-blur {
42-
background-color: rgba(29, 188, 100, 0.2);
43-
}
28+
// The image on frontpage
29+
#cover {
30+
background-image: url('/covers/mantymetsa.jpg');
31+
background-size: cover;
32+
}
33+
// Custom gradient overlay crazy color thingy
34+
#cover-sharp {
35+
background-size: 150% 150%;
36+
-webkit-animation: MeBgAnim 15s ease forwards;
37+
animation: MeBgAnim 15s ease forwards;
38+
@include gradient-directional(#0000ff, #ff0000, 45deg);
39+
opacity: 0.5;
40+
}
41+
#cover-blur {
42+
background-color: rgba(29, 188, 100, 0.2);
43+
}
4444

45-
// Crazy size changes for my name
46-
#page-header {
47-
.title {
48-
z-index: 1; // Make texts/links clickable in header
45+
// Crazy size changes for my name
46+
#page-header {
47+
.title {
48+
z-index: 1; // Make texts/links clickable in header
4949

50-
@media all and (max-width: 599px) {
51-
height: 450px;
52-
}
53-
@media all and (min-width: 600px) {
54-
height: 240px;
55-
}
56-
@media all and (min-width: 700px) {
57-
height: 240px;
58-
}
59-
@media screen and (max-height: 320px) {
60-
height: 200px;
61-
}
62-
}
50+
@media all and (max-width: 599px) {
51+
padding-left: 5px;
52+
padding-right: 5px;
53+
height: 450px;
54+
}
55+
@media all and (min-width: 600px) {
56+
height: 240px;
57+
}
58+
@media all and (min-width: 700px) {
59+
height: 240px;
60+
}
61+
@media screen and (max-height: 320px) {
62+
height: 200px;
63+
}
64+
}
6365
h1 {
6466
@extend .hero-font;
6567
color: $bg-color;
@@ -71,14 +73,14 @@ body#me {
7173
@media screen and (max-width: 568px) {
7274
font-size: 40px;
7375
line-height: 40px;
74-
}
76+
}
7577
}
7678
h3 {
7779
font-family: 'Source Sans Pro', Helvetica, sans-serif;
7880
}
79-
}
81+
}
8082

81-
// Social media links and stuff like that
83+
// Social media links and stuff like that
8284
#some {
8385
margin-top: 100px;
8486
font-size: 26px;
@@ -100,25 +102,25 @@ body#me {
100102
}
101103
}
102104

103-
// My email & digits
105+
// My email & digits
104106
#contact {
105107
display: inline-block;
106108
position: relative;
107109
text-shadow: none;
108110
line-height: 40px;
109-
font-size: 26px;
111+
font-size: 26px;
110112
@extend .sans;
111113
@media screen and (max-width: 599px) {
112114
display: block;
113115
height: auto;
114116
color: transparent;
115117
}
116118
a {
117-
color: #fff;
119+
color: #fff;
118120
}
119-
}
121+
}
120122

121-
// About me
123+
// About me
122124
.container .main .content {
123125
width: 100%;
124126
.narrower-content {

0 commit comments

Comments
 (0)