Edit global style and component structure
This commit is contained in:
parent
88bac001d8
commit
53e513a55b
15 changed files with 816 additions and 215 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
|
||||
<main>
|
||||
<HeroTitle class="hero-title" />
|
||||
<HeroSection class="hero-section" />
|
||||
<ContactSection class="contact-section" />
|
||||
</main>
|
||||
|
||||
|
@ -22,23 +22,23 @@
|
|||
<style lang="scss" scoped>
|
||||
|
||||
// --------------------------------------------------
|
||||
// LAYOUT
|
||||
// STYLE
|
||||
// --------------------------------------------------
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
padding: 2rem;
|
||||
padding: 0 2rem;
|
||||
display: grid;
|
||||
grid:
|
||||
'hero-title' auto
|
||||
'hero-section' auto
|
||||
'contact-section' auto
|
||||
/ 1fr;
|
||||
place-content: start center;
|
||||
place-items: start center;
|
||||
row-gap: 4rem;
|
||||
|
||||
.hero-title {
|
||||
grid-area: hero-title;
|
||||
.hero-section {
|
||||
grid-area: hero-section;
|
||||
}
|
||||
|
||||
.contact-section {
|
||||
|
@ -46,11 +46,11 @@
|
|||
}
|
||||
|
||||
@media screen and (min-width: $tablet-media-query) {
|
||||
padding: 2rem 4rem;
|
||||
padding: 0 4rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $desktop-media-query) {
|
||||
padding: 2rem 6rem;
|
||||
padding: 0 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue