-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathessence.css
83 lines (70 loc) · 1.51 KB
/
essence.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
@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Overpass');
@import url('https://fonts.googleapis.com/css?family=Abel');
html {
background-image: url('assets/cortex.violet.jpg');
background-size: cover;
background-repeat: no-repeat;
}
::selection {
color: #ffffffff;
background-color: #ff0090;
}
body {
margin: 0;
margin-top: 69px;
}
p {
font-family: 'Abel', sans-serif;
color: #fff;
}
nav {
position: fixed;
top: 0;
width: 100%;
overflow: hidden;
}
nav li {
display: inline;
list-style-type: none;
padding: 0px 2px;
}
nav .left { float: left }
nav .right { float: right; padding: 0px 42px }
#sup { color: #ffffffc0; }
#sup:after { transform-origin: left; }
#sup:hover:after { transform-origin: right; }
nav li a {
display: inline-block;
transition: 0.12s;
font-family: 'Montserrat Medium', sans-serif;
font-size: 20px;
color: #ffffffc0;
text-decoration: none;
text-align: center;
position: relative;
padding: 7px 12px;
}
nav li a:after {
content: '';
background-color: #ff0090;
width: 100%;
height: 1.5px;
transition: transform 0.12s ease-out;
transform: scaleX(0);
transform-origin: center;
bottom: 0;
left: 0;
position: absolute;
}
nav li a:hover {
color: #ffffffff;
border-radius: 7px;
}
nav li a:hover:after {
transform: scaleX(1);
transform-origin: center;
}
nav li a:active {
color: #ff0090ff;
}