Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
153 lines (136 loc) · 2.8 KB
/
Copy pathstyles.css
File metadata and controls
153 lines (136 loc) · 2.8 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
background-color: rgb(250, 7, 7);
}
.container {
width: 80vmin;
padding: 50px 40px;
background-color: black;
position: absolute; /*Absolute positioning takes elements out of the regular document flow while also affecting the layout of the other elements on the page.*/
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
border-radius: 5px;
box-shadow: 20px 20px 40px rgb(44, 41, 41);
}
span {
display: block;
text-align: center;
font-size: 100px;
}
p,
.list {
font-size: 16px;
color: rgb(0, 0, 0);
font-weight: 400;
text-align: center;
word-wrap: break-word;
line-height: 35px;
margin: 20px 0;
justify-content: space-around;
}
li {
margin: 10px;
background-color: rgb(255, 255, 255);
font-size: 18px;
font-weight: 600;
padding: 3px;
}
li:hover,
button:hover {
animation: wiggle 0.5s;
}
@keyframes wiggle {
25% {
transform: scale(0.7, 1.4);
}
50% {
transform: scale(1.2, 0.7);
}
75% {
transform: scale(0.6, 1.3);
}
}
button {
display: block;
background-color: rgb(125, 125, 126);
border: none;
padding: 5px;
font-size: 18px;
color: black;
font-weight: 600;
padding: 10px 25px;
margin: 40px auto;
border-radius: 5px;
cursor: pointer;
}
.input {
display: block; /* display on own line */
border: none;
padding: 5px;
margin: 0 auto;
border-radius: 5px;
width: 100%;
border: 0;
border-bottom: 2px solid gray;
outline: 0;
font-size: 18px;
color: white;
padding: 7px 0;
background: transparent;
transition: border-color 0.2s;
transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
text-indent: 15px;
}
.input:hover {
border: 1px solid;
box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
outline-color: rgba(255, 255, 255, 0);
outline-offset: 15px;
text-shadow: 1px 1px 2px #427388;
}
img {
width: 100px;
}
@keyframes backgroundColor {
0% {
background: #f11000;
}
25% {
background: #00db63;
}
50% {
background: #55ff00;
}
75% {
background: #f8ae00;
}
100% {
background: #fa2e00;
}
}
body {
animation-name: backgroundColor;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.container {
animation: fadeInAnimation ease 5s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}