Add temporary Secret Santa sidebar link.

This commit is contained in:
Max Goodman
2013-11-15 03:19:07 -07:00
parent ba55a6e68f
commit 9e6deebb6f
3 changed files with 43 additions and 0 deletions

View File

@@ -516,6 +516,12 @@ class Reddit(Templated):
more_text = more_text))
if no_ads_yet and show_adbox:
ps.append(SideBox(
title=_("Join our Secret Santa tradition"),
css_class="hohoho",
link="http://redditgifts.com/page/secret-santa/?source=rhp",
target="_blank",
))
ps.append(Ads())
if g.live_config["gold_revenue_goal"]:
ps.append(Goldvertisement())

View File

@@ -623,6 +623,43 @@ ul.flat-vert {text-align: left;}
font-size: 110%;
}
.sidebox.hohoho {
.morelink {
border-color: #9eae9e;
background: #ecfbe0;
background-image: -webkit-linear-gradient(top, #fffbfb, #e5fbd8);
background-image: linear-gradient(to bottom, #fffbfb 0%, #e5fbd8 100%);
border-radius: 2px;
&:hover {
border-color: #5d945d;
}
a {
color: #f14b4a;
overflow: visible;
white-space: nowrap;
&:before {
content: '';
display: inline-block;
background-image: url(../rg-santa.png); /* SPRITE */
background-repeat: no-repeat;
width: 32px;
height: 34px;
vertical-align: top;
margin-top: -3px;
margin-left: -8px;
margin-right: 3px;
}
}
}
.nub {
display: none;
}
}
.account-activity-box {
text-align: center;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB