-
Notifications
You must be signed in to change notification settings - Fork 0
/
hanbaga.css
69 lines (66 loc) · 1.11 KB
/
hanbaga.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
/* 共通パーツ */
body {
color: #333;
line-height: 1.5;
letter-spacing: 0.05em;
}
.wrapper {
max-width: 1080px;
margin: 0 auto;
padding: 12px 20px;
}
/* ヘッダー */
.header {
border-bottom: 1px solid #ebeaeb;
}
.header-wrapper {
display: flex;
justify-content: space-between;
font-weight: bold;
}
.header-logo {
padding-top: 8px;
color: #26a69a;
}
.header-nav {
padding: 8px;
color: #26a69a;
}
.menu {
display: flex;
}
.menu-item {
margin-right: 24px;
}
.hamburger {
display: none;
position: relative;
width: 30px;
height: 30px;
}
.line-top,
.line-center,
.line-bottom {
width: 30px;
height: 2px;
background-color: #26a69a;
position: absolute;
}
.line-top {
top: 0;
}
.line-center {
top: 14px;
}
.line-bottom {
top: 29px;
}
/* 問題2. レスポンシブでメニューをハンバーガーに切り替えよう */
@media screen and (max-width: 600px) {
.header-menu {
display: none;
}
.hamburger {
display: block;
}
}