aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-05-26 18:47:47 +0530
committerBobby <[email protected]>2025-05-26 18:47:47 +0530
commita5b8a69cdae8dbeb4306272d619ea251c6b247b3 (patch)
tree3e9c337ad0a59407c3c4bd05f1a5de07e38bc741 /static
parent65a9943e508d736324338a8746cf49985323684e (diff)
downloadthatcomputerscientist-a5b8a69cdae8dbeb4306272d619ea251c6b247b3.tar.xz
thatcomputerscientist-a5b8a69cdae8dbeb4306272d619ea251c6b247b3.zip
refactor templates as per djlint
Diffstat (limited to 'static')
-rw-r--r--static/css/_partials/weblog_list.css4
-rw-r--r--static/css/blog/post.css8
-rw-r--r--static/css/shared/core.css34
3 files changed, 45 insertions, 1 deletions
diff --git a/static/css/_partials/weblog_list.css b/static/css/_partials/weblog_list.css
index f983fe6b..b6b3aa27 100644
--- a/static/css/_partials/weblog_list.css
+++ b/static/css/_partials/weblog_list.css
@@ -11,6 +11,10 @@
margin: 4px 0px 8px 0px;
}
+.author-info span:last-child {
+ margin-left: 4px;
+}
+
.post-profile-image {
width: 16px;
height: 16px;
diff --git a/static/css/blog/post.css b/static/css/blog/post.css
index ca6fcff7..b6796914 100644
--- a/static/css/blog/post.css
+++ b/static/css/blog/post.css
@@ -17,7 +17,6 @@
top: 8px;
}
-
.weblog-details {
display: flex;
justify-content: space-between;
@@ -164,4 +163,11 @@
font-size: 12px;
font-style: italic;
color: #777;
+}
+
+.post-tags {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 4px;
} \ No newline at end of file
diff --git a/static/css/shared/core.css b/static/css/shared/core.css
index 0c729e06..8e65c00f 100644
--- a/static/css/shared/core.css
+++ b/static/css/shared/core.css
@@ -51,6 +51,8 @@ a:active {
color: #df23c4;
}
+
+
button {
background: #4444b1;
color: #fff;
@@ -165,6 +167,38 @@ img {
border-top: 1px solid #fff;
}
+/* Header Banner */
+.header-banner {
+ position: relative;
+ padding: 20px 0px;
+}
+
+/* Link Button Mimic a Link */
+.link-button {
+ color: #8d8dff;
+ text-decoration: none;
+ cursor: pointer;
+ background-color: transparent;
+ border: none;
+ padding: 0;
+ font: inherit;
+ outline: none;
+}
+
+.link-button:hover {
+ color: #df23c4;
+ background-color: transparent;
+ text-decoration: underline;
+}
+
+.link-button:active {
+ color: #8d8dff;
+}
+
+.link-button:focus {
+ outline: none;
+}
+
/* Pamphlet Ads */
.pamphlet-big {
width: 200px;