r/csshelp • • Mar 01 '20

How to specify a keyboard shortcut to open a specific link?

7 Upvotes

I am using css to study flashcards.

I found a way to add links which opens to their particular set of photos. But i have to click on them every time.

Links start with- kbd

(I have 0 understanding in css, i just edited premade codes to see what happens so that i can suit it to my study preferences)

If i could add a keyboard shortcut to one particular link, it could make my process of studying much faster, as i nearly study 500+ of flashcards in a day.

Thank you.


r/csshelp • • Feb 21 '20

Request Any idea how to proceed coding this interface ?

7 Upvotes

Hello. Having already knowledge about CSS and HTML but never done something similar to a dashboard, I want to know how do I proceed and where do I begin to code this interface. Should I divise the screen to two column or use bootstrap or something else ? Thank you.

https://i.imgur.com/XYalCr5.jpg

Edit : I want it to be responsibe like the mobile interface I added.


r/csshelp • • Dec 25 '19

Resolved Flairs on the flair menu don't show up on mobile but works on PC just fine

7 Upvotes

/r/Cookierun

https://i.imgur.com/Lfc41sH.png (Edit flair on mobile)

https://i.imgur.com/ucm22hu.png (Flair menu on mobile)

https://cdn.discordapp.com/attachments/655801257864462368/659194794873978896/unknown.png (Works fine on PC)

Flair css:

.flair {
    background: url(%%flairsheet2%%) no-repeat -9999px;
    border: 0;
    padding: 0;
}

Link flairs work fine, but strangely, whenever I go to grant flairs on mobile, the flairs do show up.

https://imgur.com/sTFENnO (Granting flairs on mobile)

Edit: Referring to old reddit on mobile browsers

Edit: this works apparently, feel free to tweak numbers

    .flair {
padding: 0px;
margin: 0;
border:0;
line-height: 45px;
vertical-align: middle;
text-align: right;
color: #666;
background: url(%%spritesheetNEW2%%) no-repeat;
min-width: 42px;
min-height: 42px;
padding-right: 10px;
width: auto;
height: auto;
position: relative;
z-index: 10;
opacity: 1;
overflow: visible;
border: 0px;
margin-right: 3px;
text-indent: 45px;
display:inline-block;
    }

r/csshelp • • Aug 27 '19

[Paid] Complete subreddit makeover (re-submitted)

7 Upvotes

Hello CSSHelp

Our last css help vanished without a trace.

We're a newly started subreddit r/ZandalarTribe (World of Warcraft related) who are looking for a professionel to help us build the subreddit.

We have a very rough outline in place of what we'd like.

Currently we're also trying to find an artist to design border-images, a snoo and perhaps more.

Please write me the amount you think this work is worth.


r/csshelp • • Jul 06 '19

Resolved Attempting to remove an element from sidebar

7 Upvotes

I'm working on the CSS for /r/AnarchistCentral/ and was using this theme I liked the look of, but the reddit premium ad gets caught under the sidebar image, and I was actually hoping to do away with the entire sidebarimg anyway so the sidebar just goes from the submit new post button, to the search bar, to the reddit premium ad, to the subreddit info.

Just cutting out background:url(%%sidebarimg3%%); didn't work, and removing the entire .side:before{ section wasn't doing anything so I'm out of ideas here.

Due to Reddit character limits I wasn't able to post the CSS stylesheet here, but instead had to host it on pastebin


r/csshelp • • Apr 15 '19

How do I combine cool visual css effects and fast, non-lagging website?

7 Upvotes

CSS effects look great except if it's too much animation, it slows down the website.

How do I keep awesome visual effects with animation and not make my website laggy, slow. Keep the performance?


r/csshelp • • Aug 19 '18

Resolved Why ban someone when you can shrink all their posts?

7 Upvotes

div[data-author="trashUser"] .entry .usertext .usertext-body {font-size: 1px;}


r/csshelp • • Jun 24 '18

Resolved How do I get black Submit Post and Submit Link buttons like this sub has? What's the css?

7 Upvotes

r/csshelp • • Jan 07 '18

[NSFW] /r/Afrodisiac random images on sidebar are not consistent and not understand why that is. NSFW

7 Upvotes

Hello and good morning, mod of /r/Afrodisiac, a NSFW sub, trying to have 10 random pics on the sidebar so each time you click a link in the sub the sidebar image will change, just trying to give me viewing pleasure to subscribers.


r/csshelp • • Dec 28 '17

Resolved Is it possible to change the NSFW tag so it says something else (like NSFV)? NSFW

7 Upvotes

It's for shitposting so very important.

/r/cremposting


r/csshelp • • Mar 12 '17

Is it possible to restrict the usage of a specific link flair to only those with a certain user flair?

7 Upvotes

I'm working on /r/CSSTG3 and I would like a certain link flair to only be usable by a group of people with a specific user flair. Is this possible? If so, how could I go about doing it?


r/csshelp • • Dec 20 '16

Need Help with the Reddit Tabs

7 Upvotes

I'm currently working on the Sub: /r/orcasovereign and I need help with putting the Tabs on the Bottom of the Banner instead of the Topside: http://i.imgur.com/YldFoAe.jpg

Another thing is how can I change the Color of the "reddit" portion of the text in the Tabs

Also, if you can help with the customization of it to look something like the /r/leagueoflegends Tabs It'd be appreciated!


r/csshelp • • Nov 09 '16

Resolved /r/GreenParty is now private. Can the CSS be recovered from the cached page? What theme are they using?

7 Upvotes

Subreddit it will be applied on: /r/Green_Party

Hello! Here or here is the old theme for /r/GreenParty. Can I recover the CSS from it? If not, what is the theme they used?

Cheers!


r/csshelp • • Oct 08 '16

Wiki Help? /r/herbalism

7 Upvotes

I am trying to put together a wiki page for the sub I am a moderator of, /r/herbalism, but have no clue how to format it, is there a guide?

On the top of my list, I would like to add the contents box, to navigate between the wiki topics.


r/csshelp • • Sep 04 '16

Redirect from /r/stalin to /r/fullstalinism

7 Upvotes

Hi, I am trying to get a full screen redirect from /r/Stalin to /r/fullstalinism

I tried the instructions here and here but all I could achieve in the end is having a redirect link in the sidebar.

Help would be much appreciated.


r/csshelp • • Jun 28 '16

How to make moderators name always look distinguished?

7 Upvotes

Hi there, I mod for /r/CelticUnion and I'm trying to get the mods name to always look like this.

.author[href$="/PMMeUnusedSteamCodes"]:before{
    background: #50A327;
    font-weight: bold;
    line-height: 20px;
    padding: 0 4px 0 10px;
    display: inline-block;
    border-radius: 20px 0 0 20px;
    font-size: 10px;
    content: "Mod ";
    margin-right: .6em;
}  

Would something like that work?
I want it to look exactly like the distinguish tag.
I'd also like to do something similar but for non-mods.

Thank you


r/csshelp • • Apr 29 '16

Need help with randomized upvote messages

7 Upvotes

I'm a mod at /r/Dreamtheater and I'm currently testing the new CSS with my mod team on /r/DTCSS. I tried copying the upvote message thing from /r/OnePiece/about/stylesheet section 18.3 but it isn't working.


r/csshelp • • Feb 19 '16

How do I make an interactive banner?

7 Upvotes

I see /r/LosAngelesRams and I want to create something like that for my subreddit. Any ideas how? For /r/STLSports


r/csshelp • • Nov 14 '15

How to a a hidden flair for announcements only mods can access/apply? Mod for r/awesome6A

7 Upvotes

EDIT: How to a a hidden flair should be How to add a hidden flair

The title says it all.

Relavant CSS:

.linkflair-Basic .linkflairlabel { background-color: CadetBlue; color: white; font-weight: bold; font-size: 12px; border-radius: 5px; }

.linkflair-Basic2 .linkflairlabel { background-color: DarkCyan; color: white; font-weight: bold; font-size: 12px; border-radius: 5px; }

.linkflair-PSA .linkflairlabel { font-weight: bold; color: ForestGreen; font-size: 12px; border-radius: 5px; }

.linkflair-Discussion .linkflairlabel { font-weight: bold; color: DarkBlue; font-size: 12px; border-radius: 5px; }

.linkflair-Video .linkflairlabel { font-weight: bold; color: CadetBlue; font-size: 12px; border-radius: 5px; }

.linkflair-Spoiler .linkflairlabel { font-weight: bold; color: white; background-color: DimGray; font-size: 12px; border-radius: 5px; }

.linkflair-Spoiler { background-color: DimGray; color: white; font-size: 12px; border-radius: 5px; }


r/csshelp • • Oct 21 '15

How do I change the color of mods username?

7 Upvotes

r/csshelp • • Oct 13 '15

PLEASE INCLUDE THE SUBREDDIT YOU ARE WORKING ON IN THE TEXT FIELD BELOW OR THE POST WILL BE IGNORED

7 Upvotes

I am a new mod in /r/thebuffalowildwings I have been working on flair using these instructions: https://www.reddit.com/r/csshelp/wiki/userflair. When I uploaded the spritesheet it seems our template took them for icons, snoo and preview images. I cannot seem to undo it. Please help.


r/csshelp • • Oct 07 '15

Brighten Link button on hover only.

7 Upvotes

I tried using this code:

a {
  color:blue; background:white;
  -o-transition:color .2s ease-out, background 1s ease-in;
  -ms-transition:color .2s ease-out, background 1s ease-in;
  -moz-transition:color .2s ease-out, background 1s ease-in;
  -webkit-transition:color .2s ease-out, background 1s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .2s ease-out, background 1s ease-in;
}
a:hover { color:red; background:yellow; }

for /r/randomgifts. But it made everything that's selectable do this, in addition to giving it a white background. It's a cool effect, but I would like for only the Submit Link button background only to change color to #ABFAFA

Thanks.

edit the only element I want this to affect is the submit button. Nothing in the header or any other text should be affected.


r/csshelp • • Aug 28 '15

Best-looking subreddits? Looking for inspo

7 Upvotes

/r/onepunchman is my subreddit

I've used /r/metalgearsolid and /r/naut a lot for aesthetic inspiration, now i'm looking for more subreddits for ideas. What are some easy-on-the-eyes subreddits that you think would help?


r/csshelp • • Aug 12 '15

Is there a way to default a sub to NEW instead of "Hot" for all incoming visitors?

7 Upvotes

thank you.


r/csshelp • • Jun 09 '15

How did /r/fivenightsatfreddys get a gray box with text on their sidebar?

7 Upvotes

I've noticed that /r/fivenightsatfreddys got some gray box with text in it on the sidebar? does anyone know how they did it?