Skip to content

Commit baba5e7

Browse files
authored
Update style.css
1 parent 4762478 commit baba5e7

File tree

1 file changed

+35
-13
lines changed

1 file changed

+35
-13
lines changed

style.css

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import url('https://unpkg.com/@catppuccin/palette/css/catppuccin.css');
22

3-
:root {
3+
:root {
44
font-family: Inter, sans-serif;
55
font-feature-settings: 'liga' 1, 'calt' 1;
66
word-wrap: break-word;
@@ -18,11 +18,15 @@ body {
1818
background: rgb(var(--ctp-latte-base-rgb));
1919
margin: 0;
2020
font-size: 1rem;
21+
min-height: 100vh;
22+
display: flex;
23+
flex-direction: column;
2124
}
2225

2326
.content {
24-
margin: 1em;
25-
padding: 2em 0 4em;
27+
margin: 1em;
28+
padding: 2em 0 4em;
29+
flex-grow: 1;
2630
}
2731

2832
h1 {
@@ -36,7 +40,7 @@ h1 {
3640

3741
.headerbar {
3842
display: flex;
39-
background: rgba(239, 241, 245, 0.8);
43+
background: rgba(239, 241, 245, 0.8);
4044
justify-content: center;
4145
align-items: center;
4246
height: 2.9375rem;
@@ -91,13 +95,31 @@ h1 {
9195
border-radius: 0.375rem;
9296
}
9397

94-
body > footer {
95-
background-color: var(--ctp-frappe-base);
96-
color: var(--ctp-frappe-text);
97-
flex-basis: auto;
98-
flex-grow: 0;
99-
flex-shrink: 0;
100-
line-height: 4em;
101-
padding: 1rem 1rem 0;
102-
text-align: center;
98+
body > footer {
99+
background-color: var(--ctp-frappe-base);
100+
color: var(--ctp-frappe-text);
101+
flex-basis: auto;
102+
flex-grow: 0;
103+
flex-shrink: 0;
104+
line-height: 4em;
105+
padding: 1rem 1rem 0;
106+
text-align: center;
107+
margin-top: auto;
108+
}
109+
110+
.social {
111+
list-style: none;
112+
padding: 0;
113+
margin: 0;
114+
display: flex;
115+
justify-content: center;
116+
}
117+
118+
.social li {
119+
margin: 0 0.5rem;
120+
}
121+
122+
.social a {
123+
color: inherit;
124+
text-decoration: none;
103125
}

0 commit comments

Comments
 (0)