feat: fix styling
This commit is contained in:
parent
da030f3dc1
commit
865065f89b
7 changed files with 822 additions and 79 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
"remark-math": "^6.0.0"
|
"remark-math": "^6.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@typescript-eslint/parser": "^8.32.1",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"prettier-plugin-astro": "^0.14.1"
|
"prettier-plugin-astro": "^0.14.1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
798
pnpm-lock.yaml
generated
798
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -8,10 +8,11 @@
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
font-family: "Signifier", serif;
|
font-family: "Signifier", serif;
|
||||||
overscroll-behavior: none;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
header,
|
header,
|
||||||
|
|
@ -19,6 +20,19 @@ footer {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
font-size: 1.5em;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,41 +2,10 @@ html,
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
overscroll-behavior: none;
|
||||||
|
min-height: 100vh;
|
||||||
header,
|
|
||||||
footer {
|
|
||||||
font-size: 1.5em;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
flex-direction: column;
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-links a,
|
|
||||||
.footer-links a {
|
|
||||||
margin-left: 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.greek-delta {
|
|
||||||
font-family: "Times New Roman", Times, serif;
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
@ -69,6 +38,10 @@ a {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
.topic a {
|
.topic a {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
||||||
|
|
@ -1,36 +1,7 @@
|
||||||
html,
|
|
||||||
body {
|
|
||||||
font-family: "Signifier", serif;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
height: 100%;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
font-size: 1.5em;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
list-style: unset;
|
|
||||||
list-style-type: "- ";
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-header {
|
.post-header {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -51,7 +22,7 @@ li {
|
||||||
.post-title::before {
|
.post-title::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: var(--topic-color, #000);
|
background-color: var(--topic-color, black);
|
||||||
height: 30px;
|
height: 30px;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
bottom: -10px;
|
bottom: -10px;
|
||||||
|
|
@ -61,7 +32,7 @@ li {
|
||||||
.post-title::after {
|
.post-title::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: var(--topic-color, #000);
|
background-color: var(--topic-color, black);
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
bottom: -10px;
|
bottom: -10px;
|
||||||
|
|
@ -70,7 +41,7 @@ li {
|
||||||
|
|
||||||
.post-meta {
|
.post-meta {
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
color: #000;
|
color: black;
|
||||||
margin-left: 100px;
|
margin-left: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,13 +100,6 @@ const promptText = topic ? `barrett@ruth:~$ ${topic}` : "barrett@ruth:~$";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
header {
|
|
||||||
padding: 20px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-links a {
|
.header-links a {
|
||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "practice makes perfect"
|
title: "practice makes perfect"
|
||||||
date: "05/07/2024"
|
date: "05/07/2025"
|
||||||
useKatex: true
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Today I improved my implementation skills with [Codeforces Round 874 Div. 3 Problem G](https://codeforces.com/contest/1833/problem/G). Despite not solving the problem after a full 45 minutes, I came across to the following realizations:
|
Today I improved my implementation skills with [Codeforces Round 874 Div. 3 Problem G](https://codeforces.com/contest/1833/problem/G). Despite not solving the problem after a full 45 minutes, I came across to the following realizations:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue