-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
75 lines (61 loc) · 1.17 KB
/
styles.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
li {
list-style: none;
}
a {
text-decoration: none;
}
body{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 2rem;
}
.company-logo {
font-size: 2.5rem;
color: black
;
}
.nav-items {
display: flex;
}
.nav-item {
margin: 0 2rem;
}
.nav-link {
font-size: 1.1rem;
letter-spacing: 0.05rem;
position: relative;
color: black;
}
.nav-link::before {
content: "";
background: black;
width: 100%;
height: 0.05rem;
position: absolute;
left: 0;
bottom: 0;
transform: scaleX(0);
transform-origin: bottom right;
transition: transform 150ms;
}
.nav-link:hover::before {
transform: scaleX(1);
transform-origin: bottom left;
}
main{
margin-top: 10rem;
padding-left: 2rem;
padding-right: 2rem;
font-size: 2rem;
}
img{
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
border: 3px solid black;
}