-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (111 loc) · 2.13 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
:root{
--colour1: #f1c40f;
--colour2: #2c3e50;
--speed: 1s;
}
@font-face {
font-family: 'pokefont';
src: url('fonts/pokemon_fire_red.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('fonts/pokemon_fire_red.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
#container{
border: 3px solid black;
border-radius: 3px;
}
@media only screen and (min-width:960px) {
#container{
width: 250px;
}
h2{
font-size: 3em;
}
.all{
display: flex;
margin: auto;
width: 70%;
}
.container{
width: 10%;
}
.inputs{
width: 40%;
top: 100px;
margin-right: 5%;
background-color: #ffffff99;
padding: 10px;
border-radius: 10px;
}
}
@media only screen and (max-width:960px) {
#container{
width: 90%;
}
h2{
font-size: 4.5vh;
}
body{
border: 3px solid #00000055;
height: 100%;
border-radius: 5px;
}
.inputs{
margin: 10px;
margin-top: 20px;
}
.container{
width: 100%;
}
}
h2{
font-family: "pokefont";
}
.container{
text-align:center;
}
canvas{
font-family: "pokefont";
}
@keyframes slide {
from {
background-position-x: 0;
}
to {
background-position-x: 100px;
}
}
.bar {
min-height: 30px;
border-radius: 10px;
width: 100%;
@media only screen and (max-width: 450px) {
width: 100%;
}
@media only screen and (max-width: 350px) {
width: 100%;
}
box-shadow: 0px 10px 13px -6px rgba(44, 62, 80, 1);
background-color: var(--colour2);
background-image: repeating-linear-gradient(
45deg,
transparent,
transparent 5%,
var(--colour1) 5%,
var(--colour1) 10%
);
animation: slide var(--speed) linear infinite;
will-change: background-position;
}
#gif{
display: block;
margin-left: auto;
margin-right: auto;
}
#download-button{
margin-top: 10px;
}
#modal-body{
text-align: center;
}
#generate-button{
width: 100%;
}