-
Notifications
You must be signed in to change notification settings - Fork 2
/
navBarStyle.css
89 lines (75 loc) · 1.72 KB
/
navBarStyle.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
ul.category {
list-style-type: none;
padding: 1vh;
overflow: hidden;
background-color: transparent;
display: flex;
justify-content: space-between;
border-radius: 25px;
color: #fff;
box-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #006463, 0 0 15px #004443,
0 0 20px #004443, 0 0 25px #004443;
-webkit-animation: blink 0.7s infinite alternate;
animation: blink 0.7s infinite alternate;
background-color: #111;
font-family: 'Times New Roman', Times, serif;
margin: 20px;
}
img.navBarLogo {
width: 46%;
margin: auto 0px auto 0px;
}
div.topbartitle {
display: flex;
flex-direction: row;
width: 10%;
}
li {
display: inline-block;
position: relative;
margin: auto 0px auto;
}
li a {
display: block;
color: white;
padding: auto auto;
text-align: center;
padding: 1vw 2vh;
text-decoration: none;
font-family: 'Times New Roman', Times, serif;
margin-right: 1vw;
}
li a:hover {
background-color: #298e10;
transition: all 0.2s ease-out;
cursor: pointer;
border-radius: 9999px;
}
li::before {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background-color: white;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.2s ease-out;
}
li:hover::before {
transform: scaleX(1);
}
p.title {
color: white;
font-family: 'Times New Roman', Times, serif;
font-size: 1.2rem;
font-weight: 900;
margin: auto;
overflow: visible;
white-space: nowrap;
}
@media screen and (max-width:980px) {
ul.category {
display: none;
}
}