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> <a href="/index">{{msg . "home"}}</a>
</p> </p>
<p> <p>
<a href="/index">leanote</a> © 2014-2015 <a href="https://leanote.com">Leanote</a> © 2014-2016
</p> </p>
</div> </div>

View File

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

View File

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

View File

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

View File

@ -4,16 +4,14 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="leanote,leanote.com"> <meta name="keywords" content="leanote,leanote.com,蚂蚁笔记">
<meta name="description" content="Leanote, {{msg $ "moto"}}"> <meta name="description" content="Leanote,蚂蚁笔记, {{msg $ "moto"}}">
<meta name="author" content="leanote"> <meta name="author" content="leanote,蚂蚁笔记">
<title>{{.title}}</title> <title>{{.title}}</title>
<link href="/css/bootstrap.css" rel="stylesheet"> <link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/font-awesome-4.2.0/css/font-awesome.css" rel="stylesheet"> <link href="/css/font-awesome-4.2.0/css/font-awesome.css" rel="stylesheet">
<link href="/css/index.css" rel="stylesheet"> <link href="/css/index.css" rel="stylesheet">
<style>
</style>
<script> <script>
function log(o) { function log(o) {
@ -31,8 +29,8 @@ function log(o) {
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="/index"> <a class="navbar-brand" href="/index" id="logo">
<img src="/images/logo/leanote_black.png" id="" title="leanote, {{msg $ "moto"}}"/> <img src="/images/logo/leanote_black.png" class="hide" title="leanote, {{msg $ "moto"}}"/>
</a> </a>
</div> </div>
@ -50,13 +48,13 @@ function log(o) {
<li style="position: relative; margin-right: 3px;"> <li style="position: relative; margin-right: 3px;">
<a href="http://bbs.leanote.com" target="_blank" class="">{{msg . "discussion"}}</a> <a href="http://bbs.leanote.com" target="_blank" class="">{{msg . "discussion"}}</a>
</li> </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 id="leanoteApp" href="http://app.leanote.com" target="_blank" title="Leanote App" class="">{{msg . "desktopApp"}}</a></li>
<li> <li>
<a href="http://leanote.org#donate" target="_blank" class="">{{msg . "donate"}}</a> <a href="http://leanote.org#donate" target="_blank" class="">{{msg . "donate"}}</a>
</li> </li>
<li><a href="http://leanote.org" target="_blank" title="leanote.org" class="">leanote.org</a></li> <li><a href="http://leanote.org" target="_blank" title="leanote.org" class="">leanote.org</a></li>
{{if .userInfo.Email}} {{if .userInfo.Email}}

View File

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

View File

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

View File

@ -43,7 +43,7 @@
<a href="/index">{{msg . "home"}}</a> <a href="/index">{{msg . "home"}}</a>
</p> </p>
<p> <p>
<a href="/index">leanote</a> © 2014-2015 <a href="https://leanote.com">Leanote</a> © 2014-2016
</p> </p>
</div> </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="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-touch-fullscreen" content="yes">
<meta name=”apple-mobile-web-app-capable” content=”yes” /> <meta name=”apple-mobile-web-app-capable” content=”yes” />
<meta name="keywords" content="leanote,leanote.com"> <meta name="keywords" content="leanote,leanote.com,蚂蚁笔记">
<meta name="description" content="Leanote, {{msg $ "moto"}}"> <meta name="description" content="Leanote, 蚂蚁笔记, {{msg $ "moto"}}">
<title>Leanote, {{msg $ "moto"}}</title> <title>Leanote, {{msg $ "moto"}}</title>
<link href="/css/bootstrap-min.css" rel="stylesheet" /> <link href="/css/bootstrap-min.css" rel="stylesheet" />
@ -39,7 +39,7 @@ function log(o) {
} }
</script> </script>
</head> </head>
<body class="lang-{{$.locale}}"> <body class="leanote-plugin lang-{{$.locale}}">
<div id="page"> <div id="page">
<div id="pageInner"> <div id="pageInner">
@ -127,9 +127,9 @@ function log(o) {
</span> </span>
</div> </div>
<div class="pull-right" style="margin: 0 10px" id="myProfile"> <div class="pull-right" id="myProfile">
<div class="dropdown"> <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"/> <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"> <span class="username">
{{.userInfo.Username}} {{.userInfo.Username}}

View File

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

View File

@ -15,6 +15,7 @@ try=體驗一下
usernameOrEmail=使用者名稱或Email usernameOrEmail=使用者名稱或Email
password=密碼 password=密碼
home=首頁 home=首頁
Leanote Explore=Leanote探索
desktopApp=客戶端 desktopApp=客戶端
aboutLeanote=關於Leanote aboutLeanote=關於Leanote
suggestions=建議 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-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
@ -22,6 +64,11 @@
font-weight: 400; font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../fonts/open-sans2/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff') format('woff'); 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;*/ /*"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 { ::selection {
background: #000000; background: #000000;
@ -60,9 +107,7 @@ a:hover {
margin: 0; margin: 0;
} }
#headerContainer .navbar-brand { #headerContainer .navbar-brand {
padding: 0;
padding-left: 10px; padding-left: 10px;
line-height: 60px;
} }
#headerContainer .navbar-brand img { #headerContainer .navbar-brand img {
height: 50px; height: 50px;

View File

@ -13,6 +13,8 @@
@containerWidth: 945px; @containerWidth: 945px;
@titleColor: #5AD4A0; @titleColor: #5AD4A0;
@import "./theme/includes/icon.less";
// font // font
@font-face { @font-face {
font-family: 'Open Sans'; 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'); 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;*/ /*"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; @selectionBg: @aBlackColor;
@selectionColor: #fff; @selectionColor: #fff;
@ -74,9 +82,8 @@ a:hover {
box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
margin: 0; margin: 0;
.navbar-brand { .navbar-brand {
padding: 0;
padding-left: 10px; padding-left: 10px;
line-height: @headerHeight; // line-height: @headerHeight;
img { img {
height: 50px; height: 50px;
display: inline-block; display: inline-block;