Logo and footer customization
This commit is contained in:
parent
ed0c70c08f
commit
766e39845e
|
@ -69,7 +69,7 @@
|
|||
font-family: 'Sylexiad';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: optional;
|
||||
font-display: block;
|
||||
src: local('Sylexiad Sans Medium'), local('Sylexiad-Sans-Medium'),
|
||||
url('/fonts/SylexiadSansMedium.woff') format('woff'), /* Modern Browsers */
|
||||
url('/fonts/SylexiadSansMedium.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
|
@ -78,7 +78,7 @@
|
|||
font-family: 'Sylexiad';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: optional;
|
||||
font-display: block;
|
||||
src: local('Sylexiad Sans Medium Italic'), local('Sylexiad-Sans-Medium-Italic'),
|
||||
url('/fonts/SylexiadSansMedium-Italic.woff') format('woff'), /* Modern Browsers */
|
||||
url('/fonts/SylexiadSansMedium-Italic.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
|
@ -87,7 +87,7 @@
|
|||
font-family: 'Sylexiad';
|
||||
font-style: bold;
|
||||
font-weight: 700;
|
||||
font-display: optional;
|
||||
font-display: block;
|
||||
src: local('Sylexiad Sans Medium Bold'), local('Sylexiad-Sans-Medium-Bold'),
|
||||
url('/fonts/SylexiadSansMedium-Bold.woff') format('woff'), /* Modern Browsers */
|
||||
url('/fonts/SylexiadSansMedium-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
|
|
|
@ -112,6 +112,12 @@ img.ic-24dp {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img.ic-50dp {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
body#pad, body#pad-sub {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
|
@ -16,10 +16,10 @@
|
|||
<header>
|
||||
{{ if .Chorus }}<nav id="full-nav">
|
||||
<div class="left-side">
|
||||
<h2><a href="/">{{.SiteName}}</a></h2>
|
||||
<h2><a href="/"><img class="ic-50dp" src="/logo.webp"></a></h2>
|
||||
</div>
|
||||
{{ else }}
|
||||
<h2><a href="/">{{.SiteName}}</a></h2>
|
||||
<h2><a href="/"><img class="ic-50dp" src="/logo.webp"></a></h2>
|
||||
{{ end }}
|
||||
{{if not .SingleUser}}
|
||||
<nav id="user-nav">
|
||||
|
|
|
@ -67,7 +67,8 @@
|
|||
<article id="post-body" class="{{.Font}} h-entry {{if not .IsFound}}error-page{{end}}">{{if .IsScheduled}}<p class="badge">Scheduled</p>{{end}}{{if .Title.String}}<h2 id="title" class="p-name{{if and $.Collection.Format.ShowDates (not .IsPinned)}} dated{{end}}">{{.FormattedDisplayTitle}}</h2>{{end}}{{if and $.Collection.Format.ShowDates (not .IsPinned) .IsFound}}<time class="dt-published" datetime="{{.Created8601}}" pubdate itemprop="datePublished" content="{{.Created}}">{{.DisplayDate}}</time>{{end}}<div class="e-content">{{.HTMLContent}}</div></article>
|
||||
|
||||
{{ if .Collection.ShowFooterBranding }}
|
||||
<footer dir="ltr"><hr><nav><p style="font-size: 0.9em">{{localhtml "published with write.as" .Language.String}}</p></nav></footer>
|
||||
<!-- <footer dir="ltr"><hr><nav><p style="font-size: 0.9em"><a class="home pubd" href="/"><img class="ic-50dp" src="/logo.webp"></a> ·{{localhtml "published with write.as" .Language.String}}</p></nav></footer> -->
|
||||
<footer dir="ltr"><hr><nav><p style="font-size: 0.9em"><a class="home pubd" href="/"><img class="ic-50dp" src="/logo.webp"></a> · published with <a style="margin-left:0" href="https://writefreely.org">writefreely</a></nav></footer>
|
||||
{{ end }}
|
||||
</body>
|
||||
|
||||
|
|
|
@ -121,7 +121,8 @@
|
|||
<footer>
|
||||
<hr />
|
||||
<nav dir="ltr">
|
||||
{{if not .SingleUser}}<a class="home pubd" href="/">{{.SiteName}}</a> · {{end}}powered by <a style="margin-left:0" href="https://writefreely.org">writefreely</a>
|
||||
<!-- {{if not .SingleUser}}<a class="home pubd" href="/">{{.SiteName}}</a> · {{end}}powered by <a style="margin-left:0" href="https://writefreely.org">writefreely</a> -->
|
||||
{{if not .SingleUser}}<a class="home pubd" href="/"><img class="ic-50dp" src="/logo.webp"></a> · {{end}}powered by <a style="margin-left:0" href="https://writefreely.org">writefreely</a>
|
||||
</nav>
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<hr />
|
||||
{{if or .SingleUser .WFModesty}}
|
||||
<nav>
|
||||
<a class="home" href="/">{{.SiteName}}</a>
|
||||
<a class="home" href="/"><img class="ic-50dp" src="/logo.webp"></a>
|
||||
{{if not .SingleUser}}
|
||||
<a href="/about">about</a>
|
||||
{{if and .LocalTimeline .CanViewReader}}<a href="/read">reader</a>{{end}}
|
||||
|
@ -21,7 +21,7 @@
|
|||
<div class="marketing-section">
|
||||
<div class="clearfix blurbs">
|
||||
<div class="half">
|
||||
<h3><a class="home" href="/">{{.SiteName}}</a></h3>
|
||||
<h3><a class="home" href="/"><img class="ic-50dp" src="/logo.webp"></a></h3>
|
||||
<ul>
|
||||
<li><a href="/about">about</a></li>
|
||||
{{if and (and (not .SingleUser) .LocalTimeline) .CanViewReader}}<a href="/read">reader</a>{{end}}
|
||||
|
@ -34,7 +34,7 @@
|
|||
<li><a href="https://writefreely.org/guide/{{.OfficialVersion}}" target="guide">writer's guide</a></li>
|
||||
<li><a href="https://developers.write.as/" title="Build on WriteFreely with our open developer API.">developers</a></li>
|
||||
<li><a href="https://github.com/writefreely/writefreely">source code</a></li>
|
||||
<li style="margin-top:0.8em">{{.Version}}</li>
|
||||
<li><a href="https://github.com/allibragi/writefreely_ls">{{.Version}}.LS</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue