Skip to content

Commit bc6fd64

Browse files
committed
feat: update style
1 parent 9c56c15 commit bc6fd64

2 files changed

Lines changed: 77 additions & 13 deletions

File tree

index.html

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<link rel="preconnect" href="https://fonts.googleapis.com" />
77
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8-
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet" />
8+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet" />
99
<link rel="shortcut icon" type="image/png" href="favicon-32x32.png" />
1010
<link rel="stylesheet" href="./styles.css" />
1111
<title>SimplePDF Embed examples</title>
@@ -28,22 +28,52 @@ <h1>SimplePDF Embed</h1>
2828
<h2>Embed a PDF editor & annotator in your website</h2>
2929
</div>
3030
<div class="content">
31-
<a href="https://simplePDF.eu/embed" target="_blank">🔗 Learn more about SimplePDF Embed</a>
3231
<div class="links-group">
33-
<a href="https://github.com/SimplePDF/simplepdf-embed/blob/main/react/README.md" target="_blank">⚛️ React</a>
32+
<a href="https://github.com/SimplePDF/simplepdf-embed/blob/main/react/README.md" target="_blank">React</a>
3433
|
35-
<a href="https://github.com/SimplePDF/simplepdf-embed/tree/main/web" target="_blank">🚀 Script</a>
34+
<a href="https://github.com/SimplePDF/simplepdf-embed/tree/main/web" target="_blank">Script</a>
3635
|
3736
<a href="https://github.com/SimplePDF/simplepdf-embed/blob/main/documentation/IFRAME.md" target="_blank"
38-
>🛠 Iframe</a
37+
>Iframe</a
3938
>
4039
</div>
40+
<a href="https://simplePDF.eu/embed#ghio" target="_blank">Learn more about SimplePDF Embed<i>🔗</i></a>
41+
<div class="offerings">
42+
<p>
43+
<a href="https://github.com/SimplePDF/simplepdf-embed/"><b>Free</b></a> without any limits and
44+
<b>no account needed</b>
45+
</p>
46+
<a href="http://rto.nstu.ca/FillableForm.html" target="_blank" class="rto-link"
47+
>That's what they did (click on any PDF link on their website)</a
48+
>
49+
<p class="or" o>or</p>
50+
<p>
51+
<a href="https://simplepdf.eu/pricing#ghio"><b>Get an account</b></a>
52+
</p>
53+
<div class="bullet-points">
54+
<ul>
55+
<li><a href="https://simplepdf.eu/portal#ghio" target="_blank">any PDF becomes a web form</a></li>
56+
<li><a href="https://simplepdf.eu/embed#ghio" target="_blank">...with your own branding</a></li>
57+
<li>
58+
<a href="https://simplepdf.eu/help/how-to/configure-webhooks-pdf-form-submissions#ghio" target="_blank"
59+
>...stored in your own storage</a
60+
>
61+
</li>
62+
<li>
63+
<a href="https://simplepdf.eu/help/how-to/configure-webhooks-pdf-form-submissions#ghio"
64+
>...with webhooks notifications</a
65+
>
66+
</li>
67+
</ul>
68+
</div>
69+
</div>
4170
</div>
71+
4272
<iframe
4373
src="https://embed.simplePDF.eu/editor?open=https://www.africau.edu/images/default/sample.pdf"
4474
frameborder="0"
4575
width="100%"
46-
height="820px"
76+
height="1024px"
4777
style="border: 1px solid #efefef"
4878
></iframe>
4979
</body>

styles.css

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,28 @@ h1 {
99
font-size: 32px;
1010
}
1111

12+
i {
13+
font-style: normal;
14+
font-size: 12px;
15+
margin-left: 8px;
16+
}
17+
1218
h1,
1319
h4 {
1420
font-weight: 500;
1521
line-height: 1.4;
1622
text-align: center;
1723
}
1824

25+
a {
26+
color: inherit;
27+
text-decoration: none;
28+
}
29+
30+
a:hover {
31+
text-decoration: underline;
32+
}
33+
1934
.github-star-container {
2035
display: flex;
2136
justify-content: flex-end;
@@ -45,17 +60,36 @@ h4 {
4560
padding-bottom: 60px;
4661
}
4762

63+
.offerings {
64+
text-align: center;
65+
padding-top: 40px;
66+
}
67+
68+
.offerings p {
69+
margin: 0;
70+
}
71+
72+
.rto-link {
73+
font-size: 12px;
74+
color: #737373;
75+
}
76+
77+
.or {
78+
padding: 20px 0;
79+
}
80+
4881
.content > a {
4982
padding: 12px 0;
5083
}
5184

52-
.content > a,
53-
.links-group > a {
54-
color: inherit;
55-
text-decoration: none;
85+
.links-group {
86+
font-size: 14px;
5687
}
5788

58-
.content > a:hover,
59-
.links-group > a:hover {
60-
text-decoration: underline;
89+
.bullet-points {
90+
text-align: left;
91+
display: flex;
92+
justify-content: center;
93+
94+
font-size: 14px;
6195
}

0 commit comments

Comments
 (0)