This repository has been archived on 2023-08-02. You can view files and clone it, but cannot push or open issues or pull requests.
qwik-website/styles/main.css

184 lines
2.9 KiB
CSS
Raw Normal View History

2021-07-01 22:53:18 +02:00
@import url('./fonts.css');
@import url('./scaling.css');
:root {
--text: #f2f2ff;
--surface: #181833;
--primary: #3ddf89;
--accent: #4cdcdf;
--accent2: #4c9cef;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: var(--text);
font-family: 'Manrope XLight';
font-weight: unset;
}
html {
width: 100%;
scroll-behavior: smooth;
}
body {
background-color: var(--surface);
display: grid;
grid-template-columns: 1fr auto 1fr;
grid-template-areas: 'pad1 content pad2';
width: 100%;
}
.grid-container {
width: min(95vw, 125ch);
grid-area: content;
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 15vh;
}
nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
margin-top: 5vh;
}
nav > a {
text-decoration: none;
font-size: 1.2rem;
margin: 1rem 2rem;
padding: .3rem 1rem;
color: var(--text);
border-bottom: .1rem solid var(--text);
transition: color .3s, border .3s;
}
nav > a:hover {
color: var(--primary);
border-bottom: .1rem solid var(--primary);
}
.logo {
width: 20vmax;
margin-top: 15vh;
}
header {
font-size: 6rem;
margin-bottom: 35vh;
}
h1 {
margin: 10rem 0 2rem 0;
font-size: 2.5rem;
color: var(--primary);
}
p {
font-size: 1.025rem;
}
a {
color: var(--accent2);
}
.services-list, .maintainer-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.service, .maintainer {
margin: 0 2rem;
padding: 1rem 2rem;
width: 30ch;
border: .1rem solid var(--accent);
border-radius: .5rem;
display: grid;
grid-template-rows: auto 1fr auto;
}
.service > h2, .maintainer > h2 {
color: var(--accent);
text-align: center;
font-size: 1.75rem;
margin-bottom: .5rem;
}
.service > a {
color: var(--primary);
border: .1rem solid var(--primary);
border-radius: 50rem;
font-size: 1.25rem;
text-align: center;
text-decoration: none;
display: block;
margin-top: 2rem;
padding: .5rem 1rem;
transition: color .3s, background-color .3s;
}
.service > a:hover {
color: var(--surface);
background-color: var(--primary);
}
.maintainer {
width: 45ch;
display: flex;
flex-direction: column;
align-items: center;
}
.maintainer > img {
margin: 1rem 0 2rem 0;
width: 70%;
border-radius: 100%;
}
.maintainer > .contact-type {
color: var(--accent);
font-size: 1.25rem;
margin-top: 1rem;
}
footer {
margin-top: 10rem;
padding-top: 1rem;
border-top: .1rem solid var(--accent);
display: flex;
flex-direction: column;
align-items: center;
}
.love {
font-size: 2rem;
display: flex;
align-self: center;
align-items: center;
margin-bottom: 2rem;
}
.heart {
margin-top: -.5rem;
color: var(--accent2);
font-size: 4rem;
}