-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (53 loc) · 886 Bytes
/
style.css
File metadata and controls
58 lines (53 loc) · 886 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
}
.container {
margin: 0 auto;
max-width: 600px;
width: 100%;
padding: 0 15px;
}
/* header
* --------------------------- */
.header {
background-color: tomato;
width: 100%;
}
.menu {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: 40px;
list-style: none;
}
.menu__link {
display: flex;
align-items: center;
height: 40px;
padding: 0 10px;
}
.menu__link:hover {
background-color: gold;
}
.menu__active {
background-color: gold;
}
.main__inner {
margin: 10px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.main__item {
border: 1px solid blue;
min-width: 100px;
height: 40px;
padding: 10px;
}