main.css 2.69 KB
* { box-sizing: border-box; }
html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  background-image: url("2.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
}
.btn {
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    background: white;
    border: 3px solid white;
    color: black;
    height: 37px;
    width: 80px;
    line-height: 37px;
    vertical-align: top;
    font-size: 20px;
    text-align: center;
}
html, h1{font-family: 'Song Myung';}
html, h2{
  font-family: 'Yeon Sung';
  text-align: center;
  color:black;
  margin: 10px;
  font-size: 25px;
}
html, div{font-size:17px}
input, textarea {
    border-radius: 4px;
    height: 37px;
    padding: 10px;
    border: 1px solid white;
}
.container { width: 100%; height: 100%; }
@media screen and (min-width: 800px) {
    .container { width: 800px; margin: auto; padding-top: 30px}
}
.input-group { margin-bottom: 15px; }
.input-group label { width: 25%; display: inline-block; }
.input-group input { width: 70%; }
#join { float: right; }
.profile-wrap {
    width: auto;
    display: inline-block;
    vertical-align: top;
    margin: 10px 0;
}
@media screen and (min-width: 800px) {
    .profile-wrap { width: 290px; margin-bottom: 0;}
}
.profile {
    /* 안녕하세요, 보유자산 */
    text-align: left;
    padding: 20px;
    margin-right: 10px;
    border-radius: 4px;
    border: 4px solid black;
    background: #ffe9a6;
    color: black;
}
.user-name{
    font-size: 20px;
    margin:5px;
    text-align: center;
}
.user-money {
    font-size: 16px;
    text-align: left;
    margin: 10px;
}
.timeline {
    margin-top: 10px;
    width: auto;
    display: inline-block;
    border: 4px solid black;
    background: #FF9587;
    vertical-align: top;
    border-radius: 4px;
}
@media screen and (min-width: 800px) { .timeline { width: 500px;} }
#good-list, #good-list th, #good-list td ,#mygood-list, #mygood-list th, #mygood-list td{
    border: 2px solid #C87070;
    border-collapse: collapse;
    width: 450px;
    height: 45px;
    text-align: center;
    background-color: white;
    margin: auto;
    margin-bottom: 10px;
}
#good-list img { max-height: 45px; vertical-align: top; }
#time{position: absolute;; padding-left: 55px; color: white;}
#good-img ,#mygood-list img {max-height: 200px; max-width: 200px; padding-top: 30px}
.error-message { color: red; }
#join-form, #good-form, #change-form { padding: 10px; text-align: center; }
#bid {padding-top:20px; text-align: center; font-size: 17px; color: black}
#bid-form{padding:10px;}
footer { text-align: center; }