Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from flowfire/master
Browse files Browse the repository at this point in the history
更改icon显示方式 img -> css
  • Loading branch information
gwind authored Jun 30, 2017
2 parents 0fd3ee5 + 4c4777b commit 9e5c225
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions app/public/home/index.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../common/index";
@main-text-color:#393B53;
@button-color:#11BDE9;
@logo-url:"/public/image/assets/icon_logo.png";
@logo-url:"https://img.ooclab.com/remotex/logo.png";
.icon(@url){
background-image: url(@url);
background-position: 50% 50%;
Expand Down Expand Up @@ -143,7 +143,8 @@ header{
position:absolute;
top: 30px;
left: 30px;
background:#f2f2f2;
.icon("https://img.ooclab.com/remotex/cleancode.png");
background-size: 100% auto;
}
h4{
margin:0 0 10px 0;
Expand Down
3 changes: 0 additions & 3 deletions app/view/home/index.nj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<header class="ui container fluid">
<div class="ui container">
<div class="logo">
<img src="https://img.ooclab.com/remotex/logo.png"/>
</div>
<div class="right-menu">
<div class="button">注册</div>
Expand Down Expand Up @@ -34,7 +33,6 @@
{% for item in list %}
<li class="card">
<div class="icon">
<img class="job-logo" src="https://img.ooclab.com/remotex/cleancode.png"/>
</div>
<h4>{{ item.title }}
{% if item.city %}
Expand Down Expand Up @@ -99,7 +97,6 @@
<div class="part-3">
<h1>社区</h1>
<p><a href="https://github.com/ooclab/remotex" target="_blank">Github</a><br/>
<a href="https://wp.ooclab.org/projects/remotex" target="_blank">项目管理</a><br/>
如何发布工作<br/>
文档与支持<br/>
</p>
Expand Down

0 comments on commit 9e5c225

Please sign in to comment.