Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.

Commit 144e077

Browse files
committed
updated footer position
1 parent 01a0dbe commit 144e077

4 files changed

Lines changed: 23 additions & 27 deletions

File tree

src/App.vue

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<template>
22
<div id="app">
3+
<div id="appMain">
34
<header>
45
<nav id="navbar" class="navbar is-transparent">
56
<div class="navbar-brand">
@@ -27,7 +28,6 @@
2728
Support
2829
</a>
2930
</div>
30-
3131
<div class="navbar-end">
3232
<div class="navbar-item">
3333
<div class="field is-grouped">
@@ -48,6 +48,14 @@
4848
<keep-alive>
4949
<router-view :auth="auth" :authenticated="authenticated"/>
5050
</keep-alive>
51+
</div>
52+
<footer class="footer">
53+
<div class="content has-text-centered">
54+
<p class="footer-text"><strong>CloudCite</strong> by the Hackdromeda team. The source code is licensed
55+
<a href="https://github.com/avimshah/cloudcite/blob/master/LICENSE">GNU AGPL v3.0</a>. <img width="150" height="50" src="static/a0-badge-light.png"/>
56+
</p>
57+
</div>
58+
</footer>
5159
</div>
5260
</template>
5361

@@ -129,22 +137,21 @@ html {
129137
-webkit-font-smoothing: antialiased;
130138
-moz-osx-font-smoothing: grayscale;
131139
text-align: center;
132-
height: 100vh;
133140
background-image: radial-gradient(#005eea,#32363c);
134141
}
135142
143+
#appMain {
144+
min-height: 100vh;
145+
}
146+
136147
nav {
137148
padding: 5px;
138149
background-color: #fff;
139150
}
140151
141-
.footer {
142-
position: absolute;
143-
bottom: 0;
144-
width: 100%;
145-
padding: 0px;
146-
padding-top: 10px;
147-
padding-bottom: 10px;
152+
footer {
153+
position: static;
154+
width: 100%;
148155
}
149156
150157
.footer img {

src/views/About.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<template>
22
<div class="content" id="about">
3-
<footer class="footer">
4-
<div class="content has-text-centered">
5-
<p class="footer-text"><strong>CloudCite</strong> by the Hackdromeda team. The source code is licensed
6-
<a href="https://github.com/avimshah/cloudcite/blob/master/LICENSE">GNU AGPL v3.0</a>. <img width="150" height="50" src="static/a0-badge-light.png"/>
7-
</p>
8-
</div>
9-
</footer>
103
</div>
114
</template>
125

src/views/EditWebsite.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
<div class="box" id="editwebsitebox">
44
<h1 id="editFormTitle" class="title is-size-4">Edit Website Citation</h1>
55
<b-field grouped>
6-
<b-field label="First Name" expanded>
6+
<b-field label="Author's First Name" expanded>
77
<b-input></b-input>
88
</b-field>
9-
<b-field label="Last Name" expanded>
9+
<b-field label="Author's Middle Name" expanded>
10+
<b-input></b-input>
11+
</b-field>
12+
<b-field label="Author's Last Name" expanded>
1013
<b-input></b-input>
1114
</b-field>
1215
</b-field>
@@ -30,7 +33,7 @@ export default class EditWebsite extends Vue {}
3033
}
3134
@media (max-width: 991.97px) {
3235
#editwebsite {
33-
padding: 10px;
36+
padding: 1px;
3437
margin-left: 5%;
3538
margin-right: 5%;
3639
text-align: center;
@@ -42,7 +45,7 @@ export default class EditWebsite extends Vue {}
4245
padding: 10px;
4346
margin-left: 15%;
4447
margin-right: 15%;
45-
text-align: center;
48+
text-align: left;
4649
justify-content: center;
4750
}
4851
}

src/views/Home.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
<h1 id="welcomeText" class="title is-size-2">Welcome to CloudCite</h1>
66
<Cite/>
77
</div>
8-
<footer class="footer">
9-
<div class="content has-text-centered">
10-
<p class="footer-text"><strong>CloudCite</strong> by the Hackdromeda team. The source code is licensed
11-
<a href="https://github.com/avimshah/cloudcite/blob/master/LICENSE">GNU AGPL v3.0</a>. <img width="150" height="50" src="static/a0-badge-light.png"/>
12-
</p>
13-
</div>
14-
</footer>
158
</div>
169
</template>
1710

0 commit comments

Comments
 (0)