-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
/* 全体のスタイル設定 */ | ||
body { | ||
font-family: 'Arial', sans-serif; | ||
background-color: #f7f7f7; | ||
color: #333; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
header { | ||
background-color: #76c7e7; /* 水色 */ | ||
color: #fff; | ||
padding: 20px; | ||
text-align: center; | ||
border-bottom: 4px solid #58a0b4; | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
font-size: 2.5em; | ||
} | ||
|
||
p { | ||
font-size: 1.1em; | ||
} | ||
|
||
/* コマンドリスト */ | ||
.command-list { | ||
padding: 20px; | ||
max-width: 1100px; | ||
margin: 0 auto; | ||
} | ||
|
||
.command { | ||
background-color: #fff; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | ||
margin-bottom: 20px; | ||
padding: 20px; | ||
transition: transform 0.3s ease; | ||
} | ||
|
||
.command:hover { | ||
transform: translateY(-5px); | ||
} | ||
|
||
/* コマンドの見出し */ | ||
.command h2 { | ||
font-size: 1.8em; | ||
color: #333; | ||
margin-top: 0; | ||
} | ||
|
||
/* コマンドの説明とリスト */ | ||
.command p { | ||
font-size: 1.2em; | ||
line-height: 1.5; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.command ul { | ||
list-style-type: none; | ||
padding-left: 0; | ||
} | ||
|
||
.command li { | ||
font-size: 1.1em; | ||
margin-bottom: 10px; | ||
} | ||
|
||
footer { | ||
background-color: #333; | ||
color: #fff; | ||
text-align: center; | ||
padding: 30px 20px; /* フッターの余白を増加 */ | ||
position: relative; | ||
margin-top: 40px; /* フッターとコンテンツの間に余裕を追加 */ | ||
width: 100%; | ||
} | ||
.return-button { | ||
position: fixed; /* 固定位置に配置 */ | ||
top: 20px; /* 上からの距離 */ | ||
left: 20px; /* 左からの距離 */ | ||
z-index: 1000; /* 他の要素の上に表示 */ | ||
} | ||
|
||
.return-button a { | ||
display: inline-block; | ||
padding: 10px 15px; | ||
background-color: #007BFF; | ||
color: white; | ||
text-decoration: none; | ||
border-radius: 5px; | ||
font-size: 14px; | ||
font-weight: bold; | ||
} | ||
|
||
.return-button a:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
/* メディアクエリ(レスポンシブデザイン) */ | ||
@media screen and (max-width: 768px) { | ||
header h1 { | ||
font-size: 2em; | ||
} | ||
|
||
.command h2 { | ||
font-size: 1.6em; | ||
} | ||
|
||
.command p, .command li { | ||
font-size: 1em; | ||
} | ||
} |