-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStyle.css
More file actions
127 lines (107 loc) · 2.58 KB
/
Style.css
File metadata and controls
127 lines (107 loc) · 2.58 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* header 스타일 */
header {
padding: 10px;
text-align: center;
font-size: 15px;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #ffe3e3;
}
/* 헤더 내부 텍스트 스타일링 */
header h1 {
margin: 0;
font-family: 'Arial', sans-serif;
color: #ff0066; /* 헤더 텍스트 색상 */
background: linear-gradient(to right top, #861657, #ffa69e);
color: transparent;
-webkit-background-clip: text;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
section {
margin: 20px;
}
.main-section {
flex: 1;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* .button-container의 스타일 */
.button-container {
display: flex; /* Flexbox 레이아웃 사용 */
justify-content: space-around; /* 각 요소 사이의 간격을 동일하게 분배하여 배치 */
margin-top: 10px; /* 버튼과 헤더 사이의 간격 조정 (선택사항) */
margin-left: 0px;
margin-right:0px
}
.post-container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.post {
margin-bottom: 20px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 10px;
}
.post img {
max-width: 100%; /* 이미지의 최대 너비를 부모 요소인 .post의 너비에 맞춤 */
height: auto; /* 이미지의 높이를 자동으로 조절하여 가로세로 비율 유지 */
}
.author-info {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.author-info img {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 10px;
}
/* 페이지 이동 버튼 스타일링 */
.navigation-button {
display: block;
margin: 10px auto;
padding: 10px 15px;
background-color: #e7abc3; /* 버튼 배경색 */
color: #ffffff; /* 버튼 텍스트 색상 */
text-decoration: none;
border-radius: 5px;
font-size: 15px;
}
/* 마우스 호버 시 버튼 스타일 변경 */
.navigation-button:hover {
background-color: #9f5465;
}
.checkout-button {
display: block;
margin-top: 10px;
padding: 5px 15px;
width: 10%;
background-color: #e9a2ff; /* 버튼 배경색 */
color: #ffffff; /* 버튼 텍스트 색상 */
text-decoration: none;
border-radius: 30px;
font-size: 15px;
text-align: center;
}
.checkout-button:hover {
background-color: #d352ff;
}
.button {
background-color: #e7abc3;
color: #fff;
border-radius:10px;
}
#saved-details {
max-height: 300px;
overflow-y: auto;
}