-
Notifications
You must be signed in to change notification settings - Fork 251
/
style.css
138 lines (119 loc) · 2.01 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
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-size: 14px;
background: darkblue url('./bg.jpg') no-repeat fixed;
background-size: cover;
}
#container {
max-width: 960px;
margin: 20px auto;
padding: 2em;
border: 1px solid #ccc;
background-color: rgba(255,255,255,0.8);
}
/* 헤더 부분 */
header {
text-align: center;
margin: auto 2em;
}
header h1 {
margin: 1.2em auto;
font-family: 'Courgette', cursive;
text-transform: uppercase;
font-size: 3em;
letter-spacing: 0.6em;
font-weight: 700;
}
header h2 {
font-size: 1.2em;
font-style: italic;
}
/* 내용 부분 */
main {
display: grid;
grid-template-columns: 30% 70%;
margin-top: 3em;
}
section {
margin: auto 1em 4em 2em;
}
/* 왼쪽, 프로필 이미지 부분 */
#pf-img {
text-align: center;
margin-bottom: 2em;
}
#pf-img img {
border: 1px solid #ccc;
border-radius: 50%;
box-shadow: 5px 5px #eee;
}
/* 왼쪽, 자기 소개 부분 */
#sns {
margin-top: 3em;
list-style: none;
}
#sns li {
margin-top:1em;
margin-left: -3em;
}
i {
margin-left: 3em;
}
#left p {
line-height: 1.2;
}
/* 오른쪽, 경력 부분 */
#right h2 {
text-transform: capitalize;
font-size: 1.5em;
margin: 2em auto 2em -1.5em;
}
#right p {
line-height: 2.2;
}
dt {
font-weight: bold;
margin:1em auto;
}
dd {
margin-left: 1.5em;
}
#base {
width:100%;
background-color: #ddd;
}
.text {
text-align: right;
padding-top:0.8em;
padding-bottom: 0.8em;
padding-right: 0.8em;
color:white;
}
.htmlcss {
width:90%;
background-color: #777;
}
.js {
width:80%;
background-color: #777;
}
.react {
width:80%;
background-color: #777;
}
.github {
width:90%;
background-color: #777;
}
#left {
padding-right: 2em;
border-right: 1px solid lightgray;
}
#right {
padding-left: 2em;
}