Skip to content

Commit f1f2cf8

Browse files
authored
Merge pull request #21 from JustDeveloper1/main
Add "List of all subdomains" link in "Check Subdomain Availability" h2 html element
2 parents ec49bfd + ba20e13 commit f1f2cf8

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h3>Grab your own sweet-looking <span>.is-a.dev</span> subdomain.</h3>
6060
src="//cdn.carbonads.com/carbon.js?serve=CW7DE2JU&placement=is-adev&format=cover"
6161
id="_carbonads_js"></script>
6262

63-
<h2>Check Subdomain Availability</h2>
63+
<h2>Check Subdomain Availability<small><a target="_blank" href="https://all.is-a.dev/">List of all subdomains</a></small></h2>
6464
<div class="search-cntnr">
6565
<input id="search-domain" disabled type="text">
6666
</div>

styles/main.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,32 @@ input::placeholder {
218218
color: #fff;
219219
background: var(--accent);
220220
}
221+
222+
/* List of all subdomains link (all.is-a.dev) */
223+
@media(min-width: 716px) {
224+
main h2:first-of-type {
225+
display: flex;
226+
flex-direction: row;
227+
flex-wrap: nowrap;
228+
justify-content: space-between;
229+
align-items: flex-end;
230+
small {
231+
opacity: 0.8;
232+
scale: 0.8;
233+
translate: 10% 10%;
234+
-webkit-translate: 10% 10%;
235+
text-decoration: underline;
236+
text-decoration-color: #5f39d396;
237+
:hover {
238+
filter: drop-shadow(0px 0px 5px #5f39d396);
239+
-webkit-filter: drop-shadow(0px 0px 5px #5f39d396);
240+
padding: 0px;
241+
}
242+
}
243+
}
244+
}
245+
@media(max-width: 716px) {
246+
main h2:first-of-type small {
247+
display: none;
248+
}
249+
}

0 commit comments

Comments
 (0)