about summary refs log tree commit diff
path: root/client/src/routes/index.svelte
blob: 5e51f13d58534b5a57249923c896c1b3da8157c4 (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 '$components/Title.svelte';
	import Form from '$components/Form.svelte';
	import Responses from '$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>