mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-05-31 14:12:04 +05:30
lots of unfinished changes
This commit is contained in:
@@ -5,13 +5,7 @@
|
||||
<nav>
|
||||
<a class="brand" href="/">
|
||||
<img src="/logo.png" alt="Project Segfault logo" />
|
||||
<span
|
||||
style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;"
|
||||
>Project</span
|
||||
>
|
||||
<span style="color: var(--accent-primary); margin-right: 8px;"
|
||||
>Segfault</span
|
||||
>
|
||||
<span>Project Segfault</span>
|
||||
</a>
|
||||
|
||||
<input type="checkbox" id="toggle-menu" />
|
||||
@@ -22,13 +16,13 @@
|
||||
</label>
|
||||
|
||||
<div class="links">
|
||||
<a href="https://instances.projectsegfau.lt/">Instances & Gameservers</a
|
||||
<a href="https://instances.projectsegfau.lt/">Hosted services</a
|
||||
>
|
||||
<a href="/minecraft">Minecraft</a>
|
||||
<a href="/donate">Donate</a>
|
||||
<a href="/faq">FAQ</a>
|
||||
<a href="/contact">Contact</a>
|
||||
<a href="/members">Members</a>
|
||||
<a href="/contact">Contact us</a>
|
||||
<a href="/members">Our team</a>
|
||||
<a href="https://blog.projectsegfau.lt/">Blog</a>
|
||||
<a href="/legal">Legal</a>
|
||||
</div>
|
||||
@@ -36,9 +30,10 @@
|
||||
|
||||
<style>
|
||||
nav {
|
||||
background-color: var(--secondary);
|
||||
padding: 1rem;
|
||||
background-color: var(--primary);
|
||||
border-bottom: 1px solid var(--grey);
|
||||
display: flex;
|
||||
padding: .5rem;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -47,6 +42,13 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
gap: 8px;
|
||||
transition: opacity .25s;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.links {
|
||||
@@ -55,32 +57,22 @@
|
||||
}
|
||||
|
||||
.links > * {
|
||||
background-color: var(--tertiary);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 1rem;
|
||||
padding: .5rem;
|
||||
cursor: pointer;
|
||||
color: var(--text);
|
||||
font-family: var(--font-primary);
|
||||
text-decoration: none;
|
||||
transition: color .25s;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.links > *:hover {
|
||||
background-color: var(--accent-tertiary);
|
||||
text-decoration: none;
|
||||
transition: all 0.5s;
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.links > *:active {
|
||||
background-color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
transition: all 0.5s;
|
||||
color: var(--secondary);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
img {
|
||||
height: 36px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
@@ -97,8 +89,7 @@
|
||||
.links {
|
||||
display: none;
|
||||
width: 100%;
|
||||
background-color: var(--secondary);
|
||||
padding-top: 2rem;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
nav {
|
||||
@@ -112,15 +103,17 @@
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
top: 0.45rem;
|
||||
right: 1rem;
|
||||
background-color: var(--tertiary);
|
||||
top: .35rem;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 1rem;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
}
|
||||
|
@@ -14,10 +14,11 @@ html {
|
||||
--primary: #151515;
|
||||
--secondary: #252525;
|
||||
--tertiary: #353535;
|
||||
--accent-primary: #cfce73;
|
||||
--accent-secondary: #9c6fd6;
|
||||
--accent-tertiary: #fcc348;
|
||||
--text: #fff;
|
||||
--accent-primary: #00d4aa;
|
||||
--accent-secondary: #00d4aa;
|
||||
--accent-tertiary: #00d4aa;
|
||||
--text: #ffffffde;
|
||||
--grey: #5454547a;
|
||||
--font-primary: Comfortaa;
|
||||
--font-header: Inter
|
||||
|
||||
|
Reference in New Issue
Block a user