File tree 1 file changed +143
-0
lines changed
1 file changed +143
-0
lines changed Original file line number Diff line number Diff line change
1
+ @import url ("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&display=swap" );
2
+
3
+ * {
4
+ margin : 0 ;
5
+ padding : 0 ;
6
+ box-sizing : border-box;
7
+ font-family : "Vazirmatn" , sans-serif;
8
+ }
9
+
10
+ body {
11
+ padding : 0 10px ;
12
+ display : flex;
13
+ align-items : center;
14
+ justify-content : center;
15
+ min-height : 100vh ;
16
+ background : # 101010 ;
17
+ }
18
+
19
+ .wrapper {
20
+ width : 450px ;
21
+ padding : 25px ;
22
+ background : # fff ;
23
+ border-radius : 7px ;
24
+ box-shadow : 0 15px 30px rgba (0 , 0 , 0 , 0.06 );
25
+ }
26
+
27
+ .wrapper .gradient-box {
28
+ height : 220px ;
29
+ width : 100% ;
30
+ border-radius : 7px ;
31
+ background : linear-gradient (to left top, # 5665e9, # a271f8 );
32
+ }
33
+
34
+ .wrapper .row {
35
+ display : flex;
36
+ margin : 20px 0 ;
37
+ justify-content : space-between;
38
+ }
39
+
40
+ .options p {
41
+ font-size : 1.1rem ;
42
+ margin-bottom : 8px ;
43
+ }
44
+
45
+ .row : where (.column , button ) {
46
+ width : calc (100% / 2 - 12px );
47
+ }
48
+
49
+ .options .select-box {
50
+ border-radius : 5px ;
51
+ padding : 10px 15px ;
52
+ border : 1px solid # aaa ;
53
+ }
54
+
55
+ .select-box select {
56
+ width : 100% ;
57
+ border : none;
58
+ outline : none;
59
+ font-size : 1.12rem ;
60
+ background : none;
61
+ }
62
+
63
+ .options .palette {
64
+ margin-left : 60px ;
65
+ }
66
+
67
+ .palette input {
68
+ height : 41px ;
69
+ width : calc (100% / 2 - 20px );
70
+ }
71
+
72
+ .palette input : last-child {
73
+ margin-left : 6px ;
74
+ }
75
+
76
+ .wrapper textarea {
77
+ width : 100% ;
78
+ color : # 333 ;
79
+ font-size : 1.05rem ;
80
+ resize : none;
81
+ padding : 10px 15px ;
82
+ border-radius : 5px ;
83
+ border : 1px solid # ccc ;
84
+ }
85
+
86
+ .buttons button {
87
+ padding : 15px 0 ;
88
+ border : none;
89
+ outline : none;
90
+ color : # fff ;
91
+ margin : 0 0 -15px ;
92
+ font-size : 1.09rem ;
93
+ border-radius : 5px ;
94
+ cursor : pointer;
95
+ transition : 0.3s ease;
96
+ }
97
+
98
+ .buttons .refresh {
99
+ background : # 6c757d ;
100
+ }
101
+
102
+ .buttons .refresh : hover {
103
+ background : # 5f666d ;
104
+ }
105
+
106
+ .buttons .copy {
107
+ background : # 8a6cff ;
108
+ }
109
+
110
+ .buttons .copy : hover {
111
+ background : # 704dff ;
112
+ }
113
+
114
+ @media screen and (max-width : 432px ) {
115
+ .wrapper {
116
+ padding : 25px 20px ;
117
+ }
118
+
119
+ .row : where (.column , button ) {
120
+ width : calc (100% / 2 - 8px );
121
+ }
122
+
123
+ .options .select-box {
124
+ padding : 8px 15px ;
125
+ }
126
+
127
+ .options .palette {
128
+ margin-left : 40px ;
129
+ }
130
+
131
+ .options .colors {
132
+ display : flex;
133
+ justify-content : space-between;
134
+ }
135
+
136
+ .palette input {
137
+ width : calc (100% / 2 - 5px );
138
+ }
139
+
140
+ .palette input : last-child {
141
+ margin-left : 0 ;
142
+ }
143
+ }
You can’t perform that action at this time.
0 commit comments