Footer fix

This commit is contained in:
Julian Molina committed 2020-12-30 21:08:32 +01:00
1 parent bd4cd1024d
commit 843538aaa1
2 files changed
+42 -22

No files matched your search

+24 -17
View File
@@ -1,20 +1,21 @@
.docs-page {
border: 0px solid;
background-color: #fdfdfd;
background-color: whitesmoke;
/*background-color: #fdfdfd;*/
}
.docs-search-page-container {
font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: #111;
color: #000;
line-height: 150%;
margin: 20 25 20 30px;
}
.docs-common-style-container{
background-color: white;
/*background-color: white;*/
font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: #111;
color: #000;
line-height: 150%;
margin: 20 30px;
margin: 20 25 20 30px;
@@ -22,12 +23,12 @@ margin: 20 25 20 30px;
.docs-node-html-footer-container {
font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: #111;
color: #e6eaea;
background-color: #365558;
line-height: 150%;
margin: 20 25 20 30px;
border-top: 1px solid #dedede;
margin-top: 100px;
padding-top: 50px;
border-top: 3px solid #e44d40;
margin: 0px;
padding: 50 25 20 30px;
}
/* DELETE candidate (delete class assignment on DocsSapace.js too)
@@ -363,15 +364,19 @@ width: 100%;
}
.docs-footer-row {
/* DELETE candidate
margin-right: -15px;
margin-left: -15px;
*/
}
.docs-footer-body {
position: relative;
min-height: 1px;
/* DELETE candidate
padding-right: 15px;
padding-left: 15px;
*/
}
/* Links */
@@ -404,22 +409,22 @@ padding-left: 3px;
a:link.docs-footer-link {
text-decoration: none;
color: #31708f;
color: #ff8c29;
}
a:visited.docs-footer-link {
text-decoration: none;
color: #31708f;
color: #ff8c29;
}
a:hover.docs-footer-link {
text-decoration: underline;
color: #31708f;
color: #ff8c29;
}
a:active.docs-footer-link {
text-decoration: none;
color: #31708f;
color: #ff8c29;
}
/* Tags */
@@ -606,7 +611,8 @@ height: 45px;
margin-top: 50px;
margin-bottom: 600px;
border-radius: 30px;
border: 1px solid #dedede;
border: 1px solid #0295aa;
background-color: white;
vertical-align: middle;
}
@@ -638,7 +644,8 @@ padding-right: 25px;
.docs-search-results-box {
height: 45px;
border-radius: 30px;
border: 1px solid #dedede;
border: 1px solid #0295aa;
background-color: white;
vertical-align: middle;
display: table-cell;
width: 100%;
@@ -677,7 +684,7 @@ width: 100%;
/* Search Results Page Content */
.docs-search-result-content {
border-top: 1px solid #dedede;
border-top: 1px solid #e44d40;
margin-left: -240px;
}
@@ -754,7 +761,7 @@ a:active.docs-search-result-content-record-title {
}
.docs-topic-index-link {
font-size: 125%;
font-size: 80%;
color: #31708f;
}
@@ -1945,9 +1945,11 @@ function newSuperalgosDocSpace() {
addContent()
HTML = HTML + '</div>' // Clickeable Container Ends
HTML = HTML + '</div>' // Common Style Container Ends
/*
Here we inject the HTML we built into the DOM at the Docs Space Div.
*/
@@ -3344,21 +3346,33 @@ function newSuperalgosDocSpace() {
let HTML = ''
HTML = HTML + '</div>' // Clickeable Container Ends PROVISIONAL
HTML = HTML + '</div>' // Common Style Container Ends
HTML = HTML + '<div class="docs-node-html-footer-container">' // Container Starts
HTML = HTML + '<footer>'
HTML = HTML + '<div class="docs-footer-row">'
HTML = HTML + '<div class="docs-footer-body" style="text-align: left;">'
HTML = HTML + '<div class="docs-footer-cell">'
HTML = HTML + '<div onClick="UI.projects.superalgos.spaces.docsSpace.scrollToElement(\'docs-space-div\')" class="docs-plain-link"><kbd class=docs-kbd>BACK TO TOP ↑</kbd></div>'
HTML = HTML + '<p>&nbsp;</p>'
HTML = HTML + '</div>'
HTML = HTML + '</div>'
HTML = HTML + '<div class="docs-footer-row">'
HTML = HTML + '<div class="docs-footer-cell">'
HTML = HTML + 'You are currently reading the Docs in ' + languageLabel + '. To read the Docs in your language, follow one of these links:'
HTML = HTML + '<ul>'
HTML = HTML + '<li><a onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'EN\')" class="docs-footer-link">English</a> — The collection of articles is complete in this language.</li>'
HTML = HTML + '<li><a onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'ES\')" class="docs-footer-link">Spanish</a> — Work in progress. You are invited to contribute translating content.</li>'
HTML = HTML + '<li><a onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'RU\')" class="docs-footer-link">Russian</a> — Work in progress. You are invited to contribute translating content.</li>'
HTML = HTML + '</ul>'
HTML = HTML + '</div>'
HTML = HTML + '</div>'
HTML = HTML + '<div class="docs-footer-row">'
HTML = HTML + '<div class="docs-footer-cell">'
HTML = HTML + 'Other resources:'
HTML = HTML + '<ul>'
HTML = HTML + '<li><a href="https://superalgos.org/" target="_blank" class="docs-footer-link">Superalgos Project</a> — Learn more about the project.</li>'
@@ -3369,11 +3383,10 @@ function newSuperalgosDocSpace() {
HTML = HTML + '<li><a href="https://t.me/superalgos_es" rel="nofollow" target="_blank" class="docs-footer-link">Grupo en Español</a> — Hablemos en español!</li>'
HTML = HTML + '<li><a href="https://t.me/superalgos" rel="nofollow" target="_blank" class="docs-footer-link">Superalgos Announcements</a> — Be the first to know about new releases, hotfixes, and important issues.</li>'
HTML = HTML + '</ul>'
HTML = HTML + '<img src="Images/superalgos-logo.png" width="200 px">'
HTML = HTML + '<img src="Images/superalgos-logo-white.png" width="200 px">'
HTML = HTML + '</div>'
HTML = HTML + '</div>'
HTML = HTML + '</footer>'
HTML = HTML + '</div>' // Container Ends