Commit cbb0e9f2 authored by revolutionary-bench's avatar revolutionary-bench
Browse files

Remove RESAnnouncementAlert icon to fix alignment of sidebar images

parent 46ef9aa7
......@@ -513,6 +513,7 @@ div.commentarea div.RES-keyNav-activeElement .md{background-color:transparent!im
}
#header-bottom-right a#RESAnnouncementAlert {
vertical-align: middle;
display: none; /* remove icon which screws with alignment of sidebar images */
}
.res #sr-header-area a.RESShortcutsCurrentSub,.res #RESSubredditGroupDropdown .RESShortcutsCurrentSub a{color:#fff!important;border-bottom:2px solid #fff}
#RESAccountSwitcherIcon{position:relative;top:-4px}
......@@ -772,12 +773,17 @@ body:before{background-repeat:repeat-x!important}
}
.res .loggedin .logout a{right:0!important}
.side{padding-top:540px}
/* sidebar images */
/* sidebar images, see: https://www.reddit.com/r/csshelp/wiki/snippets#wiki_random_image_above_sidebar */
.side {
padding-top:540px;
}
input[name=uh] ~ a:after{
position: absolute;
top: 166px !important;
/* TODO: Figure out how to horizontally align sidebar image with sidebar */
/* TODO: Figure out how to horizontally align sidebar image with sidebar when the RES Announcement is present */
right: 8px !important;
z-index: 95 !important;
text-indent: 0 !important;
......@@ -792,10 +798,25 @@ input[name=uh] ~ a:after{
color: white;
pointer-events: none
}
.search-page input[name=uh] ~ a:after{top:145px}
input[name=uh][value^="4"] ~ a:after,input[name=uh][value^="0"] ~ a:after{content:url('%%sidebar9%%') '“Workers of the world awaken. Break your chains, demand your rights. All the wealth you make is taken, by exploiting parasites. Shall you kneel in deep submission from your cradle to your grave? Is the height of your ambition to be a good and willing slave? ” ― Joe Hill';font-size:small!important;line-height:89%}
input[name=uh][value^="c"] ~ a:after,input[name=uh][value^="k"] ~ a:after{content:url('%%Voltairine-de-Cleyre%%') '"If you choose the liberty and pride and strength of the single soul, and the free fraternization of men, as the purpose which your life is to make manifest then do not sell it for tinsel. Think that your soul is strong and will hold its way; and slowly, through bitter struggle perhaps the strength will grow." - Voltairine de Cleyre'}
input[name=uh][value^="o"] ~ a:after{content:url('%%JohnHenryMackay%%') '"I am an anarchist! Wherefore I will not rule, and also ruled I will not be!" - John Henry Mackay';font-size:large!important;line-height:110%}
.search-page input[name=uh] ~ a:after{
top:145px
}
input[name=uh][value^="4"] ~ a:after, input[name=uh][value^="0"] ~ a:after {
content:url('%%sidebar9%%') '“Workers of the world awaken. Break your chains, demand your rights. All the wealth you make is taken, by exploiting parasites. Shall you kneel in deep submission from your cradle to your grave? Is the height of your ambition to be a good and willing slave? ” ― Joe Hill';
font-size:small !important;
line-height:89%;
}
input[name=uh][value^="c"] ~ a:after, input[name=uh][value^="k"] ~ a:after {
content:url('%%Voltairine-de-Cleyre%%') '"If you choose the liberty and pride and strength of the single soul, and the free fraternization of men, as the purpose which your life is to make manifest then do not sell it for tinsel. Think that your soul is strong and will hold its way; and slowly, through bitter struggle perhaps the strength will grow." - Voltairine de Cleyre'
}
input[name=uh][value^="o"] ~ a:after {
content:url('%%JohnHenryMackay%%') '"I am an anarchist! Wherefore I will not rule, and also ruled I will not be!" - John Henry Mackay';
font-size:large !important;
line-height:110%;
}
input[name=uh][value^="g"] ~ a:after{content:url('%%SocialistTurtle-flagwave%%');height:473px}
input[name=uh][value^="s"] ~ a:after{content:url('%%Subcomandante-Marcos%%') '“As to whether Marcos is gay: Marcos is gay in San Francisco, black in South Africa, an Asian in Europe, a Chicano in San Ysidro, an anarchist in Spain, a Palestinian in Israel, a Mayan Indian in the streets of San Cristobal,… a Jew in Germany, a Gypsy in Poland, a Kurd in Turkey, a Mohawk in Quebec, a pacifist in Bosnia, a single woman on the Metro at 10pm, a peasant without land, a gang member in the slums, an unemployed worker, an unhappy student and, of course, a Zapatista in the mountains.” ― Subcomandante Marcos';font-size:small!important;line-height:89%}
input[name=uh][value^="w"] ~ a:after{content:url('%%alston%%')}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment