Files
tabby-web/frontend/src/components/home.component.scss

118 lines
1.7 KiB
SCSS
Raw Normal View History

2021-06-27 16:28:49 +02:00
@import "../theme/vars.scss";
2021-07-16 23:56:03 +02:00
@import "~@fontsource/fira-code/latin.css";
2021-06-27 16:28:49 +02:00
:host {
font-size: 20px;
2021-07-16 23:56:03 +02:00
font-family: 'Fira Code', monospace;
button, a, .quote {
font-family: $font-family-sans-serif;
}
2021-06-27 16:28:49 +02:00
}
.top-half {
background: linear-gradient(#0c141c, #15202b);
2021-07-16 23:56:03 +02:00
h1 {
font-size: 80px;
}
2021-06-27 16:28:49 +02:00
}
.navbar {
display: flex;
padding: 15px 30px;
a, button {
margin-left: 10px;
}
}
.brand {
width: 32px;
}
h1 {
font-family: $font-family-monospace;
font-weight: bold;
font-size: 48px;
text-shadow: 0 0 1px black;
2021-07-16 23:56:03 +02:00
margin: 0 0 25px;
2021-06-27 16:28:49 +02:00
}
.intro {
width: 60vw;
margin: auto;
}
iframe {
display: block;
margin: auto;
position: relative;
top: 20vw;
2021-07-16 23:56:03 +02:00
margin-top: -16vw;
2021-06-27 16:28:49 +02:00
2021-07-16 23:56:03 +02:00
width: calc(min(max(480px, 60vw), 100vw));
height: calc(max(460px, 42vw));
2021-06-27 16:28:49 +02:00
overflow: hidden;
border-radius: 5px;
box-shadow: 0 0 2px black, 0 0 50px #6ef2ff05, 0 0 150px #6854ff14;
}
2021-07-16 23:56:03 +02:00
2021-06-27 16:28:49 +02:00
.bottom-half {
padding-top: 24vw;
}
.quotes {
2021-06-28 09:32:13 +02:00
margin: 50px 0;
2021-06-27 16:28:49 +02:00
display: flex;
justify-content: center;
text-align: center;
.quote {
margin: 0 30px;
.text {
font-size: 50px;
font-style: italic;
}
.author {
font-size: 14px;
}
}
2021-07-16 23:56:03 +02:00
@media (max-width: 600px) {
& { display: none;}
}
2021-06-27 16:28:49 +02:00
}
strong {
2021-07-16 23:56:03 +02:00
background: #849dff;
2021-06-27 16:28:49 +02:00
font-weight: normal;
padding: 2px 7px;
2021-07-16 23:56:03 +02:00
color: black;
2021-06-27 16:28:49 +02:00
}
.section {
2021-06-28 09:32:13 +02:00
padding: 50px 0;
2021-06-27 16:28:49 +02:00
}
.section-a {
background: rgba(0, 0, 0, .5);
}
.section-b {
}
2021-07-27 22:25:19 +02:00
::ng-deep lib-ngx-image-zoom {
width: 100%;
display: block;
img {
min-width: 100px;
max-width: 100%;
2021-07-27 22:29:29 +02:00
width: 100%;
}
2021-07-27 22:25:19 +02:00
}