-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavbar.css
More file actions
129 lines (123 loc) · 2.29 KB
/
navbar.css
File metadata and controls
129 lines (123 loc) · 2.29 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
/* 배경 기본 블러*/
.background {
filter: blur(40px);
}
/* 네비바 */
li {list-style: none;}
a {text-decoration: none; color: inherit;}
#navbar {
position: fixed;
width: 100%;
height: 60px;
top:0;
background-color: #02151fe0;
z-index: 1;
}
#navbar::after {
content: "";
display: block;
height: 2px;
background: linear-gradient(to left, hsla(189, 72%, 93%, 0.664), rgba(76, 90, 97, 0.664) 80%);
position: absolute;
bottom: 0;
right: 0;
left: 0;
}
#navbar i {
float: left;
font-size: 30px;
font-weight: 500;
margin:10px;
padding-left: 20px;
}
#navbar .nav_menu{
display: flex;
float: right;
margin-top: 20px;
padding-right: 35px;
}
#navbar .nav_menu ul{
margin: 0;
padding: 0;
}
#navbar .nav_menu li{display: inline; padding-left: 45px;}
#navbar .nav_menu li a{display: inline-block; font-size: 20px;}
/* 햄버거 메뉴*/
.mNav{
position:absolute;
height: 45px;
top: 18px;
right: 18px;
cursor: pointer;
display: none;
}
.mNav .icon_wrap .icon{
width: 38px;
height: 3.3px;
background-color: white;
border-radius: 5px;
position: relative;
}
.mNav .icon_wrap .icon::before, .mNav .icon_wrap .icon::after{
content: " ";
position:absolute;
top: 10px;
left: 0;
width: 38px;
height: 3.3px;
background-color: white;
border-radius: 5px;
}
.mNav .icon_wrap .icon::after{
top: 20px;
}
.result{
margin-top:200px;
text-align: center;
}
.result h1{
font-size: 10vmin;
margin-bottom: 20px;
margin-top:30px;
}
.result h2{
font-size: 6vmin;
margin-top: 0;
}
.result h3{
font-size: 5vmin;
font-weight: 100;
margin-bottom: 0;
margin-top: 0;
}
@media screen and (max-width:900px){
#navbar{width:100%;}
#navbar::after{display: none;}
#navbar i{ margin: 10px 0; text-align: center; width: 100%; }
#navbar .nav_menu{
display: none;
position: absolute;
top:60px;
right:0;
width: 40%;
height: 100vh;
padding:0;
margin:0;
background-color: #02151ff8;
z-index: 1;
}
.mNav{display: block;}
#navbar .nav_menu li{
padding: 20px 40px;
text-align: center;
display: block;
font-size: 3px;
border-bottom: 1px solid #dbdbdb48;
}
#navbar .nav_menu li div{
width: 100px;
}
#navbar .nav_menu li div a{
font-size: 15px;
}
}