Skip to content
Snippets Groups Projects
Commit 6336d53b authored by Adam Procter's avatar Adam Procter
Browse files

added some local css styles

Just to make it a little easier to navigate
parent 0a3a475c
No related branches found
No related tags found
No related merge requests found
<template> <template>
<div id="app"> <div id="app">
<div id="nav"> <div id="nav">
<router-link to="/">Home</router-link>| <router-link to="/">Home</router-link>&nbsp;|
<router-link to="/about">About</router-link> <router-link to="/about">About</router-link>
</div> </div>
<h1>nodenogg.in</h1>
<router-view /> <router-view />
</div> </div>
</template> </template>
<style> <style>
@import url('https://rsms.me/inter/inter.css');
#app { #app {
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: 'Inter var', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
}
#nav {
padding: 30px;
} }
#nav a { #nav a {
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
<hr /> <hr />
<!-- <h2>Debug Options</h2> --> <!-- <h2>Debug Options</h2> -->
<h4>LAST UPDATE 29th Feb 2020.</h4> <h4>LAST UPDATE 29th Feb 2020.</h4>
<p>You need to know what these buttons do before you press them.</p> <p>You need to know what this button does before you press it.</p>
<button class="danger" @click="removeLocal()">Join another microcosm</button> <button class="danger" @click="removeLocal()">Join another microcosm</button>
<!-- <button @click="exportStorage()">Export my contributions</button> <!-- <button @click="exportStorage()">Export my contributions</button>
<button class="danger" v-on:click="deleteClient"> <button class="danger" v-on:click="deleteClient">
Delete my contributions (inc. attachments) permanently Delete my contributions (inc. attachments) permanently
</button> </button>
<button @click="handleConnection()">Online check</button>--> <button @click="handleConnection()">Online check</button>-->
<p>That's why they are red.</p> <hr />
</div> </div>
</template> </template>
...@@ -79,6 +79,29 @@ export default { ...@@ -79,6 +79,29 @@ export default {
li:before { li:before {
content: ''; content: '';
} }
.danger {
background-color: red;
}
button {
font-size: 1em;
touch-action: manipulation;
color: white;
border: none;
outline: none;
border-radius: 8px;
box-shadow: 1px 1px 1px #000000;
padding: 0.6em;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
b { b {
background-color: yellow; background-color: yellow;
......
<template> <template>
<div class="home"> <div class="home">
<DeBug />
<div v-if="clientset"> <div v-if="clientset">
<OtherNodeslayer <OtherNodeslayer
v-for="value in otherNodes" v-for="value in otherNodes"
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
/> />
<CanvasLayer /> <CanvasLayer />
<DeBug />
<ControlsLayer /> <ControlsLayer />
</div> </div>
<OnBoard v-else @clientAdded="clientAdded()" /> <OnBoard v-else @clientAdded="clientAdded()" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment