209 lines
2.7 KiB
SCSS
209 lines
2.7 KiB
SCSS
|
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Space+Mono:ital@0;1&display=swap');
|
||
|
|
||
|
* {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: 'Rethink Sans', sans-serif;
|
||
|
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
background: linear-gradient(337deg, #A855F7 -34.74%, #3B0764 162.02%);
|
||
|
background-clip: text;
|
||
|
|
||
|
text-decoration: none;
|
||
|
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
margin: 0 0 2rem;
|
||
|
|
||
|
background: linear-gradient(337deg, #A855F7 -34.74%, #3B0764 162.02%), #D9D9D9;
|
||
|
|
||
|
color: #fff;
|
||
|
|
||
|
height: 30vh;
|
||
|
|
||
|
> div {
|
||
|
max-width: 1100px;
|
||
|
|
||
|
margin: 0 auto;
|
||
|
|
||
|
padding: 1rem 0;
|
||
|
|
||
|
height: 100%;
|
||
|
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
justify-content: end;
|
||
|
|
||
|
.title {
|
||
|
display: flex;
|
||
|
|
||
|
align-items: center;
|
||
|
|
||
|
gap: 1rem;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
flex: 1;
|
||
|
|
||
|
max-width: 1100px;
|
||
|
|
||
|
margin: 0 auto 2rem;
|
||
|
|
||
|
gap: 2rem;
|
||
|
|
||
|
h2 {
|
||
|
margin-bottom: 1rem;
|
||
|
|
||
|
line-height: 1.5rem;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
margin-bottom: 0.5rem;
|
||
|
|
||
|
line-height: 1.5rem;
|
||
|
}
|
||
|
|
||
|
code, kbd {
|
||
|
background-color: #f3f3f3;
|
||
|
|
||
|
padding: 0.1rem 0.3rem;
|
||
|
|
||
|
border-radius: 4px;
|
||
|
border: 1px solid #ccc;
|
||
|
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
background-color: #f3f3f3;
|
||
|
|
||
|
.footerInner {
|
||
|
display: flex;
|
||
|
|
||
|
justify-content: space-between;
|
||
|
align-items: start;
|
||
|
|
||
|
padding: 16px 0;
|
||
|
|
||
|
max-width: 1100px;
|
||
|
|
||
|
margin: 0 auto;
|
||
|
|
||
|
> .footerText {
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
gap: 0.3rem;
|
||
|
}
|
||
|
|
||
|
> .footerLinks {
|
||
|
display: flex;
|
||
|
|
||
|
justify-content: space-between;
|
||
|
align-items: start;
|
||
|
|
||
|
gap: 2rem;
|
||
|
|
||
|
> div {
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
gap: 0.5rem;
|
||
|
|
||
|
> ul {
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
gap: 0.3rem;
|
||
|
|
||
|
> li {
|
||
|
list-style: none;
|
||
|
|
||
|
> a {
|
||
|
text-decoration: none;
|
||
|
|
||
|
color: #000;
|
||
|
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
> label {
|
||
|
text-transform: uppercase;
|
||
|
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.cards {
|
||
|
display: grid;
|
||
|
|
||
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
||
|
gap: 1rem;
|
||
|
|
||
|
> .card {
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
gap: 0.5rem;
|
||
|
|
||
|
padding: 1rem;
|
||
|
|
||
|
border-radius: 4px;
|
||
|
border: 1px solid #ccc;
|
||
|
|
||
|
> .cardTitle {
|
||
|
font-size: 1.2rem;
|
||
|
}
|
||
|
|
||
|
> .cardDescription {
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
|
||
|
> .cardLink {
|
||
|
text-decoration: none;
|
||
|
|
||
|
color: #000;
|
||
|
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
}
|
||
|
}
|