Small visual tweaks
This commit is contained in:
parent
db6dc225cf
commit
2cba0279e6
5 changed files with 30 additions and 7 deletions
|
@ -1,5 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<h1 id="title" :class="[size, { center: center }]" class="bold">
|
<h1
|
||||||
|
id="title"
|
||||||
|
:class="[size, { center: center }, { outline: outline }]"
|
||||||
|
class="bold"
|
||||||
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</h1>
|
</h1>
|
||||||
</template>
|
</template>
|
||||||
|
@ -15,12 +19,18 @@ export default {
|
||||||
center: {
|
center: {
|
||||||
default: true,
|
default: true,
|
||||||
type: Boolean
|
type: Boolean
|
||||||
|
},
|
||||||
|
outline: {
|
||||||
|
default: false,
|
||||||
|
type: Boolean
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass" scoped>
|
<style lang="sass" scoped>
|
||||||
|
@import '@/style/theme.sass'
|
||||||
|
|
||||||
#title.tiny
|
#title.tiny
|
||||||
font-size: 1em
|
font-size: 1em
|
||||||
#title.small
|
#title.small
|
||||||
|
@ -31,10 +41,17 @@ export default {
|
||||||
font-size: 1.7em
|
font-size: 1.7em
|
||||||
#title.huge
|
#title.huge
|
||||||
font-size: 2em
|
font-size: 2em
|
||||||
|
#title.giant
|
||||||
|
font-size: 3em
|
||||||
|
|
||||||
#title.center
|
#title.center
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
#title.outline
|
||||||
|
color: transparent
|
||||||
|
-webkit-text-stroke-width: 1.5px
|
||||||
|
-webkit-text-stroke-color: $secondary
|
||||||
|
|
||||||
.bold
|
.bold
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
class="space-bottom"
|
class="space-bottom"
|
||||||
:class="{ 'center-content': center }"
|
:class="{ 'center-content': center }"
|
||||||
>
|
>
|
||||||
<BaseTitle v-if="title" center size="huge" class="centered pt-5 pb-2">
|
<BaseTitle v-if="title" center size="giant" class="centered" outline>
|
||||||
{{ title }}
|
{{ title.toUpperCase() }}
|
||||||
</BaseTitle>
|
</BaseTitle>
|
||||||
<slot />
|
<slot />
|
||||||
</BaseContainer>
|
</BaseContainer>
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
center
|
center
|
||||||
:class="{ 'center-content': center }"
|
:class="{ 'center-content': center }"
|
||||||
>
|
>
|
||||||
<BaseTitle v-if="title" center size="huge" class="centered">
|
<BaseTitle v-if="title" center size="giant" class="centered" outline>
|
||||||
{{ title }}
|
{{ title.toUpperCase() }}
|
||||||
</BaseTitle>
|
</BaseTitle>
|
||||||
<slot />
|
<slot />
|
||||||
</BaseContainer>
|
</BaseContainer>
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<LayoutMinimal title="Changelog">
|
<LayoutMinimal title="Changelog">
|
||||||
|
<BaseTitle size="small">
|
||||||
|
21.05.2021
|
||||||
|
</BaseTitle>
|
||||||
|
<ul>
|
||||||
|
<li>Visual tweaks</li>
|
||||||
|
</ul>
|
||||||
<BaseTitle size="small">
|
<BaseTitle size="small">
|
||||||
12.04.2021
|
12.04.2021
|
||||||
</BaseTitle>
|
</BaseTitle>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<LayoutMinimal center title="Couldn't find what you were looking for :(">
|
<LayoutMinimal center title="404">
|
||||||
404
|
Couldn't find what you were looking for :(
|
||||||
</LayoutMinimal>
|
</LayoutMinimal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue