-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
155 lines (126 loc) · 2.3 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
147
148
149
150
151
152
153
154
155
html,
body {
width: 100%;
min-height: 100vh;
margin: 0;
padding: 0;
}
body {
font-family: 'NanumSquare', sans-serif;
font-weight: 300;
font-size: 14px;
color: rgba(61, 61, 61, 1);
}
a {
text-decoration: none;
color: rgba(61, 61, 61, 1);
}
.wrapper {
min-width: 1080px;
width: 1080px;
margin: 0 auto;
padding: 1rem;
}
#container {
width: 100%;
position: relative;
}
#header {
border-bottom: 1px solid #f0f0f0;
}
.clear-fix::after {
display: block;
content: "";
clear: both;
}
/* icon 스타일 */
.icon {
display: inline-block;
width: 24px;
height: 24px;
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.icon.small{
width: 15px;
height: 15px;
}
.icon.icon-search {
background-image: url("./images/search.png")
}
.icon.icon-menu {
background-image: url("./images/menu.png")
}
.icon.icon-close {
background-image: url("./images/close.png")
}
/* 글목록 스타일 */
.article-list {
padding: .7rem 0;
transition: 0.5s;
border-bottom: 1px solid #e0e0e0;
}
.article-list:hover {
margin-left: 1rem;
}
.article-list .article-item .title {
font-size: 1.5rem;
}
.article-list .article-item .summary {
width: 95%;
font-size: .95rem;
line-height: 1.3rem;
}
.article-list .info .date {
margin: 1rem 0;
}
/* 페이징 스타일 */
.paging-cover {
font-size: 1.05rem;
display: flex;
justify-content: center;
padding: 1rem;
}
.paging-cover .paging a{
margin-left: 5px;
margin-right: 5px;
}
.paging-cover .paging a span.selected{
font-weight: 600;
color: #000;
}
/* 검색 스타일 */
.header-option{
position: fixed;
right: 40px;
top: 40px;
display: flex;
align-items: flex-start;
}
.header-option > *{
margin: 0 .5rem;
}
.header-option .icon {
cursor: pointer;
}
.header-option input[type="text"]{
border: none;
padding: 7px;
font-size: .9rem;
border-bottom: 1px solid #3d3d3d;
}
.header-option input[type="text"]:focus{
outline: none;
border-bottom: 1px solid #000;
}
.header-option .area_search {
width: auto;
opacity: 1;
transition: opacity 0s, width 1s;
}
.header-option .area_search.none{
display: none;
width: 0;
opacity: 0;
}