-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (93 loc) · 1.83 KB
/
style.css
File metadata and controls
111 lines (93 loc) · 1.83 KB
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/css2?family=Roboto:wght@500&display=swap');
*{
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: rgb(37, 37, 37);
overflow: hidden;
margin: 0px;
}
.container {
background-color: white;
transform-origin: top left;
transition: transform 0.5s linear;
width: 100vw;
height: 100vh;
padding: 50px;
}
.container.show-nav {
transform: rotate(-20deg);
}
.container-circle {
position: fixed;
top: -100px;
left: -100px;
}
.circle {
background-color: rgb(231, 105, 21);
height: 200px;
width: 200px;
border-radius: 50%;
position: relative;
transition: transform 0.5s linear;
}
.container.show-nav .circle {
transform: rotate(-70deg);
}
.circle button {
cursor: pointer;
position: absolute;
top: 50%;
left: 50%;
height: 100px;
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;
display: flex;
flex-direction: column;
}
nav ul li {
text-transform: uppercase;
color: white;
margin: 30px 0;
transform: translateX(-100%);
transition: transform 0.4s ease-in;
}
.content img {
max-width: 100%;
height: 200px;
}
.content {
max-width: 1000px;
margin: 50px auto;
}
.content h1 {
margin: 0;
}