-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle5.css
More file actions
89 lines (71 loc) · 989 Bytes
/
Copy pathstyle5.css
File metadata and controls
89 lines (71 loc) · 989 Bytes
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
88
89
/* write your css below */
* {
box-sizing: border-box;
}
[title] {
cursor: pointer;
}
h1 {
margin: 0;
font-weight: normal;
font-size: medium;
}
p {
margin: 0;
}
a[href^="https:"] {
color: darkmagenta;
}
a[href$=".html"] {
border: 1px solid red;
}
.nav a {
text-decoration: underline;
}
a.active {
color: yellow;
}
h1 + * {
border: 5px solid black;
}
main > p {
font-weight: 700;
}
/* write your css above */
body {
margin: 0;
font-family: sans-serif;
}
.header {
text-align: center;
background-color: rgba(0, 0, 0, 0.9);
}
.logo {
display: inline-block;
margin-right: 40px;
border: 1px solid #ccc;
padding: 3px;
color: #fff;
}
.nav {
display: inline-block;
}
.nav__link {
display: inline-block;
font-size: 18px;
margin: 0 10px;
padding: 10px 5px;
color: #fff;
text-decoration: none;
}
.nav__list {
list-style: none;
margin: 0;
padding: 0;
}
.nav__item {
display: inline-block;
}
main {
padding: 0 24px;
}