-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
48 lines (40 loc) · 999 Bytes
/
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
/* reset.css */
/* 기본 style 서식을 초기화 --> FE 개발자가 커스터마이징 가능 */
@import "reset.css";
/* font */
/* 웹폰트 사용 방법 1 */
/* font-face -> font-family */
@font-face {
font-family: 'GmarketSansMedium';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected]/GmarketSansMedium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/* 방법 2 */
/* url import */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css");
/* css 변수 */
:root {
--main-bg-color: rgb(230, 230, 230);
--font-color: #3e3e3e;
--highlight-text: tomato;
}
body {
background-color: var(--main-bg-color); /* var(변수명) */
}
h4, p {
font-family: 'GmarketSansMedium';
color: var(--font-color);
margin: 1rem;
}
h4 {
font-size: 3rem;
font-weight: 900;
}
p {
font-size: 1rem;
font-weight: 600;
}
span {
color: var(--highlight-text);
}