diff --git a/src/routes/[name].svelte b/src/routes/[name].svelte
index f1ca733..41515ca 100644
--- a/src/routes/[name].svelte
+++ b/src/routes/[name].svelte
@@ -182,11 +182,22 @@
padding: 0.25em 1ch;
margin: 1.5em 0 0.5em 0;
font-size: 1.5em;
+ border-radius: 0.5em;
+ cursor: pointer;
+ box-shadow: 0.025em 0.025em 0.025em #000;
}
button:hover {
color: #fff;
}
button:active {
background: #444;
+ box-shadow: none;
+ }
+
+ @media screen and (max-width: 720px) {
+ button {
+ padding: 0.50em 2ch !important;
+ font-size: 1.75em;
+ }
}
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index af41815..7857957 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -7,19 +7,10 @@
-
-
This name generator uses context-free grammars and markov chains to create names faithful to the source material, and does it - very fast. The code is open source and available as a Rust crate. It's - running as a webassembly module in the browser. + very fast. The code is open source and available as a Rust crate. The + website runs this rust code as a webassembly module.
The samples used to build the generator has been sourced from both canon and fan-created works. I will not share the sample
- material as I do not possess permissions for that. Feel free to download the processed generator data, however, which you
- can find by tacking .json to any name, and the index if you want a list. The data
- field serializes into a Name
struct from the rust crate linked above.
+ material because of that.
+ Feel free to download the processed generator data, however, which you can find by tacking .json
to any
+ generator's path.
+ The name.data
field serializes into a Name
struct from the rust library linked above.
- There are no analytics or cookies, and all generating happes in your browser. + There is no analytics or cookies, and all generating happes in your browser.
- To get started, select a generator from the menu. It's below this text on mobile devices. + To get started, select a generator from the menu.
+ + \ No newline at end of file