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

307 lines
4.6 KiB
CSS
Raw Normal View History

2021-07-25 21:37:10 +02:00
@import url(./colors.css);
@import url(./fonts.css);
@import url(./scaling.css);
2021-07-01 22:53:18 +02:00
* {
padding: 0;
2021-07-25 21:37:10 +02:00
margin: 0;
2021-07-01 22:53:18 +02:00
box-sizing: border-box;
2021-07-25 21:37:10 +02:00
2021-07-26 00:17:00 +02:00
font-family: 'Manrope Regular';
2021-07-25 21:37:10 +02:00
font-size: .85rem;
font-weight: normal;
line-height: 1.5;
scroll-behavior: smooth;
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
body, html {
2021-07-01 22:53:18 +02:00
width: 100%;
2021-07-25 21:37:10 +02:00
color: var(--text);
background-color: var(--surface);
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
2021-07-01 22:53:18 +02:00
body {
background-color: var(--surface);
display: grid;
grid-template-columns: 1fr auto 1fr;
grid-template-areas: 'pad1 content pad2';
}
.grid-container {
2021-07-26 00:29:23 +02:00
width: min(95vw, 135ch);
2021-07-01 22:53:18 +02:00
grid-area: content;
display: flex;
flex-direction: column;
align-items: center;
}
2021-07-25 21:37:10 +02:00
2021-07-01 22:53:18 +02:00
nav {
display: flex;
justify-content: center;
2021-07-25 21:37:10 +02:00
flex-wrap: wrap;
padding: .5rem 3rem 1rem 3rem;
margin-top: 3rem;
2021-07-01 22:53:18 +02:00
}
nav > a {
color: var(--text);
border-bottom: .1rem solid var(--text);
2021-07-25 21:37:10 +02:00
padding: .3rem 2rem;
margin: 1rem 2rem;
2021-07-01 22:53:18 +02:00
2021-07-25 21:37:10 +02:00
font-size: 1.25rem;
text-decoration: none;
transition: color .3s, border-bottom .3s;
2021-07-01 22:53:18 +02:00
}
nav > a:hover {
color: var(--primary);
border-bottom: .1rem solid var(--primary);
}
2021-07-25 21:37:10 +02:00
.presentation {
display: grid;
grid-template-areas: 'logo name'
'logo desc';
grid-template-columns: auto auto;
grid-template-rows: auto auto;
place-items: center start;
padding: 2rem 3rem;
margin: 3rem 0;
max-width: 100%;
background-color: var(--grey3);
border-radius: 1rem;
box-shadow: 0 1rem 2rem var(--grey1);
}
2021-07-25 23:45:57 +02:00
@media screen and (max-width: 650px) {
.presentation {
display: flex;
flex-direction: column;
2021-07-25 23:50:00 +02:00
padding: 1rem 2rem;
}
.presentation > p {
width: auto;
2021-07-25 23:45:57 +02:00
}
}
2021-07-25 21:37:10 +02:00
img {
grid-area: logo;
width: min(20ch, 35vmin);
margin-right: 1rem;
2021-07-01 22:53:18 +02:00
}
header {
2021-07-25 21:37:10 +02:00
grid-area: name;
color: var(--primary);
font-size: 2rem;
margin-left: 1rem;
margin-bottom: 1rem;
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.qwik-explained {
grid-area: desc;
width: min(40ch, 45vmin);
margin-left: 1rem;
text-align: left;
2021-07-25 21:37:10 +02:00
}
2021-07-01 22:53:18 +02:00
h1 {
color: var(--primary);
2021-07-25 23:44:54 +02:00
font-size: 2.5rem;
2021-07-25 21:37:10 +02:00
margin-top: 3rem;
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
h2 {
color: var(--accent);
2021-07-25 23:44:54 +02:00
font-size: 1.5rem;
2021-07-01 22:53:18 +02:00
}
a {
color: var(--accent2);
}
2021-07-25 21:37:10 +02:00
b {
2021-07-26 00:17:00 +02:00
font-family: 'Manrope Bold';
2021-07-25 21:37:10 +02:00
}
2021-07-25 23:45:57 +02:00
p {
margin: 0 auto;
width: min(70ch, 90%);
text-align: justify;
}
ul {
padding: .5rem 2rem;
width: min(70ch, 90%);
2021-07-25 23:45:57 +02:00
}
2021-07-25 21:37:10 +02:00
.services-list {
2021-07-01 22:53:18 +02:00
display: flex;
flex-wrap: wrap;
justify-content: center;
}
2021-07-25 21:37:10 +02:00
.service {
2021-07-26 00:29:23 +02:00
width: min(35ch, 80%);
2021-07-25 21:37:10 +02:00
display: flex;
flex-direction: column;
2021-07-26 00:29:23 +02:00
align-items: center;
2021-07-01 22:53:18 +02:00
2021-07-25 21:37:10 +02:00
margin: 2rem;
padding: 1rem 1.5rem;
background-color: var(--grey3);
border-radius: 1rem;
box-shadow: 0 1rem 2rem var(--grey1);
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.service > h2 {
2021-07-01 22:53:18 +02:00
text-align: center;
2021-07-25 21:37:10 +02:00
}
.service > p {
2021-07-26 00:29:23 +02:00
margin: 1rem auto;
text-align: left;
2021-07-01 22:53:18 +02:00
}
.service > a {
color: var(--primary);
2021-07-25 21:37:10 +02:00
background-color: transparent;
2021-07-01 22:53:18 +02:00
border: .1rem solid var(--primary);
2021-07-25 21:37:10 +02:00
border-radius: 999rem;
2021-07-25 22:28:11 +02:00
/* box-shadow: 0 -5rem 20rem transparent; */
2021-07-25 21:37:10 +02:00
margin-top: auto;
margin-bottom: .5rem;
padding: .5rem;
width: 100%;
display: block;
2021-07-01 22:53:18 +02:00
2021-07-25 21:37:10 +02:00
font-size: 1rem;
text-decoration: none transparent;
2021-07-01 22:53:18 +02:00
text-align: center;
2021-07-25 21:37:10 +02:00
transition: color .3s, background-color .3s, box-shadow .3s;
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.service > a:hover, .service > a:focus {
2021-07-01 22:53:18 +02:00
color: var(--surface);
background-color: var(--primary);
2021-07-25 22:28:11 +02:00
/* box-shadow: 0 .25rem 2rem var(--primary); */
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.maintainer-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.maintainer {
2021-07-01 22:53:18 +02:00
display: flex;
flex-direction: column;
align-items: center;
2021-07-25 21:37:10 +02:00
padding: 1rem 2rem;
margin: 2rem 3rem;
background-color: var(--grey3);
border-radius: 1rem;
box-shadow: 0 1rem 2rem var(--grey1);
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.maintainer > h2 {
margin-bottom: 1rem;
}
.contact-options {
display: grid;
grid-template-columns: auto auto;
2021-07-01 22:53:18 +02:00
}
2021-07-25 21:37:10 +02:00
.contact-type {
2021-07-25 23:44:54 +02:00
font-size: 1rem;
2021-07-01 22:53:18 +02:00
color: var(--accent);
2021-07-25 21:37:10 +02:00
margin-right: 1rem;
}
.contact-options > p {
padding: .5rem 0;
2021-07-01 22:53:18 +02:00
}
2021-07-25 23:44:54 +02:00
.contact-size {
font-size: 1rem;
}
2021-07-01 22:53:18 +02:00
2021-07-02 00:51:28 +02:00
2021-07-25 21:37:10 +02:00
.image {
2021-07-25 23:45:57 +02:00
width: min(55ch, 100%);
margin: 2rem 0;
border-radius: 1rem;
box-shadow: 0 1rem 2rem var(--grey1);
}
2021-07-25 21:37:10 +02:00
footer {
2021-07-01 22:53:18 +02:00
display: flex;
flex-direction: column;
align-items: center;
2021-07-25 21:37:10 +02:00
margin: 15vh 0;
padding: 1rem 5rem;
border-top: .1rem solid var(--accent);
}
footer > p, footer > p > a {
font-size: .65rem;
2021-07-25 23:45:57 +02:00
width: auto;
2021-07-01 22:53:18 +02:00
}
.love {
2021-07-25 21:37:10 +02:00
font-size: .85rem;
2021-07-01 22:53:18 +02:00
}
.heart {
color: var(--accent2);
2021-07-25 21:37:10 +02:00
font-size: 1.15rem;
2021-07-25 23:44:54 +02:00
}