mindlair/content/static/assets/css/custom.css
Irrlicht 692dda752f [style][template][config] Switch to Pelican and put the basic layout in place
- wi choose to switch to Pelican static site generator because it's
  written in Python, a language quite accessible to iss. It is also the
  same tool wi use for irr blog. It just makes sense.
- Design the landing page by overriding the index template using Pelican
  THEME_TEMPLATES_OVERRIDE to simplify the change.
- Design the contact page with gpg key and OMEMO fingerprint sign using
  that key.
- Custom CSS for the banner and the link card of the landing page.
2025-10-07 08:17:02 +02:00

65 lines
1.1 KiB
CSS

:root {
--color-light: #ccc;
}
.banner {
font-variant: all-small-caps;
font-family: sans-serif;
background-image: linear-gradient(90deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}
.column {
display: flex;
flex-direction: column;
text-align: middle;
align-items: center;
}
.row {
display: flex;
flex-direction: row;
}
a.card {
display: flex;
flex-direction: row;
width: 50%;
margin: 0 1em 0 1em;
text-decoration: none;
color: var(--color-purple-darker);
border: solid 2px;
border-radius: 20px;
}
.description {
width: 50%;
padding: 10px;
}
.logo {
display: block;
max-width: 7em;
height: initial;
margin: auto;
border-radius: 0;
padding: 0;
}
@media (prefers-color-scheme: dark) {
a.card {
color: var(--color-light);
border-color: var(--color-light);
}
}
@media (max-width: 880px) {
.row {
flex-direction: column;
}
a.card {
width: 100%;
margin: 1em 0 1em 0;
}
}