-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
95 lines (76 loc) · 1.32 KB
/
main.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
* {
background: #00000009 !important;
}
div {
margin: 10px;
padding: 10px;
}
.content {
display: flex;
flex-direction: column;
}
.content__buttons {
display: flex;
flex-direction: row;
}
.content__noteCollection {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-auto-rows: minmax(150px, auto);
}
.content__note {
width: 800px;
height: 500px;
}
.content__note {
}
.note {
border-radius: 4px;
box-shadow: 0 1px 0 0 #d7d8db, 0 0 0 1px #e3e4e8;
}
.note__debugInfo {
/* width: 100%; */
}
.note__body {
}
.note__text {
display: block;
width: 100%;
padding: 0px;
border: none;
background-color: transparent;
resize: none;
outline: none;
}
body {
margin: 0;
}
.car {
max-width: 100vw;
max-height: 100vh;
animation-name: drive;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: normal;
transform-origin: top left;
}
:root {
--amplitude: 20px;
--angle: 3deg;
}
@keyframes drive {
/* 0% {
transform: translateY(0px);
}*/
25% {
transform: rotate(var(--angle)) translateY(calc(-1 * var(--amplitude)));
}
75% {
transform: rotate(calc(-1 * var(--angle))) translateY(var(--amplitude));
}
/*100% {
transform: translateY(-40px);
}*/
}