Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions sample/pc_UI/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* @charset "UTF-8"; */
body{
margin: 0 0 0 0;
Copy link
Copy Markdown
Collaborator

@96-38 96-38 Dec 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

margin-top, margin-right, margin-bottom, margin-left が同じ値の場合は
margin : 0 ;
と記述すればOKです!

padding: 0;
}

nav {
background-color: blue;
font-size: 30px;
color: white;

}

.ptitle {
margin: 0 0 0 20px;
float: left;
}

.gnav {
margin: 0 0 0 0;
float: right;
}

ul li {
float: right;
list-style: none;
margin-right: 15px;
}

select {
font-size: 25px;
height: 35px;
width: 200px;
margin-right: 150px;
}
table {
margin-right: 100px;
}
input {
height: 30px;
width: 200px;
}
.photo1 {
margin: 20px 70px 20px 50px;
}
.photo2 {
margin: 20px 0 20px 0;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

margin-top と margin-bottom が、margin-right と margin-left がそれぞれ同じ値の場合は
margin : 20px 0px
と記述すればOKです!

}
.photo3 {
margin: 10px 10px 10px 50px;
}
44 changes: 44 additions & 0 deletions sample/pc_UI/index_pc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="jp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Atsutoku</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<nav>
<h1 class="ptitle">Atsutoku</h1>
<ul class="gnav">
<li>
<form>
<select>
<option value="">ジャンル</option>
<option value="1">食べ物</option>
<option value="2">家電</option>
<option value="3">コスメ</option>
<option value="4">雑貨</option>
</select>
</form>
</li>
<li class="form">
<form>
<table>
<tr>
<td>検索範囲:</td>
<td><input type="text" name="distance" size="6" maxlength="2">km</td>
</tr>
</table>
</form>
</li>
</ul>
<br />
<hr />
</nav>
<div>
<a href=""><img src="uniqlo.png" class="photo1" height="290px" width="870px"></a>
<img src="null.png" class="photo2" height="290px" width="870px" ><br />
<img src="null.png" class="photo3" height="290px" width="870px">
</div>
</body>
</html>