-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (112 loc) · 2.24 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (112 loc) · 2.24 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Rubik",sans-serif;
}
body{
background-color: #d3e8f5;
}
#logo{
position: absolute;
display: flex;
color: white;
padding-left: 120px;
padding-top: 60px;
font-family: 'Pacifico', cursive;
}
.wrapper{
width: 85vw;
min-height: 50vmin;
padding: 50px 30px;
background-color: rgba(165, 165, 165, 0.5);
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
border-radius: 10px;
box-shadow: 0 20px 35px rgba(0,0,0,0.15);
display: grid;
grid-template-columns: 5fr 7fr;
}
.editor{
min-height: 35vmin;
display: flex;
flex-direction: column;
justify-content: space-around;
gap: 20px;
}
.editor label{
font-size: 2.8vmin;
color: #2a292a;
font-weight: 400;
}
.editor input[type="range"]{
display: block;
width: 100%;
position: relative;
margin-top: 5px;
}
.flip-buttons{
display: flex;
flex-direction: column;
margin-top: 10px;
}
.flip-buttons .flip-option{
margin-top: 10px;
}
.result{
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
gap: 20px;
}
.result img{
display: block;
position: absolute;
max-width: calc(100% - 4vmin);
max-height: 45vmin;
margin-left: 280px;
margin-top: -220px;
}
.image-container{
display: none;
}
input[type="file"]{
display: none;
}
.result label{
display: block;
position: absolute;
margin: 0 auto;
width: 220px;
background-color: #e88e06;
color: #000000;
margin-top: 309px;
margin-left: 345px;
text-align: center;
padding: 16px 0;
border-radius: 5px;
font-size: 2.8vmin;
font-weight: 400;
cursor: pointer;
}
@media screen and (max-width: 620px) {
.wrapper{
width: 95vw;
grid-template-columns: 1fr;
padding: 30px 20px;
gap: 10px;
}
.editor{
grid-row: 2;
}
.flip-buttons{
flex-direction: row;
justify-content: space-between;
}
.flip-buttons .flip-option{
margin-top: 0;
}
}