-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha4.css
More file actions
344 lines (292 loc) · 5.54 KB
/
a4.css
File metadata and controls
344 lines (292 loc) · 5.54 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
/* @theme A4 */
@import "default";
/* 용지 설정 */
section {
width: 210mm;
height: 297mm;
font-size: 10pt;
padding: 30mm 20mm 15mm 20mm;
}
/* 머리말 */
header {
display: flex;
align-items: flex-end;
justify-content: flex-end;
top: 20mm;
left: 20mm;
right: 20mm;
width: 83%;
height: 20px;
font-size: 9pt;
text-align: right;
}
header::after {
content: '';
position: absolute;
width: 100%;
border-top: 1px solid black;
}
/* 꼬리말 */
footer {
display: flex;
align-items: flex-start;
left: 20mm;
bottom: 15mm;
/* padding: 0 10mm; */
width: 83%;
font-size: 9pt;
}
footer::before {
content: '';
position: absolute;
width: 100%;
border-top: 1px solid black;
}
/* 쪽번호 */
section::after {
display: block;
bottom: 15mm;
content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total);
font-size: 9pt;
text-align: center;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
/* 기본 설정 */
section.default {
display: flex;
justify-content: flex-start;
}
section.default h1 {
font-size: 1.8em;
/* text-align: center; */
}
section.default h2 {
font-size: 1.6em;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
section.default h3 {
font-size: 1.4em;
margin-left: 0.5em;
margin-top: 0.3em;
margin-bottom: 0.3em;
}
section.default h4 {
/* color: black; */
font-size: 1.2em;
margin-left: 1em;
margin-top: 0.2em;
margin-bottom: 0.2em;
}
section.default h5 {
/* color: black; */
margin-left: 1.5em;
margin-top: 0.1em;
margin-bottom: 0.1em;
}
/* 리소스 설정 */
.image {
margin-bottom: 2em;
/* 원하는 마진 값으로 조정 */
display: flex;
justify-content: center;
}
img {
width: 100%;
/* height: 45vh; */
display: block;
margin: 0 auto; /* 중앙 정렬 */
}
.mermaid {
display: flex;
justify-content: center;
padding: 0, 10px, 0, 10px;
}
.mermaid .svg {
height: 50px;
}
.mermaid .today {
display: none;
}
.mermaid .titleText {
fill: black !important;
/* 제목 색상을 검정으로 설정 */
}
.mermaid .grid .tick text {
fill: black !important;
/* 레이블 색상을 검정으로 설정 */
}
.mermaid .sectionTitle {
fill: #000000 !important;
word-wrap: break-word;
}
.mermaid .taskTextOutsideRight {
fill: #000000 !important;
}
.project-logo {
width: 55mm;
height: 20mm;
}
.project-logo-header {
width: 35mm;
height: 12mm;
}
.consortium-logo {
width: 250px;
margin-left: auto;
display: block;
}
.consortium-logo-footer {
width: 29.5mm;
height: 8.5mm;
margin-left: auto;
}
/* 표지 */
section.lead {
display: flex;
/* flex-direction: row; */
/* padding-top: 0mm; */
width: 100%;
justify-content: space-between;
}
.spaced-paragraph {
/* 공백 구간 */
margin: 2em auto 2em;
}
.project-title {
/* 프로젝트 명 */
flex-grow: 1;
}
.document-title {
/* 문서명 */
flex-grow: 1;
}
section.lead h1 {
font-size: 20pt;
color: black;
text-align: right;
}
section.lead h2 {
font-size: 20pt;
color: blue;
text-align: right;
}
section.lead h3 {
font-size: 16pt;
color: blue;
text-align: right;
}
section.lead p {
font-size: 2em;
}
section.lead hr {
height: 5mm;
border: 0px solid gray;
}
/* 목차 스타일 */
.toc {
color: #333;
font-size: 14pt;
}
/* 링크 텍스트 색상을 검정색으로 설정 */
.toc a {
color: black;
text-decoration: none;
/* 밑줄 제거 */
}
/* 목록 스타일 */
.toc ul {
list-style-type: none;
}
.toc ul > li {
padding-bottom: 10px;
}
/* 자식 ul은 부모 li로부터 들여쓰기 적용 */
.toc ul ul > li {
font-size: 12pt;
/* 한 단계 들여쓰기 */
margin-left: -1em;
padding-bottom: 2px;
}
.toc ul ul ul > li {
font-size: 11pt;
/* 두 단계 들여쓰기 */
padding-bottom: 1px;
}
/* 본문 스타일 */
.date-box {
width: 100%;
border-left: none;
border-right: none;
border-radius: 0;
display: flex;
justify-content: right;
font-size: 12pt;
}
.title-box {
width: 100%;
margin-top: 0.5em;
margin-bottom: 0.5em;
border-top: 3px solid #000;
border-bottom: 3px solid #000;
border-left: none;
border-right: none;
border-radius: 0;
padding: 5px;
background-color: #f0f8ff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 20pt;
}
section.default table,
tr,
td,
th {
all: unset;
border: 1 !important;
background: transparent !important;
}
section.default table {
display: table;
width: 100%;
/* 필요에 따라 너비 조정 */
border-collapse: collapse;
/* 겹치는 테두리 제거 */
margin-bottom: 2em;
}
tr {
display: table-row;
}
td,
th {
display: table-cell;
/* height: 50px; */
/* 셀의 높이 조정 (필요에 따라 조정) */
vertical-align: middle;
/* 수직 가운데 정렬 */
padding: 8px;
/* 필요에 따라 패딩 조정 */
}
/* Add new styles for the column headers */
th {
font-size: 1.1em;
font-weight: bold;
text-align: center;
}
/* result 이미지 크기 조정 */
.rslt_img {
width: 83%;
height: auto;
display: block;
margin: 0 auto; /* 중앙 정렬 */
}
.rslt_img_30_1 {
width: 98%;
height: auto;
display: block;
margin: 0 auto; /* 중앙 정렬 */
}