Get index page to render basic info

The structure is not even close to being finished, and only looks decent on desktop.
This commit is contained in:
2023-01-10 00:36:16 +01:00
parent 9e86bbec3e
commit 1c4edf415c
3 changed files with 93 additions and 30 deletions

View File

@@ -39,7 +39,7 @@ a {
}
a:hover {
color: pink;
color: #d9b9e6
}
/* Generic class to make things unselectable */
@@ -63,6 +63,34 @@ a:hover {
margin: auto;
}
.ptheme-global-navbar_primary {
background-color: #201724;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
text-align: center;
white-space: nowrap;
text-transform: uppercase;
}
.ptheme-global-navbar_primary ul {
display: block;
width: 100%;
}
.ptheme-global-navbar_primary li {
display: inline-block;
}
.ptheme-index-post_article {
padding: 20px 0;
display: flex;
flex-direction: row;
}
.ptheme-content_main {
max-width: 1260px;
width: 80%;
@@ -70,17 +98,38 @@ a:hover {
overflow: hidden;
}
.ptheme-index-post_article {
padding: 20px 0;
.ptheme-index-post_feature-image-container {
display: flex;
flex-direction: column;
justify-content: center;
}
a.ptheme-index-post_article_link {
display: flex;
flex-direction: row;
}
.ptheme-index-post_feature-image {
max-width: 100%;
width: 250px;
height: 140px;
padding: 20px;
object-fit: cover;
border-radius: 25px;
}
.ptheme-index-post_excerpt {
width: 100%;
text-align: justify;
}
.ptheme-index-post_footer {
padding: 10px;
display: flex;
justify-content: right;
align-items: center;
}
.ptheme-index-post_author-image {
width: 25px;
padding: 10px;
border-radius: 100%;
}
.kg-width-wide {