-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (112 loc) · 2.17 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
html {
height: 100%;
}
body {
font-family: 'Open Sans', sans-serif;
color: #333;
background-color: #ABCFDB;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
margin: 0;
color: black;
}
form {
margin: 0 auto;
}
input, textarea {
font-family: 'Open Sans', sans-serif;
box-sizing: border-box;
background-color: white;
border: none;
padding: 10px 20px;
font-size: 20px;
box-shadow: 3px 3px 5px #555;
opacity: .7;
transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
color: black;
}
::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder, ::-ms-input-placeholder { /* Microsoft Edge */
color: grey;
}
input[type="button"] {
font-weight: bold;
text-align: center;
cursor: pointer;
}
input:invalid {
background-color: #FFBDBD;
}
input:hover, input:active {
opacity: 1;
}
textarea.paste {
margin-bottom: 10px;
width: 360px;
resize: none;
height: 49px;
transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}
textarea.paste.extended {
width: 70vw;
height: calc(100vh - 200px);
}
img.paste {
box-sizing: border-box;
max-height: calc(100vh - 200px);
box-shadow: 3px 3px 5px #555;
background-color: white;
display: block;
margin: 0 auto;
}
.custom, .random {
position: absolute;
width: 173px;
transition: width 0.4s ease-in-out;
}
.custom {
left: 0;
}
.random {
right: 0;
}
#expand {
position: relative;
width: 360px;
transition: max-height 0.5s ease-in-out 0s,opacity 0.5s ease-in-out 0s;
margin: 0 auto;
height: 75px;
}
.image {
display: block;
margin: 0 auto;
background-color: white;
box-shadow: 3px 3px 5px #555;
max-width: calc(100vw - 20px);
max-height: calc(100vh - 20px);
}
code {
font-family: 'Inconsolata', monospace;
white-space: pre-wrap;
display: block;
margin: 0 auto;
background-color: white;
box-shadow: 3px 3px 5px #555;
max-width: calc(100vw - 20px);
max-height: calc(100vh - 20px);
}
code.paste {
width: 70vw;
height: calc(100vh - 200px);
padding: 10px 20px;
overflow: auto;
}
#upload {
width: 28px;
position: absolute;
top: 0;
right: 0px;
padding: 13px;
display: block;
}