-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
92 lines (82 loc) · 1.64 KB
/
navbar.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
@import url('https://fonts.googleapis.com/css2?family=Hurricane&family=Poppins:wght@300&display=swap');
:root {
--clr-neon: #97ca4e;
--clr-bg: white;
--clr-sec-bg: rgb(0, 0, 0);
--clr-bg-self: rgba(0, 0, 0, 0.747);
--clr-fg-self: var(--clr-neon);
--clr-card-shadow: var(--clr-neon);
--clr-card-bg: var(--clr-sec-bg);
--clr-neon-self: var(--clr-neon);
}
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
/*
background-image: url("../res/bg.jpg");
*/
background-color: rgb(218, 213, 213);
}
header
{
position: sticky;
top: 0;
max-width: 1400px;
margin-top: 0% auto;
padding: 10px;
background: rgb(255, 255, 255);
box-sizing: border-box;
border-radius: 5px;
}
.logo
{
color: var(--clr-neon);
height: 60px;
font-size: 54px;
line-height: 60px;
padding: 0 2px;
text-align: center;
box-sizing: border-box;
float: left;
font-weight: 700;
text-decoration: none;
font-family: 'Hurricane', cursive;
}
nav
{
float: right;
}
.clearfix
{
clear: both;
}
nav ul
{
margin: 0;
padding: 0;
display: flex;
}
nav ul li
{
list-style: none;
}
nav ul li a
{
font-size: 15px;
font-weight: 700;
display: inline-block;
margin: 8px;
padding: 10px 10px;
text-decoration: none;
color: var(--clr-neon);
border: var(--clr-neon) 4px solid;
border-radius: 0.5em;
}
nav ul li a.active,
nav ul li a:hover
{
background: var(--clr-neon);
transition: 0.5s;
color: rgb(255, 255, 255);
}