-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (90 loc) · 1.83 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
/*
@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;
} */
@import url('https://rsms.me/inter/inter.css');
* {
font-family: 'Inter', sans-serif;
}
@supports (font-variation-settings: normal) {
html {
font-family: 'Inter var', sans-serif;
}
}
body {
text-align: center;
/* 제목 중앙 정렬 */
}
#selected-list{
color: black;
font-weight: bold;
}
ul {
list-style-type: none;
margin: 0;
padding: 10px;
display: flex;
justify-content: center;
}
li {
text-align: center;
font-size: 18px;
padding-top: 20px;
padding-bottom: 20px;
margin: 0 60px;
/* 좌우 간격만 설정 */
}
li:last-child {
border-bottom: none;
}
li a {
display: inline-block;
color: gray;
padding-right: 16px;
padding-left: 16px;
padding-bottom: 20px;
text-decoration: none;
width: 80px;
/* 고정된 너비 설정 */
text-align: center;
/* 텍스트 중앙 정렬 */
}
li a:hover, #selected-list {
border-bottom: 2px solid #555;
color: #000;
/* 선택된 리스트의 텍스트 색 */
font-weight: bold;
}
h1 {
font-size: 45px;
padding: 50px 0;
/* 상하 패딩 설정 */
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: white;
min-width: 160px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0);
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
color: cacaca;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ffffff;
}