Skip to content

Commit 07e415f

Browse files
committed
file management: clean up src folder
Signed-off-by: Jess Chitas <[email protected]>
1 parent 807b5ba commit 07e415f

File tree

6 files changed

+107
-115
lines changed

6 files changed

+107
-115
lines changed

src/App.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/* -------------------------------------------------------------------------- */
44

55
/* --------------------------------- Imports -------------------------------- */
6-
import "./App.css";
76
import installIcon from "./assets/gravity-ui--arrow-shape-down-to-line.svg";
87
import githubIcon from "./assets/octicon--mark-github-24.svg";
98
import communityIcon from "./assets/gravity-ui--persons.svg";

src/Nav.css

Lines changed: 0 additions & 70 deletions
This file was deleted.

src/Nav.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* JavaScript file for building the navbar */
33
/* -------------------------------------------------------------------------- */
44

5-
import "./Nav.css";
65
import ramalamaText from "./assets/ramalama-logo-text-only.svg";
76
import ramalamaLogo from "./assets/ramalama-logo-llama-only.svg";
87

src/App.css renamed to src/css/index.css

Lines changed: 106 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,122 @@
11
/* -------------------------------------------------------------------------- */
2-
/* Style Sheet for App.jsx */
2+
/* Style Sheet for index.html */
33
/* -------------------------------------------------------------------------- */
44

5-
/* ----------------------------- Global Styles ----------------------------- */
5+
@font-face {
6+
font-family: "Red Hat Display";
7+
src: url(assets/RedHatDisplay-VariableFont_wght.ttf);
8+
}
69

710
@font-face {
811
font-family: "Red Hat Mono";
912
src: url(assets/RedHatMono-VariableFont_wght.ttf);
1013
}
1114

15+
:root {
16+
font-family: "Red Hat Display", Arial, Helvetica, sans-serif;
17+
line-height: 1.2;
18+
font-weight: normal;
19+
font-size: 1.2rem;
20+
21+
color-scheme: light dark;
22+
color: black;
23+
background-color: #ececec;
24+
25+
font-synthesis: none;
26+
text-rendering: optimizeLegibility;
27+
-webkit-font-smoothing: antialiased;
28+
-moz-osx-font-smoothing: grayscale;
29+
}
30+
1231
* {
1332
box-sizing: border-box;
1433
}
1534

35+
html,
36+
body {
37+
margin: 0;
38+
padding: 0;
39+
}
40+
41+
a {
42+
color: inherit;
43+
text-decoration: inherit;
44+
}
45+
46+
h1 {
47+
font-size: 3.2em;
48+
line-height: 1.1;
49+
}
50+
51+
/* ----------------------------- Navbar Section ---------------------------- */
52+
53+
.logo-text {
54+
width: 20%;
55+
margin: 1.25rem 2rem;
56+
57+
@media screen and (max-width: 1024px) {
58+
width: 30%;
59+
@media screen and (max-width: 768px) {
60+
display: none;
61+
}
62+
}
63+
}
64+
65+
.logo-mascot {
66+
display: none;
67+
width: 20%;
68+
margin: 1.25rem 2rem;
69+
70+
@media screen and (max-width: 768px) {
71+
display: flex;
72+
@media screen and (max-width: 500px) {
73+
width: 50%;
74+
}
75+
}
76+
}
77+
78+
.navbar {
79+
position: fixed;
80+
display: flex;
81+
justify-content: space-between;
82+
align-items: center;
83+
color: #000;
84+
background-color: #ffffffcc;
85+
width: 100%;
86+
}
87+
88+
.navbar-left {
89+
font-size: 1.5rem;
90+
font-weight: bold;
91+
color: #000;
92+
text-decoration: none;
93+
}
94+
95+
.navbar-right .nav-links {
96+
margin: 0 1rem;
97+
list-style-type: none;
98+
display: flex;
99+
}
100+
101+
.navbar-right .nav-links li {
102+
padding: 0 1rem;
103+
}
104+
105+
.navbar-right .nav-links a {
106+
color: #000;
107+
text-decoration: none;
108+
display: inline-flex;
109+
align-items: center;
110+
}
111+
112+
.github-stars-badge {
113+
height: 28px;
114+
@media screen and (max-width: 768px) {
115+
align-content: center;
116+
height: 20px;
117+
}
118+
}
119+
16120
.viewport {
17121
width: 100vw;
18122
height: 100vh;

src/index.css

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/main.jsx

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

55
import { StrictMode } from "react";
66
import { createRoot } from "react-dom/client";
7-
import "./index.css";
7+
import "./css/index.css";
88
import Nav from "./Nav.jsx";
99
import App from "./App.jsx";
1010

0 commit comments

Comments
 (0)