Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
e1d92c9c
Commit
e1d92c9c
authored
Jun 27, 2019
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sticky footer
parent
d26176e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
12 deletions
+25
-12
validata_ui/static/validata.css
validata_ui/static/validata.css
+23
-0
validata_ui/templates/base_template.html
validata_ui/templates/base_template.html
+2
-12
No files found.
validata_ui/static/validata.css
0 → 100644
View file @
e1d92c9c
/* VALIDATA stylesheet based on bootstrap */
html
{
position
:
relative
;
min-height
:
100%
;
}
body
{
font-family
:
system-ui
,
BlinkMacSystemFont
,
-apple-system
,
Segoe
UI
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
Fira
Sans
,
Droid
Sans
,
Helvetica
Neue
,
sans-serif
;
/* margin-bottom by footer height + footer top margin */
margin-bottom
:
245px
;
}
.footer
{
/* sticky footer */
background-color
:
#f5f5f5
;
padding
:
3em
;
/* margin-top: 5em; */
height
:
215px
;
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
}
validata_ui/templates/base_template.html
View file @
e1d92c9c
...
@@ -10,19 +10,9 @@
...
@@ -10,19 +10,9 @@
<!-- Bootstrap CSS -->
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.5.0/css/all.css"
integrity=
"sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.5.0/css/all.css"
integrity=
"sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
crossorigin=
"anonymous"
>
<!-- Validata CSS-->
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='validata.css')}}"
>
<title>
Validata – {% block title %}{% endblock %}
</title>
<title>
Validata – {% block title %}{% endblock %}
</title>
<style>
body
{
font-family
:
system-ui
,
BlinkMacSystemFont
,
-apple-system
,
Segoe
UI
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
Fira
Sans
,
Droid
Sans
,
Helvetica
Neue
,
sans-serif
;
}
.footer
{
background-color
:
#f5f5f5
;
padding
:
3em
;
margin-top
:
5em
;
}
</style>
{% endblock %}
{% endblock %}
</head>
</head>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment