1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-11-25 03:20:14 +01:00
blowfish/site/styles.css

169 lines
2.5 KiB
CSS
Raw Normal View History

2020-02-26 23:28:34 +01:00
:root {
--color-primary: #f7b737;
--color-secondary: #725418;
--color-signal: #049985;
--border-radius: 0.2rem;
--font-family-base: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
2020-02-26 23:28:34 +01:00
}
*,
*::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: var(--font-family-base);
2020-02-26 23:28:34 +01:00
font-size: 1rem;
font-weight: 400;
font-style: normal;
line-height: 1.6;
2020-02-26 23:28:34 +01:00
}
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;
}
code {
background: rgba(255, 255, 255, 0.15);
padding: 0.1rem 0.3rem;
border-radius: var(--border-radius);
display: inline-block;
}
2020-02-26 23:28:34 +01:00
a {
color: var(--color-signal);
text-decoration: none;
}
.layout {
max-width: 35rem;
margin: auto;
padding: 1rem;
}
.header {
margin-bottom: 2rem;
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
color: var(--color-signal);
}
.header strong {
font-size: 1.2rem;
}
2020-02-26 23:28:34 +01:00
.screen {
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
text-align: center;
}
.screen img {
display: inline-block;
}
@media (min-width: 60rem) {
.screen img {
max-width: 60rem;
}
}
2020-02-26 23:28:34 +01:00
.button {
font-size: 1.2rem;
2020-02-26 23:28:34 +01:00
display: inline-block;
background: var(--color-signal);
color: var(--color-primary);
padding: 1rem;
2020-02-26 23:28:34 +01:00
margin-bottom: 1rem;
border-radius: var(--border-radius);
transition: 0.2s ease-out;
min-width: 15rem;
}
.button:hover {
background: var(--color-secondary);
}
.button span {
font-size: 1rem;
margin-left: 0.25rem;
font-family: var(--font-family-base);
font-weight: 400;
}
2020-02-26 23:28:34 +01:00
.downloads {
margin-top: 2rem;
padding: 0;
text-align: center;
}
.downloads a:not(.button) {
margin-left: 1rem;
margin-right: 1rem;
}
2020-02-26 23:28:34 +01:00
.downloads li {
display: inline;
}
.downloads li:first-child {
2020-02-26 23:28:34 +01:00
display: block;
}
.release {
text-align: center;
font-size: 0.8rem;
}
.footer {
margin-top: 4rem;
font-size: 0.8rem;
}
.credit {
margin-bottom: 1rem;
}
.thanks span {
display: block;
}
@media (min-width: 40rem) {
.thanks {
margin: 0;
display: flex;
justify-content: space-between;
}
}