-
Notifications
You must be signed in to change notification settings - Fork 0
/
navStylesheet.css
128 lines (86 loc) · 1.97 KB
/
navStylesheet.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
123
124
125
126
127
128
:root {
--dark-bg-no-a: rgba(12, 12, 12);
}
.Content {
position: fixed;
background-color: var(--dark-bg-no-a);
top: 0;
padding-left: 1.5rem;
transform: translate(var(--menuLeft));
width: 20vw;
min-width: fit-content;
max-width: 250px;
height: 100vh;
min-height: fit-content;
pointer-events: stroke;
z-index: 1;
transition: transform 450ms var(--easeDirection);
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.MenuLink > a {
padding: 1rem;
transition: color 500ms ease-in-out;
}
.MenuLink > a:link {
text-decoration: none;
color: rgb(100, 60, 255);
}
.MenuLink > a:visited {
text-decoration: none;
color: rgb(100, 60, 255);
}
.MenuLink > a:hover {
text-decoration: none;
color: rgb(var(--purple));
}
.MenuLink > a:active {
text-decoration: none;
color: rgb(100, 60, 255);
}
#OutsideLinks {
display: flex;
flex-direction: row;
}
#Footer > p {
color: rgb(100, 60, 255);
padding: 1rem;
}
#Footer > p > a, #Footer p > a:link, #Footer > p > a:visited {
color: rgb(178, 57, 178);
}
#NavMenuOpen {
position: fixed;
color: hsl(var(--purple));
transition: color 250ms ease-in, scale 300ms ease-out, transform 300ms ease-out;
z-index: 99;
transform: translate(.5rem, 1rem);
margin: 20px;
}
#NavMenuOpen:hover {
transform: translate(.5rem, .85rem);
scale: 120%;
color: rgb(190, 101, 190);
z-index: 99;
}
#NavMenuOpen:active {
transform: translate(.5rem, .85rem);
transition: scale 100ms ease-out;
scale: 100%;
}
@media only screen and (max-width: 50rem) {
.Content {
width: 100vw;
max-width: none;
height: 20vh;
transform: translate(0, var(--menuLeft));
flex-direction: row;
align-items: center;
}
#OutsideLinks {
height: 100%;
flex-direction: column;
justify-content: space-around;
}
}