@@ -56,7 +56,7 @@ mod tests {
next: Some(2),
},
"
-
diff --git a/static/book.svg b/static/book.svg
new file mode 100644
index 0000000000..dd926c0110
--- /dev/null
+++ b/static/book.svg
@@ -0,0 +1 @@
+
diff --git a/static/clock.svg b/static/clock.svg
new file mode 100644
index 0000000000..e03baa16f2
--- /dev/null
+++ b/static/clock.svg
@@ -0,0 +1 @@
+
diff --git a/static/cubes.svg b/static/cubes.svg
new file mode 100644
index 0000000000..09a4c7e04e
--- /dev/null
+++ b/static/cubes.svg
@@ -0,0 +1 @@
+
diff --git a/static/diagram-project.svg b/static/diagram-project.svg
new file mode 100644
index 0000000000..744926823e
--- /dev/null
+++ b/static/diagram-project.svg
@@ -0,0 +1 @@
+
diff --git a/static/discord.svg b/static/discord.svg
new file mode 100644
index 0000000000..7414eff45d
--- /dev/null
+++ b/static/discord.svg
@@ -0,0 +1 @@
+
diff --git a/static/gem.svg b/static/gem.svg
new file mode 100644
index 0000000000..8844a77205
--- /dev/null
+++ b/static/gem.svg
@@ -0,0 +1 @@
+
diff --git a/static/github.svg b/static/github.svg
new file mode 100644
index 0000000000..d923a10e8b
--- /dev/null
+++ b/static/github.svg
@@ -0,0 +1 @@
+
diff --git a/static/images.svg b/static/images.svg
new file mode 100644
index 0000000000..4db7a23145
--- /dev/null
+++ b/static/images.svg
@@ -0,0 +1 @@
+
diff --git a/static/index.css b/static/index.css
index 8a2fccecbb..1631fe3a40 100644
--- a/static/index.css
+++ b/static/index.css
@@ -22,8 +22,8 @@ html {
main {
margin: 0 auto;
- padding: 0 1rem 1rem;
max-width: 100%;
+ padding: 0 1rem 1rem;
width: 50rem;
}
@@ -65,7 +65,7 @@ dt {
margin-top: 0.5rem;
}
-.links {
+nav {
align-items: center;
background-color: var(--light-bg);
display: flex;
@@ -73,7 +73,7 @@ dt {
padding: 1rem;
}
-.links > :first-child {
+nav > :first-child {
color: var(--light-fg);
font-weight: bold;
}
@@ -83,6 +83,7 @@ form {
flex-grow: 1;
gap: 1rem;
margin-left: auto;
+ padding-bottom: 0.25rem;
width: 100%;
}
@@ -95,6 +96,10 @@ input[type=text] {
min-width: 0;
}
+input[type=image] {
+ margin-top: 0.2rem;
+}
+
dl {
overflow-wrap: break-word;
}
@@ -104,8 +109,8 @@ ol, ul {
}
@media (max-width: 38rem) {
- .links {
- flex-direction: column;
+ nav {
+ flex-wrap: wrap;
}
}
@@ -218,13 +223,13 @@ a.mythic {
}
.inscription > *:nth-child(1), .inscription > *:nth-child(3) {
+ align-items: center;
color: var(--dark-bg);
+ display: flex;
flex: 1;
font-size: 200%;
- text-decoration: none;
- display: flex;
justify-content: center;
- align-items: center;
+ text-decoration: none;
}
.inscription > a:nth-child(1):hover, .inscription > a:nth-child(3):hover {
@@ -258,3 +263,8 @@ a.mythic {
flex: 1;
text-align: left;
}
+
+.icon {
+ height: 1rem;
+ width: 1rem;
+}
diff --git a/static/magnifying-glass.svg b/static/magnifying-glass.svg
new file mode 100644
index 0000000000..f70fa4e418
--- /dev/null
+++ b/static/magnifying-glass.svg
@@ -0,0 +1 @@
+
diff --git a/templates/home.html b/templates/home.html
index 9593c2ea7d..6c7220aede 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -1,10 +1,4 @@
-
+
Latest Inscriptions
%% for inscription in &self.inscriptions {
{{ Iframe::thumbnail(*inscription) }}
diff --git a/templates/inscriptions.html b/templates/inscriptions.html
index a7d41579e9..61535d00f0 100644
--- a/templates/inscriptions.html
+++ b/templates/inscriptions.html
@@ -1,4 +1,4 @@
-
Inscriptions
+
All Inscriptions
%% for id in &self.inscriptions {
{{Iframe::thumbnail(*id)}}
diff --git a/templates/page.html b/templates/page.html
index 42f32b1e92..250a141be7 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -15,18 +15,21 @@
diff --git a/tests/server.rs b/tests/server.rs
index a8c44dfee4..c9834c2735 100644
--- a/tests/server.rs
+++ b/tests/server.rs
@@ -252,7 +252,7 @@ fn inscriptions_page() {
TestServer::spawn_with_args(&rpc_server, &[]).assert_response_regex(
"/inscriptions",
format!(
- ".*
Inscriptions
+ ".*
All Inscriptions