forked from cortehz/docufix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
text-comparison.html
188 lines (163 loc) · 5.02 KB
/
text-comparison.html
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=<device-width>, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Pacifico|Ubuntu&display=swap" rel="stylesheet">
<title>Docufix | Compare Text</title>
<style>
*{
margin:0px;
padding: 0px;
box-sizing: border-box;
}
body{
padding: 60px 60px 90px 30px;
background-color: #EEF3F3;
font-family: 'Ubuntu', sans-serif;
}
#file-text{
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;;
}
#file{
display: flex;;
border-right: 2px solid black;
padding: 20px 30px 20px 0px;
align-items: center;
}
#text{
display: flex;
padding: 20px 0 20px 30px;
align-items: center;;
}
#text-compare{
display: flex;
padding: 30px 60px;
justify-content: space-between;
}
#text-1{
width: 44%;
}
.labels{
display: flex;
padding: 10px 0px 10px 30px;
width: 100%;
background-color: #000000;
color: white;
margin-bottom: -7px;
font-weight: bold;
}
.labels img{
margin-right: 10px;
}
#arrow{
align-self: center;
}
#text-2{
width: 44%;
}
.input-txt{
margin-top: -15px;
width: 100%;
height: 400px;
padding: 15px 30px;
color: white;;
}
#button{
display: flex;
justify-content: center;
text-align: center;
margin-top: 30px;
}
button{
border-radius: 20px;
background-color: #000000;
color: #ffffff;
padding: 15px 30px;
border: none;
outline: none;
cursor: pointer;
}
button:hover{
font-weight: bold;
background-color: #221e1e;
}
button img{
width: 16.5px;
height: 16.5px;
vertical-align: middle;
margin-right: 10px;
}
@media screen and (max-width: 600px){
body{
padding: 60px 30px;
text-align: center;
}
#main-text{
margin-bottom: 25px;
font-size: 24px;
}
#file-text{
font-size: 18px;
}
#text-compare{
flex-direction: column;
padding: 30px 10px 10px 10px ;
}
#text-2, #text-1{
width: 100%;
}
button{
width: 70%;
font-size: 15px;
}
}
</style>
</head>
<body>
<h1 id="main-text">Compare two documents</h1>
<div id="file-text">
<div id="file">
<img class="top-icons" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571193844/samples/figma%20career-list/lario/xisa8mltboqmepbzjqks.png">
<span class="compare">File</span>
</div>
<div id="text">
<img class="top-icons" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571193193/samples/figma%20career-list/lario/slpij76xxh4f7bpixbr5.png">
<span class="compare">Text</span>
</div>
</div>
<section id="text-compare">
<div id="text-1">
<label for="text" class="two-text">
<div class="labels" >
<img class="white-txt" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571194266/samples/figma%20career-list/lario/ct8pi1qsjgonxsa7zdyn.png">
<span id="white-txt" class="compare">Text</span>
</div>
</label> <br>
<textarea placeholder="Write your text here" class="input-txt"></textarea>
</div>
<div id="arrow">
<img id="compare-txt" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571193103/samples/figma%20career-list/lario/hyu5pvtsmqxymfx5ohwi.png">
</div>
<div class="add-text add-text2" id="text-2">
<label for="text" class="two-text">
<div class="labels">
<img class="white-txt" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571194266/samples/figma%20career-list/lario/ct8pi1qsjgonxsa7zdyn.png">
<span id="white-txt" class="compare">Text</span>
</div>
</label> <br>
<textarea placeholder="Write your text here" class="input-txt"></textarea>
</div>
</section>
<div id="button">
<button type="submit">
<img class="compare-img" src="https://res.cloudinary.com/dtbjhs8a6/image/upload/v1571193103/samples/figma%20career-list/lario/butfaguuckar9dl0i1ug.png">
<span class="compare-btn-txt">COMPARE</span>
</button>
</div>
</body>
</html>