Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added typed.js for attractive look #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
<body>
<style>
.txt h1
{
text-align: center;
font-size: 27px;
font-family:'Lucida Grande', 'Calibri',;
color:white;
}
.type
{
color: #00b7ea;
}
</style>
<div class="main-container">
{% include google_analytics.html %}
<!-- OLW banner and GitHub badge -->
Expand All @@ -9,6 +22,23 @@ <h1 id="project_title"><a href="/"><img src="/images/openlivewriter-purpleheader
{% if page.subtitle %}
<h2 id="project_tagline">{{ page.subtitle }}</h2>
{% endif %}
<div class="txt">
<h1>Write and Post your Blog into :<span class="type"></span></h1>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script>
var typed2 = new Typed('.type', {
strings: ['Wordpress',
'Blogger',
'SharePoint',
'Typed and more'],
typeSpeed: 100,
backSpeed: 200,
fadeOut: true,
loop: true
});

</script>
</header>
</div>
<!-- Tabbed navigation bar -->
Expand Down
12 changes: 11 additions & 1 deletion stylesheets/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,17 @@ Full-Width Styles
#header_wrap .inner {
padding: 20px 0px 0px 0px;
}

.txt h1
{
text-align: center;
font-size: 25px;
font-family:'Lucida Grande', 'Calibri',;
color:white;
}
.type
{
color: #00b7ea;
}
#project_title {
margin: 0;
color: #fff;
Expand Down