-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyling.css
110 lines (110 loc) · 2.24 KB
/
styling.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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
}
.wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 90%;
display: flex;
align-items: center;
justify-content: space-between;
}
.editor-container {
margin: 0em 0.6em 0em 0em;
}
.preview-container {
display: grid;
place-items: center;
}
.editor-container,.preview-container {
display: block;
position: relative;
width: 100%;
background-color:#ffffff;
padding: 2em 1em;
box-shadow: 0em 1.25em 4em rgba(8,6,75,0.15);
border-radius: 0.5em;
}
input[type="file"] {
display: none;
}
label {
display: block;
background-color:#025bee;
color:#ffffff;
width: 12em;
font-size: 1.1em;
text-align: center;
padding: 1em 0em;
border-radius: 0.3em;
margin: auto;
cursor: pointer;
}
.image-container {
margin-bottom: 1em;
}
img {
max-width: 100%;
}
button,a {
border: none;
outline: none;
place-items: center;
cursor: pointer;
}
.options-button {
margin-top: 1em;
display: flex;
align-items: center;
justify-content: space-between;
}
.options-button button {
background-color:#dceafe;
color:#025bee;
border-radius: 0.3em;
font-size: 0.8em;
width: 3.2em;
height: 3.2em;
}
.options-button button img {
width: 1.1em;
}
.action-buttons {
display: flex;
align-items: center;
justify-content: space-around;
margin-top: 1em;
}
#preview,#download {
background-color:#025bee;
color:#ffffff;
padding: 0.8em 1em;
font-size: 1em;
border-radius: 0.3em;
text-decoration: none;
}
.hide {
display: none;
}
@media only screen and (max-width:1200px){
.wrapper {
flex-direction: column;
position: absolute;
top: 1em;
left: 50%;
transform: translateX(-50%);
}
img {
display: block;
width: 60%;
margin: 0% auto;
}
.editor-container {
margin: 0em 0em 0.6em 0em;
}
}