Skip to content

Commit 935bf5e

Browse files
committed
(v0.3.1-alpha) UI Colors + Buttons
Added some better bg colors and button styls. Made the navbar fixed to the screen. I'm currently having a bug where the horizontal and vertical stuff i overflowing, ah will see soon :P
1 parent 9392e7a commit 935bf5e

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

src/routes/landing.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ function Landing() {
77
<>
88
<section className={"landing"}>
99
<section className={"hero"}>
10-
<h1 className={"header"}>CIPHER</h1>
10+
<h1 className={"header-font"}>
11+
C1PH
12+
<span className={"sigma-font"}>Σ</span>
13+
R
14+
</h1>
1115
<p>Build a CYBERSECURITY related project.</p>
1216
<p>Get <i>laptops</i>, <i>hacker kits</i>, and more!</p>
1317

@@ -36,6 +40,7 @@ function Landing() {
3640
</div>
3741
</div>
3842
</section>
43+
3944
</section>
4045
</>
4146
)

src/styles/components/Navbar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
.nav {
3-
position: absolute;
3+
position: fixed;
44

55
display: flex;
66
flex-direction: row;
@@ -15,7 +15,7 @@
1515
border: 1px solid var(--clr-surface-a10);
1616
border-radius: 1rem;
1717

18-
backdrop-filter: blur(10px) brightness(1.2);
18+
backdrop-filter: blur(0.75rem) brightness(0.5);
1919
}
2020

2121
.nav .logo-container {

src/styles/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55

66
body {
7-
background-color: var(--clr-surface-a0);
7+
background-color: var(--clr-dark-a0);
88
color: var(--clr-primary-a80);
99
margin: 0;
1010
}

src/styles/routes/landing.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
height: 100%;
77

88
display: flex;
9-
align-items: center;
10-
justify-content: center;
119
flex-direction: column;
1210
}
1311

@@ -23,9 +21,12 @@
2321
}
2422

2523
.landing .hero h1 {
24+
font-family: "Cook Widetype", cursive;
25+
letter-spacing: 0.25rem;
26+
2627
font-size: 4rem;
2728
font-weight: 800;
28-
margin: 0;
29+
margin: 0 0 1rem 0;
2930
}
3031

3132
.landing .hero p {
@@ -49,14 +50,16 @@
4950
.landing .hero .buttons .button-container {
5051
padding: 0.75rem 1.5rem;
5152

52-
/*background-color: var();*/
53-
backdrop-filter: brightness(1.5);
53+
/*background-color: var(--clr-surface-a0);*/
54+
outline: 2px solid var(--clr-surface-tonal-a50);
55+
outline-offset: -2px;
56+
5457
color: var(--clr-primary-a70);
5558
border-radius: 0.5rem;
5659

5760
font-weight: 200;
5861
}
59-
.button-container-important {
62+
.landing .hero .buttons .button-container-important {
6063
padding: 0.75rem 1.5rem;
6164

6265
background-color: var(--clr-primary-a0);
@@ -73,18 +76,19 @@
7376
align-items: center;
7477
flex-direction: column;
7578

76-
backdrop-filter: brightness(0.6);
79+
/*backdrop-filter: brightness(1.6);*/
80+
background-color: color-mix(in srgb, var(--clr-surface-a0) 50%, black);
7781

7882
height: 100%;
79-
width: 70%;
83+
width: 65%;
8084

8185
border-radius: 1.25rem 1.25rem 0 0;
8286
border-top: 2px solid var(--clr-surface-a10);
8387
border-right: 2px solid var(--clr-surface-a10);
8488
border-left: 2px solid var(--clr-surface-a10);
8589
border-bottom: 0;
8690

87-
box-shadow: 0 0 10rem -5rem var(--clr-primary-a30);
91+
box-shadow: 0 0 10rem -3rem var(--clr-primary-a30);
8892
}
8993

9094
.landing .hero .terminal .titlebar {

0 commit comments

Comments
 (0)