This commit is contained in:
lealife
2016-05-22 10:34:40 +08:00
parent 5db724e80b
commit 27221acda7
13 changed files with 81 additions and 29 deletions

View File

@ -27,7 +27,7 @@
<a href="/index">{{msg . "home"}}</a>
</p>
<p>
<a href="/index">leanote</a> © 2014-2015
<a href="https://leanote.com">Leanote</a> © 2014-2016
</p>
</div>

View File

@ -36,7 +36,7 @@
<a href="/index">{{msg . "home"}}</a>
</p>
<p>
<a href="/index">leanote</a> © 2014-2015
<a href="https://leanote.com">Leanote</a> © 2014-2016
</p>
</div>

View File

@ -21,7 +21,7 @@
<a href="/index">{{msg . "home"}}</a>
</p>
<p>
<a href="/index">leanote</a> © 2014-2015
<a href="https://leanote.com">Leanote</a> © 2014-2016
</p>
</div>

View File

@ -8,7 +8,7 @@
<br />
leanote@leanote.com
<br />
Copyright © 2014-2015 <a href="https://leanote.com">Leanote</a>
Copyright © 2014-2016 <a href="https://leanote.com">Leanote</a>
</div>
<div class="col-md-6">
<i class="fa fa-globe fa-3x icon-muted"></i>

View File

@ -4,16 +4,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="leanote,leanote.com">
<meta name="description" content="Leanote, {{msg $ "moto"}}">
<meta name="author" content="leanote">
<meta name="keywords" content="leanote,leanote.com,蚂蚁笔记">
<meta name="description" content="Leanote,蚂蚁笔记, {{msg $ "moto"}}">
<meta name="author" content="leanote,蚂蚁笔记">
<title>{{.title}}</title>
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/font-awesome-4.2.0/css/font-awesome.css" rel="stylesheet">
<link href="/css/index.css" rel="stylesheet">
<style>
</style>
<script>
function log(o) {
@ -31,8 +29,8 @@ function log(o) {
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/index">
<img src="/images/logo/leanote_black.png" id="" title="leanote, {{msg $ "moto"}}"/>
<a class="navbar-brand" href="/index" id="logo">
<img src="/images/logo/leanote_black.png" class="hide" title="leanote, {{msg $ "moto"}}"/>
</a>
</div>
@ -51,7 +49,7 @@ function log(o) {
<a href="http://bbs.leanote.com" target="_blank" class="">{{msg . "discussion"}}</a>
</li>
<li><a id="leanoteBlog" href="http://lea.leanote.com" target="_blank" title="Lea++, leanote blog platform" class="">Lea++</a></li>
<li><a id="leanoteBlog" href="http://lea.leanote.com" target="_blank" title="Leanote explore, leanote blog platform" class="">{{leaMsg . "Leanote Explore"}}</a></li>
<li><a id="leanoteApp" href="http://app.leanote.com" target="_blank" title="Leanote App" class="">{{msg . "desktopApp"}}</a></li>
<li>
<a href="http://leanote.org#donate" target="_blank" class="">{{msg . "donate"}}</a>

View File

@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="leanote,leanote.com">
<meta name="description" content="leanote, {{msg $ "moto"}}">
<meta name="author" content="leanote">
<meta name="keywords" content="leanote,蚂蚁笔记,leanote.com">
<meta name="description" content="leanote, 蚂蚁笔记, {{msg $ "moto"}}">
<meta name="author" content="leanote,蚂蚁笔记">
<title>{{.title}}</title>
<link href="/css/bootstrap.css" rel="stylesheet">

View File

@ -61,10 +61,10 @@
<div id="boxFooter">
<p>
<a href="/index">{{msg . "home"}}</a>
<a href="/">{{msg . "home"}}</a>
</p>
<p>
<a href="/index">leanote</a> © 2014-2015
<a href="https://leanote.com">Leanote</a> © 2014-2016
</p>
</div>

View File

@ -43,7 +43,7 @@
<a href="/index">{{msg . "home"}}</a>
</p>
<p>
<a href="/index">leanote</a> © 2014-2015
<a href="https://leanote.com">Leanote</a> © 2014-2016
</p>
</div>

View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-touch-fullscreen" content="yes">
<meta name=”apple-mobile-web-app-capable” content=”yes” />
<meta name="keywords" content="leanote,leanote.com">
<meta name="description" content="Leanote, {{msg $ "moto"}}">
<meta name="keywords" content="leanote,leanote.com,蚂蚁笔记">
<meta name="description" content="Leanote, 蚂蚁笔记, {{msg $ "moto"}}">
<title>Leanote, {{msg $ "moto"}}</title>
<link href="/css/bootstrap-min.css" rel="stylesheet" />
@ -39,7 +39,7 @@ function log(o) {
}
</script>
</head>
<body class="lang-{{$.locale}}">
<body class="leanote-plugin lang-{{$.locale}}">
<div id="page">
<div id="pageInner">
@ -127,9 +127,9 @@ function log(o) {
</span>
</div>
<div class="pull-right" style="margin: 0 10px" id="myProfile">
<div class="pull-right" id="myProfile">
<div class="dropdown">
<a class="dropdown-toggle" title="{{.userInfo.Username}}" data-toggle="dropdown" style="line-height: 60px;">
<a class="dropdown-toggle profile-img" title="{{.userInfo.Username}}" data-toggle="dropdown">
<img alt="{{.userInfo.Username}}" title="{{.userInfo.Username}}" src="{{if .userInfo.Logo}}{{.userInfo.Logo}}{{else}}/images/blog/default_avatar.png{{end}}" id="myAvatar"/>
<span class="username">
{{.userInfo.Username}}

View File

@ -15,6 +15,7 @@ try=体验一下
usernameOrEmail=用户名或Email
password=密码
home=主页
Leanote Explore=Leanote探索
desktopApp=客户端
aboutLeanote=关于Leanote
suggestions=建议

View File

@ -15,6 +15,7 @@ try=體驗一下
usernameOrEmail=使用者名稱或Email
password=密碼
home=首頁
Leanote Explore=Leanote探索
desktopApp=客戶端
aboutLeanote=關於Leanote
suggestions=建議

View File

@ -1,3 +1,45 @@
@font-face {
font-family: 'leanote';
src: url('../../fonts/leanote-font3/leanote.eot?-vcf23i');
src: url('../../fonts/leanote-font3/leanote.eot?#iefix-vcf23i') format('embedded-opentype'), url('../../fonts/leanote-font3/leanote.ttf?-vcf23i') format('truetype'), url('../../fonts/leanote-font3/leanote.woff?-vcf23i') format('woff'), url('../../fonts/leanote-font3/leanote.svg?-vcf23i#leanote') format('svg');
font-weight: normal;
font-style: normal;
}
#logo,
.mce-i-mind,
.mce-i-ace-pre,
.lea-icon {
font-family: 'leanote' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-markdown:before {
content: "\e604";
}
.mce-i-mind:before {
content: "\e602";
}
.mce-i-ace-pre:before {
content: "\e603";
}
#logo:before {
content: "\e901";
line-height: 1;
margin-top: 5px;
display: inline-block;
vertical-align: top;
}
#logo.icon-only:before {
content: "\e902";
}
.lang-zh-cn #logo:before {
content: "\e900";
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
@ -22,6 +64,11 @@
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
}
#logo {
font-size: 32px;
color: #000;
padding-top: 8px;
}
/*"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue", Helvetica, "Microsoft Yahei", Verdana, Simsun, "Segoe UI", "Segoe UI Web Regular", "Segoe UI Symbol", "BBAlpha Sans", "S60 Sans", Arial, sans-serif;*/
::selection {
background: #000000;
@ -60,9 +107,7 @@ a:hover {
margin: 0;
}
#headerContainer .navbar-brand {
padding: 0;
padding-left: 10px;
line-height: 60px;
}
#headerContainer .navbar-brand img {
height: 50px;

View File

@ -13,6 +13,8 @@
@containerWidth: 945px;
@titleColor: #5AD4A0;
@import "./theme/includes/icon.less";
// font
@font-face {
font-family: 'Open Sans';
@ -39,6 +41,12 @@
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff');
}
#logo {
font-size: 32px;
color: #000;
padding-top: 8px;
}
/*"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue", Helvetica, "Microsoft Yahei", Verdana, Simsun, "Segoe UI", "Segoe UI Web Regular", "Segoe UI Symbol", "BBAlpha Sans", "S60 Sans", Arial, sans-serif;*/
@selectionBg: @aBlackColor;
@selectionColor: #fff;
@ -74,9 +82,8 @@ a:hover {
box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
margin: 0;
.navbar-brand {
padding: 0;
padding-left: 10px;
line-height: @headerHeight;
// line-height: @headerHeight;
img {
height: 50px;
display: inline-block;