repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
468667e
parent
a2f5945
author
Eric Bower
date
2021-07-23 03:53:35 +0000 UTC
style tweaks
3 files changed,  +30, -14
M src/app.html
+1, -1
 1@@ -10,11 +10,11 @@
 2     <meta property="og:image:height" content="600" />
 3     <meta name="twitter:card" content="summary_large_image" />
 4     <meta property="og:url" content="https://neovimcraft.com" />
 5+    <meta property="og:image" content="https://neovimcraft.com/neovimcraft.png" />
 6     <meta
 7       name="description"
 8       content="Search through our curated neovim plugin directory and read our guides on creating plugins."
 9     />
10-    <meta property="og:image" content="https://neovimcraft.com/neovimcraft.png" />
11     <meta property="og:title" content="neovimcraft" />
12     <meta
13       property="og:description"
M src/lib/nav.svelte
+14, -6
 1@@ -21,8 +21,8 @@
 2 
 3 <div class="nav">
 4   <h1 id="logo">
 5-    neovim craft
 6-    <a href="https://github.com/neurosnap/neovimcraft" target="_blank">
 7+    <a href="/" class="logo-header">neovim craft</a>
 8+    <a href="https://github.com/neurosnap/neovimcraft" class="gh" target="_blank">
 9       <Icon icon="github" />
10     </a>
11   </h1>
12@@ -37,7 +37,7 @@
13       <div class="menu-overlay" on:click={close} />
14       <div class="menu">
15         <div class="menu-header">
16-          <h1>neovim craft</h1>
17+          <h1><a href="/" class="logo-header">neovim craft</a></h1>
18           <div class="menu-btn" on:click={close}><img src="/menu.svg" alt="menu" /></div>
19         </div>
20         <div class="menu-body">
21@@ -55,8 +55,7 @@
22     display: flex;
23     justify-content: space-between;
24     align-items: center;
25-    padding: 0 10px;
26-    padding-bottom: 15px;
27+    padding: 0 25px 15px 25px;
28   }
29 
30   .links {
31@@ -132,10 +131,19 @@
32     align-items: center;
33   }
34 
35-  #logo > a {
36+  .gh {
37     margin-left: 15px;
38   }
39 
40+  .logo-header {
41+    text-decoration: none;
42+    color: var(--text-color);
43+  }
44+
45+  .logo-header:visited {
46+    color: var(--text-color);
47+  }
48+
49   @media only screen and (max-width: 700px) {
50     .nav {
51       padding: 0 15px;
M src/routes/index.svelte
+15, -7
 1@@ -91,6 +91,19 @@
 2   $: filterTotal = filterPlugins({ search, plugins });
 3 </script>
 4 
 5+<svelte:head>
 6+  <title>neovimcraft</title>
 7+  <meta property="og:title" content="neovimcraft" />
 8+  <meta
 9+    name="description"
10+    content="Search through our curated neovim plugin directory and read our guides on creating plugins."
11+  />
12+  <meta
13+    property="og:description"
14+    content="Search through our curated neovim plugin directory and read our guides on creating plugins."
15+  />
16+</svelte:head>
17+
18 <Nav />
19 
20 <div class="container">
21@@ -128,7 +141,7 @@
22 <style>
23   .desc {
24     margin-bottom: 5px;
25-    margin-left: 10px;
26+    margin-left: 25px;
27     grid-row: 1;
28     grid-column: 1;
29     align-items: center;
30@@ -178,21 +191,16 @@
31   .sidebar {
32     grid-column: 1;
33     grid-row: 2;
34-    padding: 0 10px;
35-    overflow-y: auto;
36-    padding-bottom: 25px;
37+    padding: 0 25px 25px 25px;
38   }
39 
40   .plugins {
41     grid-column: 2;
42     grid-row: 2;
43-    overflow-y: auto;
44   }
45 
46   .plugins_list {
47     width: 100%;
48-    overflow-y: auto;
49-    overflow-x: hidden;
50   }
51 
52   @media only screen and (max-width: 700px) {