-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (95 loc) · 1.99 KB
/
style.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
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
body {
font-family: 'Roboto Mono', monospace;
display: flex;
align-items:center;
margin:0;
height: 100vh;
}
.main{
display: flex;
align-items: center;
padding: 70px 50px 50px 50px;
width:100%;
height: 100%;
background-color:#d6ae7b;
margin:0;
}
nav {
display:flex;
align-items: flex-start;
justify-content:center;
flex-direction: column;
background-color: white;
height: 100%;
}
nav > li {
list-style-type: none;
margin: 15px;
}
nav>h3{
margin: 25px;
}
.move:after {
content: "";
position: absolute;
z-index: -1;
width: 3px;
height: 100%; }
.move:hover:after, .move:focus:after {
width: 3px;
height: 100%; }
.move:before {
content: "";
position: absolute;
z-index: -1;
width: 3px;
height: 100%; }
.move:hover:before, .move:focus:before {
width: 3px;
height: 100%; }
.move:after {
top: 0;
right: 50%; }
.move:hover:after {
right: 0; }
.move:before {
top: 0;
left: 50%; }
.move:hover:before {
left: 0; }
.element {
display: inline;
position: relative;
z-index: 2;
text-decoration: none;
box-sizing: border-box;
user-select: none;
padding: 10px;
white-space: nowrap;
transition: color 1s ease;
}
.element:hover,
.element:focus {
outline: 0;
color: #b6956a;
cursor: pointer;
}
.element:before {
transition: all 1s ease;
}
.element:after {
transition: all 1s ease;
}
.element:hover:after,
.element:focus:after {
outline: 0;
background-color:#d6ae7b;
transition: all 1s ease; /* add delay if wanted */
}
.element:hover:before,
.element:focus:before {
outline: 0;
background-color: #d6ae7b;
transition: all 1s ease;
}