about summary refs log tree commit diff
path: root/client/src/routes/index.svelte
blob: 965d169e42d2c0ddd50a75ded0104983b35c20a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script lang="ts">
    import Title from '$lib/components/Title.svelte';
    import Form from '$lib/components/Form.svelte';
    import Responses from '$lib/components/Responses.svelte';
</script>

<style>
    main {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .output {
        position: absolute;
        top: 175px;
        width: 100%;
    }

    .content {
        position: relative;
        width: 80%;
    }

    @media (min-width: 800px) {
        .content {
            width: 40%;
        }
    }
</style>

<main>
    <div class="content">
        <Title/>
        <Form/>
        <div class="output">
            <Responses/>
        </div>
    </div>
</main>