-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (146 loc) · 3.65 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>cmd-f project</title>
<script src="https://unpkg.com/cropperjs@next"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lexend:[email protected]&display=swap" rel="stylesheet">
</head>
<style>
:root {
--bg-color: #103140;
--main-color: #FCDA3D;
--seco-color: #2DAD90;
--tert-color: #C4D5DE;
--quart-color: #FFFFFF;
}
html {
height: 100%;
width: 100%;
background-color: var(--bg-color);
color: white;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
font-family: "Lexend", sans-serif;
position: relative;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
}
.introcard, .card {
width: 823px;
height: 375px;
top: 146px;
position: absolute;
background: white;
border-radius: 20px;
}
.highlight {
width: 327px;
height: 63px;
top: 333px;
position: absolute;
opacity: 0.5;
background: #fcda3d;
}
.highlight-text {
top: 270px;
position: absolute;
text-align: center;
color: black;
font-size: 50px;
font-weight: 700;
word-wrap: break-word;
}
.choosefile, .upload-pdf {
text-align: center;
font-size: 25px;
font-weight: 600;
word-wrap: break-word;
}
.choosefile {
color:black;
}
.upload-pdf {
color:white;
border: none;
padding: 15px 30px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
background-color: #2dad90;
border-radius: 50px;
}
.upload {
margin-top: 550px;
}
.upload-form {
display: flex;
flex-direction: row;
}
.backgroundViewPDF {
width: 1280px;
height: 832px;
position: relative;
background: #103140
}
input[type=file] {
border: none;
padding: 15px 30px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
background-color: var(--tert-color);
border-radius: 50px;
}
input[type=submit] {
border: none;
padding: 15px 30px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
background-color: #2dad90;
border-radius: 50px;
}
table, th, td {
border: 1px solid grey;
tr:nth-child(even) {background-color: #f2f2f2;}
text-align:center
}
table {
width: 50%;
}
</style>
<body>
<!-- <div class="logo">Welcome to cmd-f project</div>
<script src="script.js"></script>
<button>
<a href="./viewpdf.html">View PDF</a>
</button>
<button>
<a href="./card.html">View Cards</a>
</button> -->
<div class="wrapper">
<div class="introcard"></div>
<div class="highlight"></div>
<div class="highlight-text">Welcome to<br />ClipNFlip</div>
<div class=upload>
<form id="upload-form" onsubmit="uploadPDFhelper()">
<input class="choosefile" type="file" id="pdf-input" accept=".pdf" />
<!-- <input class="upload-pdf" type="submit" value="Upload PDF"></input> -->
<a href="viewpdf.html" class="upload-pdf">Upload PDF</a>
</form>
</div>
</div>
<script type ="module" src="/index.js"></script>
</body>
</html>