Add footer
This commit is contained in:
parent
e4a896a375
commit
1834854dc0
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
|
@ -15,7 +15,7 @@ main {
|
||||||
max-width: 80vw;
|
max-width: 80vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 1em;
|
padding: 1em 1em 4em 1em;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
min-height: calc(100vh - var(--header-height));
|
min-height: calc(100vh - var(--header-height));
|
||||||
}
|
}
|
||||||
|
@ -159,3 +159,20 @@ hr {
|
||||||
.roll-command-display:after {
|
.roll-command-display:after {
|
||||||
content: ")";
|
content: ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
background-color: #111;
|
||||||
|
text-align: center;
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0 auto;
|
||||||
|
font-size: .8em;
|
||||||
|
max-width: 80vw;
|
||||||
|
a:link, a:visited {
|
||||||
|
color: var(--header-text-color);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -42,5 +42,11 @@
|
||||||
<%= yield(:main) if content_for?(:main) %>
|
<%= yield(:main) if content_for?(:main) %>
|
||||||
<%= yield unless content_for?(:main) %>
|
<%= yield unless content_for?(:main) %>
|
||||||
</main>
|
</main>
|
||||||
|
<footer>
|
||||||
|
<%= link_to "https://tablewarez.net", target: "_blank" do %>
|
||||||
|
<%= t(".made_by") %>
|
||||||
|
<%= image_tag "tablewarez.png", width: "300px" %>
|
||||||
|
<% end %>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -18,6 +18,7 @@ en:
|
||||||
characters: Characters
|
characters: Characters
|
||||||
profile: Profile
|
profile: Profile
|
||||||
tables: Tables
|
tables: Tables
|
||||||
|
made_by: Brought to you by
|
||||||
mailer:
|
mailer:
|
||||||
greeting: "Hi %{name},"
|
greeting: "Hi %{name},"
|
||||||
greeting_without_name: Hi,
|
greeting_without_name: Hi,
|
||||||
|
|
Loading…
Reference in New Issue