mirror of https://github.com/laurent22/joplin.git
Doc: Fixed minor website issues and added Twitter link in mobile view
parent
da88ddb6bd
commit
cc69cabf9b
|
@ -307,7 +307,7 @@ p,
|
|||
div.navbar-mobile-content a.sponsor-button {
|
||||
padding: 4px 12px;
|
||||
font-size: 0.9em;
|
||||
margin-right: 1em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-section.white-bg a {
|
||||
|
@ -670,8 +670,8 @@ footer .bottom-links-row p {
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
.news-page img,
|
||||
.news-item-page img {
|
||||
.news-page .main-content img,
|
||||
.news-item-page .main-content img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
@ -740,7 +740,7 @@ footer .bottom-links-row p {
|
|||
}
|
||||
|
||||
#nav-section .button-link {
|
||||
padding: 4px 12px;
|
||||
padding: 4px 10px;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
@ -937,6 +937,25 @@ footer .bottom-links-row p {
|
|||
}
|
||||
}
|
||||
|
||||
/*****************************************************************
|
||||
VERY NARROW VIEW
|
||||
eg for Galaxy Fold
|
||||
*****************************************************************/
|
||||
|
||||
@media (max-width: 350px) {
|
||||
|
||||
#nav-section .navbar-mobile-content a.sponsor-button {
|
||||
background-color: transparent;
|
||||
color: #0557ba !important;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#nav-section .navbar-mobile-content a.sponsor-button .sponsor-button-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*****************************************************************
|
||||
PLANS PAGE
|
||||
*****************************************************************/
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="col-9 text-right d-none d-md-block">
|
||||
<a href="https://twitter.com/joplinapp" title="Joplin Twitter feed" class="fw500"><i class="fab fa-twitter"></i></a>
|
||||
{{> twitterLink}}
|
||||
<a href="{{baseUrl}}/news/" class="fw500">News</a>
|
||||
<a href="{{baseUrl}}/help/" class="fw500">Help</a>
|
||||
<a href="{{forumUrl}}" class="fw500">Forum</a>
|
||||
|
@ -22,6 +22,7 @@
|
|||
{{> supportButton}}
|
||||
</div>
|
||||
<div class="col-9 text-right d-block d-md-none navbar-mobile-content">
|
||||
{{> twitterLink}}
|
||||
{{> supportButton}}
|
||||
|
||||
<span class="pointer"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<a class="button-link btn-blue sponsor-button" href="{{baseUrl}}/donate">
|
||||
<i class="fas fa-heart heart-full"></i><i class="far fa-heart heart-line"></i> Support us
|
||||
<i class="fas fa-heart heart-full"></i><i class="far fa-heart heart-line"></i><span class="sponsor-button-label"> Support us</span>
|
||||
</a>
|
|
@ -0,0 +1 @@
|
|||
<a href="https://twitter.com/joplinapp" title="Joplin Twitter feed" class="fw500"><i class="fab fa-twitter"></i></a>
|
|
@ -300,8 +300,6 @@ async function main() {
|
|||
// "docs/spec/interop_with_frontmatter/index.html" and prefix it
|
||||
// with the website repo full path.
|
||||
|
||||
console.info('input', input);
|
||||
|
||||
let s = `${docDir}/${input}`;
|
||||
if (s.endsWith('index.md')) {
|
||||
s = s.replace(/index\.md/, 'index.html');
|
||||
|
@ -311,8 +309,6 @@ async function main() {
|
|||
|
||||
s = s.replace(/readme\//, '');
|
||||
|
||||
console.info('OUTPUT', s);
|
||||
|
||||
return s;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue