This repository was archived by the owner on Mar 13, 2023. It is now read-only.
forked from CodeYourFuture/html-css-git-exercises
-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathweek2-nav-menu.css
79 lines (69 loc) · 1.4 KB
/
week2-nav-menu.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
body,
html {
background: #25262f;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu",
"Cantarell", "Helvetica Neue", sans-serif;
font-size: 16px;
line-height: 1.5em;
}
.site-wrapper {
max-width: 1200px;
width: 90%;
margin-top: 2vh;
margin-left: auto;
margin-right: auto;
background: #fff;
border-radius: 3px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.site-header {
position: relative;
top: -1px;
padding-top: 1px;
}
.site-header__logo {
display: block;
margin: 1rem;
width: 50px;
height: auto;
}
.site-header__nav {
margin: 1rem 0.5rem;
}
.site-header__navItem {
display: block;
padding: 0.25em 0.5em;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #007ab2;
border: 1px solid transparent;
border-radius: 3px;
}
.site-header__navItem:focus,
.site-header__navItem:hover {
border: 1px solid #007ab2;
outline: 0;
}
.site-header__navItem--highlighted {
color: #d00a6c;
}
.site-header__navItem--highlighted:hover,
.site-header__navItem--highlighted:focus {
border-color: #d00a6c;
}
.site-header__checkout {
display: inline-block;
margin: 0.5rem;
padding: 0.5em 1em;
border: 1px solid #007ab2;
border-radius: 3px;
background: #007ab2;
color: #fff;
text-decoration: none;
}
.site-header__checkout:focus,
.site-header__checkout:hover {
background: #009cd4;
outline: 0;
}