-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
116 lines (97 loc) · 1.52 KB
/
index.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
/* 전체 요소 모두 선택 */
* {
margin: 0px;
padding: 0px;
}
body {
display: flex;
justify-content: center;
align-items: start;
}
main {
width: 60%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
header {
width: 100%;
height: 40px;
background-color: black;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
a {
text-decoration: none;
color: white;
display: inline-flex;
padding: 10px;
border-radius: 10px;
}
a:hover {
background-color: white;
color: black;
}
section,
#divTitle,
#divContent {
display: flex;
justify-content: center;
align-items: center;
}
section {
width: 100%;
height: auto;
border: 1px dashed gainsboro;
padding: 20px;
flex-direction: column;
}
section > div {
border: 1px dotted grey;
width: 90%;
margin: 10px;
}
#divTitle,
#divContent,
#msg {
border: 1px dotted gray;
width: 90%;
padding: 20px;
}
#divTitle {
background-color: aliceblue;
border: 1px dotted gray;
font-size: x-large;
font-weight: bold;
height: 60px;
margin: 20px;
}
#divContent {
flex-direction: column;
margin-top: 10px;
}
#divContent > p {
margin-bottom: 10px;
}
#msg {
height: 60px;
}
button {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 10px;
background-color: royalblue;
color: white;
font-size: medium;
font-weight: bold;
border-radius: 10px;
border: none;
}
button:hover {
background-color: coral;
}