Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
OutRed
GitHub Repository: OutRed/artclass
Path: blob/main/static/styles/navbar.css
595 views
1
nav {
2
/*background-color: rgba(51,51,51,0.5);
3
box-shadow: 0 0 15px 2px rgba(51,51,51,.5);*/
4
height: 60px;
5
display: flex;
6
justify-content: space-between;
7
align-items: center;
8
padding: 0 20px;
9
margin: 0;
10
margin-bottom: 10px;
11
position: relative;
12
13
}
14
.container {
15
display: flex;
16
align-items: center;
17
}
18
nav ul {
19
display: flex;
20
list-style: none;
21
margin: 0;
22
padding: 0;
23
opacity: 1;
24
position: absolute;
25
top: 30px;
26
left: 50%;
27
transform: translate(-50%, -50%);
28
29
}
30
31
nav ul li {
32
margin: 0 10px;
33
transition: all 0.6s;
34
}
35
36
37
nav a {
38
color: #fff;
39
text-decoration: none;
40
font-size: 20px;
41
margin: 10px;
42
/*padding: 10px;*/
43
font-family: "DM Sans";
44
transition: all 0.6s;
45
padding-bottom: 0;
46
47
display: flex;
48
justify-content: center;
49
align-items: center;
50
51
}
52
nav a:hover {
53
color: white;
54
}
55
nav img {
56
height: 40px;
57
}
58
59
nav a i, nav a ion-icon {
60
margin-right: 5px;
61
font-size: 20px;
62
}
63