implemented database, article cards, and parsing from markdown.

This commit is contained in:
Joshua Ashton
2025-03-19 23:27:20 -06:00
parent 3b794ae87d
commit 5af0547864
16 changed files with 426 additions and 20 deletions
+75 -7
View File
@@ -7,16 +7,84 @@ body {
background-color: black;
}
.card {
margin: 20% auto;
width: 60%;
padding-top: 50px;
padding-bottom: 50px;
.line {
height: 1px;
width: 100%;
background-color: white;
border-top: 1px solid white;
margin-top: 5px;
margin-bottom: 5px;
}
border: 1px solid white;
.row {
display: flex;
justify-content: space-between;
width: 100%;
margin: 15px 0px 15px 0px;
}
.center-h {
margin: 0 auto;
}
.article_card {
margin: 0 auto;
margin-top: 15%;
padding: 18px;
height: max-content;
width: 60%;
border: 5px solid white;
border-radius: 18px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card_info_box {
display: flex;
}
.col-right {
margin-right: 25px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: end;
}
.card_pic_box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.button {
padding: 15px;
text-decoration: none;
border: 2px solid #00FF41;
color: white;
border-radius: 9px;
}
.tag {
margin: 15px;
padding: 10px;
border-radius: 18px;
border: 2px solid #008F11;
color: white;
text-decoration: none;
}
.tag_row {}
.tag_box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
@media (max-width: 980px) {
+5
View File
@@ -0,0 +1,5 @@
.card_profile_picture {
height: 64px;
width: auto;
border-radius: 50%;
}
+28
View File
@@ -3,11 +3,39 @@ h1 {
color: white;
}
h2 {
font-size: 5vw;
}
h3 {
font-size: 4vw;
}
h4 {
font-size: 3vw;
color: white;
}
h5 {
font-size: 2vw;
}
p {
font-size: 1vw;
color: white;
}
small {
color: white;
}
a.fill_div {
display: block;
height: 100%;
width: 100%;
text-decoration: none;
}
@media (max-width: 980px) {
h1 {
font-size: 4vw;