blob: 463e028c978cd0853bcac9201f241cb480b9f2f8 (
plain) (
blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<template>
<div id="app">
<Logo class="header"/>
<Navigation class="nav"/>
<router-view class="content"/>
<Copyright class="footer"/>
</div>
</template>
<style>
/*
we might want to consider Normalize
*/
:root {
background: gray(95);
}
#app {
z-index: 100;
& > .nav {
grid-area: side;
}
& > .header {
grid-area: logo;
}
& > .content {
grid-area: page;
background: #E1D6CF;
padding: 15px 15px 30px 15px;
border-radius: 15px 15px 0 0;
text-align: justify;
& h1 {
margin: 20px 0 0 0 0;
font-weight: bold;
font-size: 1.3em;
border-bottom: 1px solid #9f9894;
color: gray(24);
&:nth-of-type(1n + 2) {
margin-top: 2em;
}
}
}
& > .footer {
grid-area: footer;
}
font-family: sans-serif;
color: #2c3e50;
width: 100%;
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-areas:
"logo"
"page"
"side"
"footer";
}
@media (min-width: 1100px) {
#app {
grid-column-gap: 0em;
grid-row-gap: 0px;
grid-template-columns: 2fr 4fr;
grid-template-areas:
"logo logo"
"page side"
"footer footer";
& > .content {
background: url(assets/page_footer.webp) no-repeat left bottom #E1D6CF;
min-width: 890px;
padding-bottom: 200px;
border-radius: 15px 0 0 15px;
& p {
margin: 0px 40px 5px 30px;
}
}
}
}
</style>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import Navigation from "@/components/Navigation.vue";
import Logo from "@/components/Logo.vue";
import Copyright from "@/components/Footer.vue";
@Component({
components: {
Navigation,
Logo,
Copyright,
},
})
export default class AppV extends Vue {}
</script>
|