Styling, adjustments
[vchess.git] / client / src / views / About.vue
CommitLineData
92a523d1 1<template lang="pug">
7aa548e7
BA
2main
3 .row
4 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
72ccbd67 5 div(v-html="content")
92a523d1
BA
6</template>
7
7dec8d87
BA
8<script>
9import { store } from "@/store";
10
11export default {
12 name: 'my-about',
13 data: function() {
14 return {
15 st: store.state,
72ccbd67 16 content: "",
7dec8d87
BA
17 };
18 },
72ccbd67
BA
19 mounted: function() {
20 this.content =
21 require("raw-loader!@/translations/about/" + this.st.lang + ".pug")
22 // Next two lines fix a weird issue after last update (2019-11)
23 .replace(/\\[n"]/g, " ")
24 .replace('module.exports = "', '').replace(/"$/, "");
25 },
7dec8d87
BA
26};
27</script>
28
92a523d1
BA
29<style lang="sass">
30.warn
31 padding: 3px
32 color: red
33 background-color: lightgrey
34 font-weight: bold
35
36p.boxed
37 background-color: #FFCC66
38 padding: 5px
39
40.stageDelimiter
41 color: purple
42
43.section-title
44 padding: 0
45
46.section-title > h4
47 padding: 5px
48
49ol, ul:not(.browser-default)
50 padding-left: 20px
51
52ul:not(.browser-default)
53 margin-top: 5px
54
55ul:not(.browser-default) > li
56 list-style-type: disc
57</style>