forked from anotheranotherhoon/fe-sprint-my-agora-states
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
146 lines (123 loc) · 2.41 KB
/
style.css
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* TODO: 보기 좋은 나만의 아고라 스테이츠를 위해서 CSS를 수정하세요. */
@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: var(--background);
}
h1 {
font-family: "Climate Crisis", cursive;
margin: 30px;
color: var(--border);
}
.form__container {
font-family: "Climate Crisis", cursive;
margin: auto;
width: 540px;
display: flex;
flex-direction: column;
padding: 10px;
background-color: var(--form-background);
border: 2px solid var(--border);
border-radius: 10px;
}
.form__input--wrapper {
display: flex;
flex-direction: column;
justify-content: start;
padding: 10px;
}
.form__input--wrapper div {
display: flex;
flex-direction: column;
color: var(--border);
}
#name,
#title,
#story {
height: 30px;
border: 2px solid var(--border);
border-radius: 10px;
padding: 10px;
outline: none;
}
#story {
height: 200px;
}
/* 제출버튼 */
.form__buttons {
display: flex;
justify-content: center;
}
button {
width: 100px;
height: 50px;
background-color: var(--button);
border: 2px solid var(--border);
border-radius: 50px;
font-family: "Climate Crisis", cursive;
margin: 0 10px;
}
button:hover {
cursor: pointer;
background-color: var(--button-hover);
color: white;
}
button:active {
cursor: pointer;
background-color: var(--button-active);
color: white;
}
.discussion__container {
width: 540px;
height: 80px;
display: flex;
justify-content: space-between;
background-color: var(--container);
border: 2px solid var(--border);
border-radius: 10px;
padding: 10px;
margin: 10px;
}
.discussion__avatar--wrapper {
display: flex;
justify-content: center;
align-items: center;
}
.discussion__avatar--image {
border-radius: 50%;
width: 55px;
}
.discussion__content {
display: flex;
flex-direction: column;
justify-content: space-evenly;
flex-grow: 1;
padding: 10px;
}
.discussion__title {
text-align: left;
}
.discussion__information {
text-align: right;
}
.discussion__answered {
display: flex;
align-items: center;
}
:root {
--background: #ffb84c;
--form-background: #7db9b6;
--border: #322d3c;
--button: #e96479;
--button-hover: #6363e5;
--button-active: #4545cd;
--container: white;
}