mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 19:15:39 +00:00
details
This commit is contained in:
19
templates/components/details-footers.html
Normal file
19
templates/components/details-footers.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<ul class="details">
|
||||
<li class="details__item">© 2021 mCAptcha Developers</li>
|
||||
<li class="details__dummy-filler"></li>
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= crate::PKG_HOMEPAGE .>">Homepage</a>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= crate::PAGES.about .>">About</a>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= crate::PAGES.thanks .>">Thanks</a>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
<a class="details__link" href="<.= crate::PAGES.donate .>">Donate</a>
|
||||
</li>
|
||||
<li class="details__item">
|
||||
v<.= crate::VERSION .>-<.= crate::GIT_COMMIT_HASH[0..8] .>
|
||||
</li>
|
||||
</ul>
|
||||
44
templates/components/details.scss
Normal file
44
templates/components/details.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
@import '../_vars.scss';
|
||||
|
||||
.details {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
box-sizing: border-box;
|
||||
width: 95%;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.details__dummy-filler {
|
||||
flex: 10;
|
||||
}
|
||||
|
||||
.details__item {
|
||||
margin: auto 10px;
|
||||
}
|
||||
|
||||
.details__item:first-child {
|
||||
flex: 4;
|
||||
}
|
||||
|
||||
.details__link {
|
||||
color: $blue-link;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
<. include!("./details-footers.html"); .>
|
||||
</main>
|
||||
</body>
|
||||
<link rel="stylesheet" href="<.= &*crate::CSS .>" type="text/css" media="all">
|
||||
<script src="<.= &*crate::JS .>"></script>
|
||||
|
||||
Reference in New Issue
Block a user