-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.component.css
87 lines (84 loc) · 1.58 KB
/
home.component.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.home {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.home h1 {
margin: 0;
color: hsla(220, 20%, 10%, 1);
line-height: 1;
text-align: center;
text-transform: uppercase;
}
.home h1 .jonathon {
font-weight: 300;
}
.home h1 .orsi {
font-weight: 900;
}
.home h2 {
margin: 0 0 16px 0;
color: hsla(220, 20%, 20%, 1);
font-size: 1.2em;
text-transform: uppercase;
}
.home__links-item {
margin-bottom: 8px;
}
.link,
.link:link,
.link:visited {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0 16px;
color: inherit;
text-align: center;
text-decoration: none;
border-radius: 32px;
transition: all .2s ease;
}
.link:hover {
box-shadow: 0 3px 3px hsla(0, 0%, 0%, .25);
}
.link.link--about:hover {
background-color: hsl(359, 69%, 64%);;
}
.link.link--work:hover {
background-color: hsl(109, 67%, 66%);
}
.link.link--projects:hover {
background-color: hsla(208, 49%, 64%, 1);
}
.link.link--resume:hover {
background-color: hsla(38, 94%, 72%, 1);
}
.link-icon {
display: inline-block;
padding-top: 3px;
line-height: 1;
white-space: nowrap;
}
.link-text {
display: inline-block;
margin-left: 16px;
}
@media (min-width: 768px) {
.home__links-list {
display: inline-flex;
}
.home__links-item {
margin: 0 4px;
}
.link-text {
margin-left: 0;
overflow: hidden;
width: 0px;
transition: width .3s ease;
}
.link:hover .link-text {
width: 80px;
}
}