forked from KnightsRocketry/KnightsRocketry.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
78 lines (67 loc) · 1.48 KB
/
common.css
File metadata and controls
78 lines (67 loc) · 1.48 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
:root {
--deep-purple: #4B0082;
--black: #000000;
--light-lavender: #b68ae3; /* May be overridden */
--light-purple: #b6a6d3;
--white: #FFFFFF;
--purpleglow: #4a325e;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
margin: 0;
padding: 0;
background-color: var(--black);
color: var(--white);
overflow-x: hidden;
}
html {
scroll-behavior: smooth;
}
.navbar {
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 5%;
box-sizing: border-box;
backdrop-filter: blur(10px); /* main blur */
-webkit-backdrop-filter: blur(10px);
mask-image: linear-gradient(to bottom, black 10%, transparent 100%);
-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.navbar .brand {
font-size: 1.5rem;
font-weight: 600;
color: var(--white);
text-decoration: none;
letter-spacing: 1px;
}
.navbar .nav-links a {
color: var(--white);
text-decoration: none;
margin: 0 15px;
font-size: 1rem;
font-weight: 400;
transition: color 0.3s ease;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
color: var(--light-lavender);
}
footer {
text-align: center;
padding: 40px 20px;
border-top: 1px solid #333;
}
#contact-info a {
color: var(--light-lavender);
text-decoration: none;
transition: color 0.3s;
}
#contact-info a:hover {
color: var(--purpleglow);
}