-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
48 lines (42 loc) · 916 Bytes
/
styles.css
File metadata and controls
48 lines (42 loc) · 916 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
body {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
background-color: #f4f4f4; /* 背景色 */
font-family: Arial, sans-serif;
text-align: center;
}
.navbar {
width: 100%;
background-color: #d3d3d3; /* ナビゲーションバーの背景色 */
padding: 10px 0;
position: fixed;
top: 0;
z-index: 1000;
text-align: center;
}
.navbar a {
display: inline-flex;
align-items: center;
color: white; /* テキストの色 */
text-decoration: none;
font-size: 1.2rem;
}
.navbar img {
height: 40px; /* ロゴ画像の高さ */
margin-right: 10px; /* 画像とテキストの間隔 */
}
.content {
margin-top: 70px; /* ナビゲーションバーの高さ分を確保 */
}
h1 {
margin-top: 20px;
font-size: 2rem;
color: #555;
}
p {
margin-top: 10px;
font-size: 1rem;
color: #666;
}