Improve tag tile text contrast

This commit is contained in:
Toby Zerner 2015-08-04 10:50:07 +09:30
parent f7068cd6d3
commit 0718d2159e
2 changed files with 7 additions and 15 deletions

View File

@ -61,8 +61,8 @@ export default class TagsPage extends Component {
<a className="TagTile-lastDiscussion"
href={app.route.discussion(lastDiscussion, lastDiscussion.lastPostNumber())}
config={m.route}>
{humanTime(lastDiscussion.lastTime())}
<span className="TagTile-lastDiscussion-title">{lastDiscussion.title()}</span>
{humanTime(lastDiscussion.lastTime())}
</a>
) : (
<span className="TagTile-lastDiscussion"/>
@ -94,12 +94,4 @@ export default class TagsPage extends Component {
</div>
);
}
config() {
IndexPage.prototype.config.apply(this, arguments);
}
onunload() {
IndexPage.prototype.onunload.apply(this, arguments);
}
}

View File

@ -64,18 +64,18 @@
}
}
.TagTile-name {
font-size: 20px;
font-size: 18px;
margin: 0 0 10px;
font-weight: normal;
font-weight: bold;
}
.TagTile-description {
font-size: 14px;
opacity: 0.5;
opacity: 0.7;
margin: 0 0 10px;
}
.TagTile-children {
text-transform: uppercase;
font-weight: 600;
font-weight: bold;
font-size: 12px;
a {
@ -90,7 +90,8 @@
text-overflow: ellipsis;
overflow: hidden;
line-height: 21px;
opacity: 0.5;
opacity: 0.7;
font-size: 12px;
&, &:hover {
background: fade(#000, 10%);
@ -104,7 +105,6 @@
text-transform: uppercase;
font-size: 11px;
font-weight: bold;
float: right;
}
}
.TagTile-lastDiscussion-title {