Skip to content

UI refresh #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: further wiki index page improvements
  • Loading branch information
carsakiller committed Jul 15, 2024
commit 296cd0765ee59e4563afce6f78767aab79c4161e
27 changes: 23 additions & 4 deletions src/pages/wiki/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if (!contributors) {
<section id="get-started">
<h2>Get Started</h2>
<p>
Below are some good articles for those new to the Lua Language Server
Below are some good articles for those new to the Lua Language Server.
</p>
<div class="grid">
{
Expand All @@ -115,7 +115,7 @@ if (!contributors) {
<div class="subtitle">
<p class="tip">
<i
><b>Tip:</b> You can press <code>&#47;</code> to search the wiki</i
><b>Tip:</b> You can press <code>&#47;</code> to search the wiki!</i
>
</p>
<div class="sorts">
Expand Down Expand Up @@ -192,7 +192,7 @@ if (!contributors) {
<ExternalLink
url="https://github.com/LuaLS/LuaLS.github.io/blob/main/docs/CONTRIBUTING.md"
>
Contribute today!
Help Contribute To The Wiki!
</ExternalLink>
</p>
</section>
Expand Down Expand Up @@ -259,11 +259,15 @@ if (!contributors) {
color: white;
border: solid #0084ff 0.1em;
box-shadow: #0084ff 0px 0px 0.2em 0.1em;
// background-color: #0d2842;
transition: box-shadow 0.25s ease-in-out;
border-radius: 0.5em;
padding: 0.5em 1em;
gap: 0px 0.75em;

&:hover {
box-shadow: #178fff 0px 0px 0.4em 0.3em;
}

:global(.icon) {
font-size: 2.5em;
display: inline-block;
Expand Down Expand Up @@ -334,6 +338,13 @@ if (!contributors) {
p {
color: #ffffffcc;
}

a {
transition: color 0.25s ease-in-out;
&:hover {
color: #ffb700;
}
}
}
}

Expand Down Expand Up @@ -420,6 +431,13 @@ if (!contributors) {
p {
color: #ffffffcc;
}

a {
transition: color 0.25s ease-in-out;
&:hover {
color: #ffb700;
}
}
}
}

Expand All @@ -432,6 +450,7 @@ if (!contributors) {
.subtitle {
display: flex;
flex-wrap: wrap;
margin-bottom: 0.5em;

p.tip {
font-size: 0.7em;
Expand Down