Skip to content

Commit 526c39c

Browse files
committed
Update styles.css - Moved font import and created classes
1 parent 11a8e6e commit 526c39c

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

css/styles.css

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,63 @@
1-
body {
1+
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
2+
3+
* {
4+
margin: 0;
5+
padding: 0;
6+
box-sizing: border-box;
7+
}
8+
9+
html {
210
font-family: 'JetBrainsMono Nerd Font Mono', monospace;
311
}
412

5-
/* styles.css */
13+
.title {
14+
margin: 0.25rem;
15+
}
16+
617
.center-container {
718
display: flex;
8-
flex-direction: column;
919
justify-content: center;
1020
align-items: center;
11-
height: 100vh;
12-
margin: 0;
21+
min-height: 100vh;
22+
flex-direction: column;
1323
text-align: center;
24+
gap: 0.5rem;
1425
}
1526

16-
h1 {
17-
margin-bottom: 5px;
27+
.icons {
28+
display: flex;
29+
justify-content: center;
30+
align-items: center;
31+
gap: 1rem;
1832
}
1933

20-
p {
21-
margin: 5px 0;
34+
.links-back-to-homepage {
35+
display: flex;
36+
justify-content: center;
37+
align-items: center;
38+
flex-direction: column;
39+
margin-top: 0.25rem;
2240
}
2341

42+
.links-homepage {
43+
display: flex;
44+
justify-content: center;
45+
align-items: center;
46+
flex-direction: column;
47+
gap: 0.25rem;
48+
margin-top: 0.25rem;
49+
}
2450

51+
.link-section {
52+
display: flex;
53+
flex-direction: column;
54+
}
2555

56+
.links-page {
57+
display: flex;
58+
justify-content: center;
59+
align-items: center;
60+
flex-direction: column;
61+
gap: 1rem;
62+
margin-top: 0.25rem;
63+
}

0 commit comments

Comments
 (0)