ajust styles and add a link in footer to chapril.org

This commit is contained in:
tykayn 2020-12-01 18:32:12 +01:00 committed by Baptiste Lemoine
parent b6a3c8885b
commit 0c25a2a837
5 changed files with 48 additions and 17 deletions

View File

@ -4,6 +4,7 @@
@import "~bulma-divider";
@import "~buefy/src/scss/buefy";
a.out,
.content a,
.ProseMirror a {
@ -20,6 +21,11 @@ main {
.section {
padding: 1rem 1% 4rem;
&.container {
min-height: 80vh;
}
}
figure img.is-rounded {
@ -129,7 +135,12 @@ $list-item-hover-background-color: $chapril_blue_light !default;
a.router-link-active {
color: $list-item-active-color;
background: $info;
padding: 0.25em;
nav & {
background: #52628d;
}
}
a {
@ -144,9 +155,11 @@ a {
display: block !important;
}
}
.title{
.title {
margin: 1rem auto 1.5rem !important;
}
.setting-title {
margin-top: 2rem;
margin-bottom: 1rem;
@ -161,13 +174,14 @@ a {
}
.breadcrumb {
a{
a {
padding: 0.5em;
}
li:first-child a
{
li:first-child a {
padding-left: 0.5em;
}
.router-link-active,
.is-active {
background: $info !important;
@ -199,11 +213,13 @@ a {
}
}
}
.date-component-container{
.datetime-container{
.date-component-container {
.datetime-container {
margin-right: 1em;
}
}
.date-component {
background-color: $chapril_blue_light !important;
}
@ -211,3 +227,12 @@ a {
.time.datetime-container span.month {
color: $primary-invert;
}
/**
footer
*/
footer.footer[data-v-40ab164b] span.select select{
background: $chapril_blue_light;
color: #000;
}

View File

@ -31,6 +31,9 @@
{{ $t("License") }}
</a>
</li>
<li>
<a href="https://chapril.org"> chapril.org </a>
</li>
</ul>
<div class="content has-text-centered">
<i18n

View File

@ -1,18 +1,15 @@
<template>
<MobilizonLogo />
<img
src='/img/pics/logo_chapril_mobilizon.png'
alt='logo chapril' >
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import MobilizonLogo from "../assets/mobilizon_logo.svg?inline";
@Component({
components: {
MobilizonLogo,
},
})
@Component()
export default class Logo extends Vue {
@Prop({ type: Boolean, required: false, default: false }) invert!: boolean;
}

View File

@ -4,7 +4,7 @@
wrapper-class="container"
:active.sync="mobileNavbarActive"
>
<template slot="brand">
<template slot="start">
<b-navbar-item
tag="router-link"
:to="{ name: RouteName.HOME }"
@ -12,8 +12,6 @@
>
<logo />
</b-navbar-item>
</template>
<template slot="start">
<b-navbar-item tag="router-link" :to="{ name: RouteName.SEARCH }">{{
$t("Explore")
}}</b-navbar-item>
@ -264,7 +262,12 @@ export default class NavBar extends Vue {
</script>
<style lang="scss" scoped>
nav {
.navbar-star {
padding-left: 0.7em;
}
.navbar-item {
min-width: 4em;
padding: 0 1em;
a.button {
font-weight: bold;
}
@ -304,4 +307,7 @@ nav {
background-color: inherit;
}
}
.hero {
margin-bottom: 2em;
}
</style>

View File

@ -31,7 +31,7 @@ $backgrounds: mix($chapril_blue, #ecebf2);
/**
* Text
*/
$purple-1: mix($chapril_blue, #757199);
$purple-1: #52628d;
/**
* Background