-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (99 loc) · 1.86 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
:root{
--text-color: #f0f4f5;
--background-color:#263343;
--accent-color:#d49466;
}
body{
margin:0;
font-family: 'Source Sans Pro';
}
a{
text-decoration: none;
/* color: white; */
color:var(--text-color);
}
.navbar{
display:flex;
justify-content: space-between;
align-items: center;
background-color: black;
padding: 8px,12px;
}
.navbar__logo{
padding: 8px 12px;
}
.navbar__logo:hover{
background-color: blueviolet;
border-radius: 10px;
}
.navbar__logo i{
color: var(--text-color);
font-size: 20px;
font-weight: bold;
}
.navbar__menu{
display: flex;
list-style: none;
padding-left: 0;
}
.navbar__menu li {
padding:8px 12px;
}
.navbar__menu li:hover{
background-color: blueviolet;
border-radius: 20px;
}
.navbar__icons{
list-style: none;
color: var(--text-color);
display: flex;
}
.navbar__icons li{
padding:8px 12px;
}
.navbar__icons li:hover{
background-color: blueviolet;
border-radius: 10px;
}
.navbar__togleBtn{
position: absolute;
right:32px;
font-size:24px;
color: var(--text-color);
display: none;
padding: 2px 12px;
}
.navbar__togleBtn:hover{
background-color: blueviolet;
border-radius: 10px;
}
@media screen and (max-width:768px){
.navbar{
flex-direction: column;
padding : 8px 24px;
align-items:flex-start;
}
.navbar__menu{
display:none;
flex-direction: column;
align-items:center;
width:100%;
}
.navbar__menu li{
width:100%;
text-align: center;
}
.navbar__icons {
display:none;
padding-left:0;
justify-content: center;
width: 100%;
}
.navbar__togleBtn {
display:block;
}
.navbar__menu.active,
.navbar__icons.active{
display:flex;
}
}