Skip to content

Commit

Permalink
Merge pull request #12 from LingMA2017/master
Browse files Browse the repository at this point in the history
theme NT
  • Loading branch information
guillep authored Mar 18, 2017
2 parents 1fb450e + 2c9f16a commit 600da1c
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 0 deletions.
77 changes: 77 additions & 0 deletions themes/NT/NT.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*-------------------------------------------------
GLOBALS CLASSES
-------------------------------------------------*/
*{margin:0; padding:0; font-family:"Trebuchet MS";}
body{background:#26313f;}

p {font-family:"Trebuchet MS"; color:#ffffff; font-size:17px; line-height:20px;}
a { text-decoration:none; color:;}
a:hover { text-decoration:none; color:#ffffff;}
ul li { list-style:none; outline:none;}
img { border:none; }
img { border:none;}
h1{font-family:"MS"; color:#838d9d; font-size:17px; font-weight:normal; text-transform:uppercase;}
h2{font-family: 'Open Sans', sans-serif; font-size:17px; color:#838d9d; font-weight:normal;}


/*-------------------------------------------------
HEADER CLASSES
-------------------------------------------------*/
.menu-wrapper{width:1000px; margin:0 auto; margin-top:50px; overflow:hidden;}
.menu{width:2000px; float:left; margin-top:20px; margin-left:20px; margin-bottom:20px}
.menu ul li{float:left; width:100px; margin-right:4px;}
.menu ul li a{width:100px; height:40px; line-height:40px; display:block; font-family: 'Open Sans', sans-serif; font-size:14px; color:#FF0000; text-align:center; text-transform:uppercase;}
.menu ul li a:hover{background:#FF0000; color:#FFFFFF; width:100px; height:40px;}
.menu ul li a.active{background:#FF0000; color:#FFFFFF; width:100px; height:40px;}

.logo-wrapper{width:1020px; margin:0 auto; overflow:hidden;}
.leftshadow{width:10px; float:left;}
.rightshadow{width:10px; float:right;}
.logo{width:1000px; float:left;}
.logo h1{font-family:"Trebuchet MS"; font-size:42px; color:#ffffff; text-transform:uppercase; padding-left:20px; padding-top:25px;}

/*-------------------------------------------------
BANNER CLASS
-------------------------------------------------*/

.border-bottom{width:100%; background:url(../images/dotted-line.jpg) repeat-x; height:1px;}
.bannerlef{width:10px; float:left;}
.bannerright{width:10px; float:right;}
.banner-content{width: 600px;
margin-left: 180px;}
.banner-content{width:560px; margin:0 auto; padding-top:70px;}
.banner-content h1{font-family:"Trebuchet MS"; font-size:49px; color:#838d9d; text-align:center;}
.banner-content h2{font-family:"Trebuchet MS"; font-size:49px; color:#838d9d; text-align:center; text-transform:lowercase; padding-bottom:42px; }
.banner-content a{display:block; width:2000px; height:54px; line-height:54px; background:#576679; font-family:"Trebuchet MS"; font-size:29px; color:#838d9d; text-align:center; text-transform:uppercase; margin-top:50px; margin:0 auto;}
.banner-content a:hover{background:#26313f; color:#838d9d;}
/*-------------------------------------------------
FOOTER CLASS
/*-------------------------------------------------**/
.footer-wrapper{width:100%; background:#2c3847; overflow:hidden;}
.footer{width:960px; margin:0 auto; margin-top:0px;}
.footer p{ text-align:center; padding-bottom:50px;}
.footer{
min-height: 50px;
line-height: 50px;
background: #26313f;
color: #aaa;
text-align: center;

/* Sticky to the bottom */
position: absolute;
bottom: 3px;
width: 101%;
margin-left: -15px;

-webkit-box-shadow: 0 -2px 4px rgba(0,0,0,0.5);
-moz-box-shadow: 0 -2px 4px rgba(0,0,0,0.5);
-o-box-shadow: 0 -2px 4px rgba(0,0,0,0.5);
box-shadow: 0 -2px 4px rgba(0,0,0,0.5);
}
.footer a:link {color: #aaa}
.footer a:visited {color: #888}
.footer a:hover {color: #bbb;text-decoration: none;}
.footer a:active {color: #bbb}
.footer .point{
margin: 0 8px;
}
76 changes: 76 additions & 0 deletions themes/NT/default.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<!--html-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Pharo - Pillar - Ecstatic" />
<meta name="robots" content="index,follow" />
<meta name="keywords" content="{{site_keywords}}" />

<title><noscript>
Blog
</noscript></title>
<link rel="stylesheet" href="{{baseurl}}/theme/NT.css" type="text/css" />
</head>
<body>

<div class="menu-wrapper">
<div class="menu">
<ul>
<li><a href="{{baseurl}}/theme/default.template" class="active" >home</a></li>
<img src="{{baseurl}}/theme/images/logo.png" width="40" height="40"/>
<h1>{{site_name}}</h1>
<h1>{{site_short_description}}</h1>

</ul>
</div>


</div>



<!--- menu-wrapper div end -->
<div class="clearing"></div>
<div class="border-bottom"></div>
<div class="logo-wrapper">
<div class="leftshadow">

<img src="{{baseurl}}/theme/images/logo-wrap-left.jpg">
</div>
<div class="logo">

</div>
<div class="rightshadow">

<img src="{{baseurl}}/theme/images/logo-wrap-right.jpg" />

</div>
</div>
<div class="clearing"></div>
<div class="banner-wrapper">
<div class="bannerlef"><img src="{{baseurl}}/theme/images/banner-wrap-left.jpg" /></div>
<div class="banner-container">
<div class="banner">
<div class="banner-content">
{{{content}}}
</div>
</div>
<div class="bannerright"><img src="{{baseurl}}/theme/images/banner-wrap-right.jpg"/></div>
</div>

<!--- container div end -->

<div class="panel-wrapper">

</div>
<div class="footer-wrapper">
<div class="footer">
<h1>NT theme by LM and QQS. Suggested by <a href="https://github.com/guillep">Guillermo</a> and<a href="https://github.com/Ducasse"> Stéphane</a></h1>

</div>
</div>
</body>
</html>
Binary file added themes/NT/images/Thumbs.db
Binary file not shown.
Binary file added themes/NT/images/banner-shadow-bottom.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/banner-wrap-left.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/banner-wrap-right.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/dotted-line.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/logo-wrap-left.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/logo-wrap-right.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/NT/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 600da1c

Please sign in to comment.