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,56 +1,73 @@
: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);
body { --background-two: var(--primary-light-two);
display: flex; --background-three: var(--secondary-light-one);
flex-direction: column; --background-four: var(--primary-dark-one);
background-color: var(--background-color-dark); --highlight-one: var(--primary-dark-one);
color: var(--text-color); --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);
} }
alert-box[type="info"] { body {
--alert-border: var(--background-color); display: flex;
--alert-background: var(--text-background); flex-direction: column;
background-color: var(--background-one);
color: var(--text-one);
} }
alert-box { alert-box {
display: block; color: var(--highlight-one);
margin: 3rem 0; display: block;
padding: 2rem 3rem; margin: 3rem 0;
border: 1px solid var(--alert-border); padding: 2rem 3rem;
border-left-width: .5rem; border: 1px solid var(--highlight-one);
border-radius: .4rem; border-left-width: .5rem;
background-color: var(--alert-background); border-radius: .4rem;
background-color: var(--background-three);
a {
color: var(--text-three);
text-decoration: none;
}
} }
a { a {
color: inherit; color: inherit;
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 {
margin: 1rem; color: var(--text-two);
padding: 5px; margin: 1rem;
border-radius: .4rem; padding: 5px;
background-color: var(--text-background); border-radius: .4rem;
} 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;
} }
.inline-icon { .inline-icon {
height: 1.5rem; height: 1.5rem;
width: 1.5rem; width: 1.5rem;
} }

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>