-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
151 lines (124 loc) · 2.21 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
min-height: 100dvh;
display: flex;
justify-content: center;
align-items: center;
background:#8a6cff;
font-family: 'Poppins', sans-serif;
}
.col,button{
width:calc(100%/2 - 20px);
}
.container{
width: 30%;
padding: 20px 20px 8px;
background: #fff;
border-radius: 7px;
box-shadow: 3px 4px 10px #555;
}
.gradient-box{
height: 150px;
border-radius: 7px;
background-image: linear-gradient(to left top, #360033,#0b8793);
}
.row{
display: flex;
margin: 20px 0;
justify-content: space-between;
}
.direction p{
font-size: 1.12rem;
margin-bottom: 8px;
}
.select-box{
border: 1px solid #222;
padding: 5px;
border: 1px solid #aaa;
border-radius: 5px;
}
.select-box select{
width: 100%;
border: none;
outline: none;
font-size: 1rem;
}
.colors{
margin-left: 50px;
}
.colors p{
font-size: 1.12rem;
margin-bottom: 8px;
}
.colors input{
height: 40px;
width: calc(100%/2 -12px);
outline: none;
border: none;
margin-right: 10px;
}
.colors input:last-child{
margin-right: 0;
}
textarea{
width:100%;
color: #555;
padding: 10px 15px;
resize: none;
border-radius: 5px;
font-size: 1.05rem;
border: 1px solid #ccc;
font-family: 'Poppins', sans-serif;
}
.buttons button{
color: #fff;
cursor: pointer;
padding: 10px 15px;
font-size: 1.05rem;
border: none;
outline: none;
border-radius: 5px;
}
.buttons .refresh{
background-color: #6c757d;
}
.buttons .copy{
background-color: #8a6cff;
}
@media (width <=1064px) {
.container{
width: 40%;
}
}
@media (width <=800px) {
.container{
width: 50%;
}
}
@media (width <=650px) {
.container{
width: 70%;
}
.colors {
margin-left: 10px;
padding-left: 23px;
}
}
@media (width <=500px) {
.container{
width: 85%;
}
.colors {
margin-left: 0px;
padding-left: 0px;
}
.colors input {
margin-right: 0px;
width: 90%;
}
}