-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
56 lines (53 loc) · 976 Bytes
/
styles.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
body {
background-color:#9b9b9b;
}
*{
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
color:white;
}
ul {
border: solid 2px #000000;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #056df4;
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
}
li {
float: left;
}
li a {
font-weight: 900;
color:#16161f;
display: block;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #013d81;
color:#9b9b9b;
}
.hidden {
opacity: 0;
transition: all ease-out 1s;
transform: translateY(-100px);
}
.visible {
opacity: 1;
transform: translateY(10px);
}
#logo {
transition-delay: 500ms;
display: block;
margin-left: auto;
margin-right: auto;
}
.centered {
display:grid;
align-items: center;
place-items: center;
}