rsspls.7bit.org/static/home.css

140 lines
2.3 KiB
CSS

@font-face {
font-family: "Firava";
src: url(/fonts/Firava.woff2) format("woff2");
font-display: swap;
font-weight: 100 900;
font-style: normal;
}
@font-face {
font-family: "Firava";
src: url(/fonts/FiravaItalic.woff2) format("woff2");
font-display: swap;
font-weight: 100 900;
font-style: italic;
}
a.link-button {
box-sizing: border-box;
display: inline-block;
letter-spacing: 1px;
text-transform: uppercase;
font-size: 13px;
border-radius: 5px;
padding: 2px 2em 0;
margin: 0.5em 0;
height: 32px;
line-height: 30px;
text-decoration: none;
font-weight: 550;
color: var(--button-text-color);
background: var(--button-color);
}
a.link-button:hover {
background: var(--button-hover-color);
text-decoration: none;
}
a.install-button {
font-size: 18px;
padding: 0.5em 1.5em;
height: auto;
border-radius: 7px;
font-weight: 500;
}
h1 {
font-size: 32px;
font-weight: 600;
border: none;
margin: 0;
padding: 0;
line-height: 1.2;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
time {
font-size: smaller;
}
article h2 {
margin-bottom: 0;
}
p {
margin: 0.5em 0;
}
footer {
background-color: var(--footer-background-color);
color: var(--footer-text-color);
}
footer a,
footer a:hover {
color: var(--footer-text-color);
}
.content.text {
color: var(--content-text-color);
}
.content.text h2,
.content.text .heading-text {
color: var(--content-heading-text-color);
}
.logo {
font-family: var(--header-font-family), sans-serif;
font-weight: 900;
font-style: italic;
}
.nav-item {
font-weight: 600;
}
.content code {
padding: 0;
}
.hero section {
padding: 0 5rem;
}
.version-number {
font-variant-numeric: tabular-nums;
}
@media screen and (max-width: 950px) {
.nav-item {
display: inline-block;
margin: 0.5em 5px;
}
.hero {
flex-direction: column;
padding-top: 100px;
}
.hero section {
padding: 0 2rem;
}
.explore-more {
display: none;
}
}
@media screen and (max-width: 768px) {
.nav-item {
font-size: inherit;
}
.hero {
padding: 40px 30px;
}
}
@media screen and (max-width: 450px) {
header.pos-absolute {
position: relative;
background-color: var(--primary-color);
}
.hero-image {
width: 222px;
}
nav {
text-align: center;
}
}