-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (105 loc) · 1.85 KB
/
style.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "M PLUS Rounded 1c", sans-serif;
}
body {
width: 100%;
background-image: url("images/bg.jpg");
background-size: cover;
background-position: center;
color: white;
}
header {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
background: rgba(0, 0, 0, 0.7);
}
header .logo {
height: 50px;
}
nav {
position: relative;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
text-decoration: none;
color: white;
font-weight: 600;
transition: all 0.3s;
}
.menu-toggle {
display: none;
cursor: pointer;
font-size: 30px;
color: white;
}
main {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 50px 20px;
}
.describe a {
color: inherit;
}
.button-area {
display: flex;
gap: 20px;
margin-top: 30px;
}
.button-area button {
padding: 15px 25px;
background: #da9168;
border: none;
border-radius: 30px;
font-weight: 600;
font-size: 16px;
cursor: pointer;
transition: all 0.3s;
}
.button-area button:hover {
background: #b87950;
}
/* スマホ用の調整 */
@media screen and (max-width: 768px) {
.menu-toggle {
display: block;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 60px;
right: 0;
background: rgba(0, 0, 0, 0.8);
width: 100%;
}
.nav-links li {
text-align: center;
margin: 10px 0;
}
.nav-links a {
display: block;
padding: 10px;
}
.button-area {
flex-direction: column;
width: 100%;
}
.button-area button {
width: 100%;
max-width: 300px;
}
}