mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
Add temporary Secret Santa sidebar link.
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
BIN
r2/r2/public/static/rg-santa.png
Normal file
BIN
r2/r2/public/static/rg-santa.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user