mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-18 15:26:04 +01:00
.
This commit is contained in:
111
frontend/src/components/home.component.scss
Normal file
111
frontend/src/components/home.component.scss
Normal file
@@ -0,0 +1,111 @@
|
||||
@import "../theme/vars.scss";
|
||||
@import "~@fontsource/fira-code/latin.css";
|
||||
|
||||
:host {
|
||||
font-size: 20px;
|
||||
font-family: 'Fira Code', monospace;
|
||||
|
||||
button, a, .quote {
|
||||
font-family: $font-family-sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
.top-half {
|
||||
background: linear-gradient(#0c141c, #15202b);
|
||||
|
||||
h1 {
|
||||
font-size: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
margin: 0 0 25px;
|
||||
}
|
||||
|
||||
.intro {
|
||||
width: 60vw;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
iframe {
|
||||
display: block;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
top: 20vw;
|
||||
margin-top: -16vw;
|
||||
|
||||
width: calc(min(max(480px, 60vw), 100vw));
|
||||
height: calc(max(460px, 42vw));
|
||||
overflow: hidden;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 2px black, 0 0 50px #6ef2ff05, 0 0 150px #6854ff14;
|
||||
}
|
||||
|
||||
|
||||
.bottom-half {
|
||||
padding-top: 24vw;
|
||||
}
|
||||
|
||||
.quotes {
|
||||
margin: 50px 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
|
||||
.quote {
|
||||
margin: 0 30px;
|
||||
|
||||
.text {
|
||||
font-size: 50px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.author {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
& { display: none;}
|
||||
}
|
||||
}
|
||||
|
||||
strong {
|
||||
background: #849dff;
|
||||
font-weight: normal;
|
||||
padding: 2px 7px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 50px 0;
|
||||
|
||||
.screenshot {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.section-a {
|
||||
background: rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
.section-b {
|
||||
}
|
||||
Reference in New Issue
Block a user