main.css
1.94 KB
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
* { 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 #ffe9a6;
color: crimson;
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';}
input, textarea {
border-radius: 4px;
height: 37px;
padding: 10px;
border: 1px solid silver;
}
.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: 100%;
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: white;
}
.user-name, .user-money {
font-size: 18px;
margin-bottom: 10px;
}
.timeline {
margin-top: 10px;
width: 100%;
display: inline-block;
border-radius: 4px;
vertical-align: top;
}
@media screen and (min-width: 800px) { .timeline { width: 500px; } }
#good-list, #good-list th, #good-list td {
border: 1px solid black;
border-collapse: collapse;
}
#good-list img { max-height: 45px; vertical-align: top; }
#good-img { width: 280px; }
.error-message { color: red; font-weight: bold; }
#join-form, #good-form { padding: 10px; text-align: center; }
footer { text-align: center; }