|
1 | | -@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap"); |
| 1 | +@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); |
2 | 2 |
|
3 | 3 | #controls { |
4 | | - font-family: montserrat; |
5 | | - font-size: 3em; |
6 | | - color: #fff; |
7 | | - position: absolute; |
8 | | - bottom: 40; |
9 | | - right: 40; |
| 4 | + font-family: "Poppins", sans-serif; |
| 5 | + font-size: 2.77vh; |
| 6 | + color: #fff; |
| 7 | + position: absolute; |
| 8 | + bottom: 3.7vh; |
| 9 | + right: 3.7vh; |
10 | 10 | } |
11 | 11 |
|
12 | 12 | .controls { |
13 | | - display: none; |
| 13 | + display: none; |
14 | 14 | } |
15 | 15 |
|
16 | 16 | .dialog { |
17 | | - font-family: montserrat; |
18 | | - background: rgba(33, 33, 33, 0.8); |
19 | | - color: #fff; |
20 | | - position: absolute; |
21 | | - border-top-left-radius: 5px; |
22 | | - border-top-right-radius: 5px; |
23 | | - overflow: hidden; |
24 | | - top: 50%; |
25 | | - left: 50%; |
26 | | - width: 600px; |
27 | | - height: 152px; |
28 | | - transform: translate(-50%, -50%); |
| 17 | + font-family: "Poppins", sans-serif; |
| 18 | + background: #212121; |
| 19 | + color: #fff; |
| 20 | + position: absolute; |
| 21 | + border-radius: 0.46vh; |
| 22 | + overflow: hidden; |
| 23 | + top: 50%; |
| 24 | + left: 50%; |
| 25 | + width: 55.6vh; |
| 26 | + height: 14.1vh; |
| 27 | + padding-bottom: 1vh; |
| 28 | + transform: translate(-50%, -50%); |
29 | 29 | } |
30 | 30 |
|
31 | 31 | .head { |
32 | | - display: flex; |
33 | | - flex-basis: 100%; |
34 | | - align-items: center; |
35 | | - color: #fff; |
| 32 | + display: flex; |
| 33 | + flex-basis: 100%; |
| 34 | + align-items: center; |
| 35 | + justify-content: center; |
| 36 | + color: #fff; |
| 37 | + font-size: 1.6vh; |
| 38 | + font-weight: 500; |
| 39 | + text-transform: uppercase; |
36 | 40 | } |
37 | 41 |
|
38 | 42 | .dialog.big { |
39 | | - height: 200px; |
| 43 | + height: 18.5vh; |
40 | 44 | } |
41 | 45 |
|
42 | 46 | .dialog .head { |
43 | | - background: rgba(25, 25, 25, 0.9); |
44 | | - text-align: center; |
45 | | - height: 40px; |
| 47 | + background: #161616; |
| 48 | + text-align: center; |
| 49 | + height: 3.7vh; |
46 | 50 | } |
47 | 51 |
|
48 | 52 | .dialog .head span::before { |
49 | | - content: ""; |
50 | | - display: inline-block; |
51 | | - height: 100%; |
52 | | - vertical-align: middle; |
| 53 | + content: ""; |
| 54 | + display: inline-block; |
| 55 | + height: 100%; |
| 56 | + vertical-align: middle; |
53 | 57 | } |
54 | 58 |
|
55 | 59 | .dialog input[type="text"] { |
56 | | - width: 60%; |
57 | | - height: 32px; |
58 | | - outline: 0; |
59 | | - background: none; |
60 | | - text-align: center; |
61 | | - margin-top: 26px; |
62 | | - margin-left: 125px; |
63 | | - font-size: large; |
64 | | - transition: all 0.2s ease-in-out; |
65 | | - color: white; |
66 | | - border: 0.5px solid #ffffff3b; |
67 | | - border-radius: 0px; |
| 60 | + width: 60%; |
| 61 | + height: 2.96vh; |
| 62 | + outline: 0; |
| 63 | + background: none; |
| 64 | + text-align: center; |
| 65 | + margin-top: 2.4vh; |
| 66 | + margin-left: 11.6vh; |
| 67 | + font-size: 1.48vh; |
| 68 | + transition: all 0.2s ease-in-out; |
| 69 | + color: white; |
| 70 | + border: 0.05vh solid #ffffff3b; |
| 71 | + border-radius: 0.3vh; |
68 | 72 | } |
69 | 73 |
|
70 | 74 | .dialog input[type="text"]:active, |
71 | 75 | .dialog input[type="text"]:hover { |
72 | | - color: white; |
| 76 | + color: white; |
73 | 77 | } |
74 | 78 |
|
75 | 79 | .dialog textarea { |
76 | | - width: 100%; |
77 | | - height: 128px; |
| 80 | + width: 100%; |
| 81 | + height: 11.85vh; |
78 | 82 | } |
79 | 83 |
|
80 | 84 | .dialog button[name="submit"] { |
81 | | - width: 17.6%; |
82 | | - height: 32px; |
83 | | - margin-left: 160px; |
84 | | - font-weight: 300; |
85 | | - color: rgb(37, 34, 53); |
86 | | - border-radius: 10px; |
87 | | - text-transform: uppercase; |
88 | | - background: rgb(50, 79, 208); |
89 | | - outline: 0; |
90 | | - border: none; |
91 | | - transition: all 0.2s ease-in-out; |
| 85 | + width: 17.6%; |
| 86 | + height: 2.96vh; |
| 87 | + margin-left: 14.8vh; |
| 88 | + font-weight: 500; |
| 89 | + |
| 90 | + color: #fb9b04; |
| 91 | + border-radius: 0.5vh; |
| 92 | + font-size: 1.2vh; |
| 93 | + background: #fb9c0433; |
| 94 | + outline: 0; |
| 95 | + border: none; |
| 96 | + transition: all 0.2s ease-in-out; |
92 | 97 | } |
93 | 98 |
|
94 | 99 | .dialog button { |
95 | | - z-index: 9999; |
96 | | - transform: translate(-0%, 50%); |
| 100 | + z-index: 9999; |
| 101 | + transform: translate(-0%, 50%); |
97 | 102 | } |
98 | 103 |
|
99 | 104 | .dialog button[name="cancel"] { |
100 | | - width: 17.6%; |
101 | | - height: 32px; |
102 | | - margin-left: 60px; |
103 | | - border: none; |
104 | | - text-transform: uppercase; |
105 | | - font-weight: 200; |
106 | | - border-radius: 10px; |
107 | | - color: rgb(53, 34, 34); |
108 | | - outline: 0; |
109 | | - background: #c74545; |
110 | | - transition: all 0.2s ease-in-out; |
| 105 | + width: 17.6%; |
| 106 | + height: 2.96vh; |
| 107 | + margin-left: 5.6vh; |
| 108 | + |
| 109 | + font-weight: 500; |
| 110 | + |
| 111 | + color: #fefefe; |
| 112 | + border-radius: 0.5vh; |
| 113 | + font-size: 1.2vh; |
| 114 | + background: #94949433; |
| 115 | + outline: 0; |
| 116 | + border: none; |
| 117 | + transition: all 0.2s ease-in-out; |
111 | 118 | } |
112 | 119 |
|
113 | 120 | .dialog button[name="cancel"]:hover { |
114 | | - letter-spacing: 1px; |
115 | | - color: #ffffff; |
116 | | - width: 17.6%; |
| 121 | + letter-spacing: 0.09vh; |
| 122 | + transform: scale(1.05) translate(-0%, 50%); |
117 | 123 | } |
118 | 124 |
|
119 | 125 | .dialog button[name="submit"]:hover { |
120 | | - letter-spacing: 1px; |
121 | | - color: white; |
122 | | - width: 17.6%; |
123 | | -} |
124 | | - |
125 | | -.head::before, |
126 | | -.head::after { |
127 | | - content: ""; |
128 | | - flex-grow: 1; |
129 | | - background: #00e1ff; |
130 | | - height: 2px; |
131 | | - margin: 0px 3px; |
| 126 | + letter-spacing: 0.09vh; |
| 127 | + transform: scale(1.05) translate(-0%, 50%); |
| 128 | +} |
| 129 | + |
| 130 | +* { |
| 131 | + font-family: Poppins !important; |
132 | 132 | } |
0 commit comments