blowfish/site/styles.css

131 lines
1.9 KiB
CSS

:root {
--color-primary: #f7b737;
--color-secondary: #725418;
--color-signal: #049985;
--border-radius: 0.2rem;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
}
body {
text-rendering: optimizeLegibility;
font-feature-settings: 'liga', 'kern';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh;
background: var(--color-primary);
color: var(--color-secondary);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
font-size: 1rem;
font-weight: 400;
font-style: normal;
line-height: 1.5;
}
h1,
h2,
h3,
.button {
font-family: josefin-sans, sans-serif;
font-weight: 700;
font-style: normal;
}
img,
video,
svg {
max-width: 100%;
height: auto;
margin: 0;
}
a {
color: var(--color-signal);
text-decoration: none;
}
.layout {
max-width: 35rem;
margin: auto;
padding: 1rem;
}
.header {
margin-bottom: 2rem;
}
.screen {
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
text-align: center;
}
.button {
display: inline-block;
background: var(--color-signal);
color: var(--color-primary);
padding: 0.5rem 1rem;
margin-bottom: 1rem;
border-radius: var(--border-radius);
transition: 0.2s ease-out;
min-width: 15rem;
}
.button:hover {
background: var(--color-secondary);
}
.downloads {
margin-top: 2rem;
padding: 0;
text-align: center;
}
.downloads li {
display: block;
}
.release {
text-align: center;
font-size: 0.8rem;
}
.footer {
margin-top: 4rem;
font-size: 0.8rem;
}
code {
background: rgba(255, 255, 255, 0.15);
padding: 0.1rem 0.3rem;
border-radius: var(--border-radius);
display: inline-block;
}
.credit {
margin-bottom: 1rem;
}
.thanks span {
display: block;
}
@media (min-width: 40rem) {
.thanks {
margin: 0;
display: flex;
justify-content: space-between;
}
}