-
-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathstyle.css
102 lines (94 loc) · 1.65 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
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
*{
box-sizing: border-box;
}
body{
font-family: 'Lato', sans-serif;
background-color: #333;
color:#222;
overflow-x: hidden;
margin: 0;
}
.container{
background-color: #fafafa ;
transform-origin:top left ;
transition: transform 0.5s linear;
width: 100vw;
height: 100vh;
padding: 50px;
}
.container.show-nav{
transform: rotate(-20deg);
}
.circle-container{
position: fixed;
top: -100px;
left: -100px;
}
.circle{
background-color: #ff7979;
width: 200px;
height: 200px;
border-radius: 50%;
transition: transform 0.5s linear;
}
.container.show-nav .circle{
transform: rotate(-70deg);
}
.circle button{
cursor: pointer;
position: absolute;
top: 60%;
left: 40%;
height: 10px;
background: transparent;
border: 0;
font-size:26px;
color: white;
}
.circle button:focus{
outline: none;
}
.circle button.open{
left: 60%;
}
.circle button.close{
top: 60%;
transform: rotate(90deg);
transform-origin: top left;
}
.container.show-nav + nav li{
transform: translateX(0);
transition-delay:0.3s ;
}
nav{
position: fixed;
bottom:40px;
left: 0;
z-index: 100;
}
nav ul{
list-style-type: none;
padding-left: 30px;
}
nav ul li{
text-transform: uppercase;
color: #fff;
margin: 40px 0;
transform: translateX(-150%);
transition: transform 0.4s ease-in;
}
.content img{
max-width: 200px;
}
.content h1{
margin: 0%;
}
.content small{
color: #555;
font-style:italic;
}
.content p{
color: #333;
line-height: 1.5;
}