-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (99 loc) · 1.7 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
* {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
margin: 0;
padding: 0;
font-size: 16px;
line-height: 1.6;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
}
h1 {
margin: 0;
text-align: center;
font-size: 36px;
font-weight: normal;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
section.tool {
padding: 20px;
margin-bottom: 20px;
background-color: #eee;
border-radius: 5px;
}
section.tool h2 {
margin-top: 0;
}
textarea,
input[type="number"],
input[type="text"],
input[type="file"],
select {
display: block;
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: none;
border-radius: 5px;
background-color: #fff;
font-size: 16px;
}
button {
display: block;
margin: 10px auto;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #333;
color: #fff;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #444;
}
@media only screen and (max-width : 480px) {
main {
padding: 10px;
}
section.tool {
padding: 10px;
margin-bottom: 10px;
}
}
#base64-img-output img {
max-width: 100%;
height: auto;
margin-bottom: 10px;
}
textarea.output.copied,
input[type="text"].output.copied {
background-color: #d9e6f2;
}
span.copied {
display: inline-block;
padding: 5px;
margin-left: 5px;
border-radius: 5px;
background-color: #333;
color: #fff;
font-size: 16px;
animation: fade-out 1s forwards;
}
@keyframes fade-out {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}