feat(rss): Restyle RSS feed to match CI

This commit is contained in:
moanos [he/him] 2024-05-30 12:57:25 +02:00
parent ce6da00581
commit 5965c7f2e5
2 changed files with 55 additions and 38 deletions

View File

@ -1,30 +1,44 @@
:root { :root {
--background-color: #727272; --primary-light-one: #5daa68;
--background-color-dark: #2a2a2a; --primary-light-two: #4a9455;
--text-color: #000000; --primary-dark-one: #17311b;
--link-color: rgb(10, 10, 42); --secondary-light-one: #faf1cf;
--text-background: #aaaaaa; --secondary-light-two: #e1d7b5;
--background-one: var(--primary-light-one);
--background-two: var(--primary-light-two);
--background-three: var(--secondary-light-one);
--background-four: var(--primary-dark-one);
--highlight-one: var(--primary-dark-one);
--highlight-one-text: var(--secondary-light-one);
--text-one: var(--secondary-light-one);
--shadow-one: var(--primary-dark-one);
--text-two: var(--primary-dark-one);
--text-three: var(--primary-light-one);
--shadow-three: var(--primary-dark-one);
} }
body { body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: var(--background-color-dark); background-color: var(--background-one);
color: var(--text-color); color: var(--text-one);
} }
alert-box[type="info"] {
--alert-border: var(--background-color);
--alert-background: var(--text-background);
}
alert-box { alert-box {
color: var(--highlight-one);
display: block; display: block;
margin: 3rem 0; margin: 3rem 0;
padding: 2rem 3rem; padding: 2rem 3rem;
border: 1px solid var(--alert-border); border: 1px solid var(--highlight-one);
border-left-width: .5rem; border-left-width: .5rem;
border-radius: .4rem; border-radius: .4rem;
background-color: var(--alert-background); background-color: var(--background-three);
a {
color: var(--text-three);
text-decoration: none;
}
} }
a { a {
@ -32,21 +46,24 @@ a {
text-decoration: none; text-decoration: none;
} }
.rss-summary {
color: var(--highlight-one);
padding: 15px;
border-radius: .4rem;
background-color: var(--background-three);
}
.post-summary { .post-summary {
color: var(--text-two);
margin: 1rem; margin: 1rem;
padding: 5px; padding: 5px;
border-radius: .4rem; border-radius: .4rem;
background-color: var(--text-background); background-color: var(--background-one);
}
.rss-summary {
padding: 15px;
border-radius: .4rem;
background-color: var(--background-color);
} }
.post-summary h1 { .post-summary h1 {
color: var(--link-color); color: var(--text-one);
font-size: large; font-size: large;
} }

View File

@ -208,7 +208,7 @@
</a> </a>
</h1> </h1>
<div class="text-2 text-offset"> <div class="post-description">
<xsl:value-of select="description"/> <xsl:value-of select="description"/>
</div> </div>
</div> </div>