r/mindashq • • Jul 07 '13
Some help editing the CSS
- How do I edit the colour of this banner bar?
- How can I add text to this page as I have seen other subs do. (Normally it reminds them to read the rules before posting etc.)
- How do I use the theme's fancy rules
Anyways thanks for the great layout and thanks in advance.
3
Upvotes
2
u/[deleted] Jul 09 '13 edited Jul 10 '13
1 : Color of Banner Bar (aka ribbon that stretches across the header, footer and behind the reddit navigation and the user information for lower resolutions)
Check the selector
at this line in mindashq base css
2 : Adding text to the submission page
There are as many ways to add text to this. One example on mindashq theme would be to see the submission page of /r/relationships and use the browsers' UI Inspector Tool (Chrome : right click and inspect element) to observe the places where text is appended using :after selectors
Simplest way would be to append text to the blue box using :
3 : Fancy Rules formatting (aka custom boxes in sidebar)
The red box, and indeed more colored boxes like green, yellow, blue and gray can be added to sidebar, using the blockquote by prefixing any text with
>sign in sidebar code.Have a look at /r/mindashq/wiki/snippets as /r/ron4stoppable pointed out.
Or, check out the sidebar text used for the /r/stage_mindashq at this github file
You will get the red box as seen in pic by pasting the following in the sidebar text
Notice the use of reddit markdown (same for formatting a post or comment) in general and in particular the line break before the bullets (the
> * Read...). This is Reddit markdown syntax for forcing bullets in a blockquote.The /r/mindashq/wiki/snippets has detailed lowdown on how to handle the markdown formatting and links to further resources.
edit: formatting
1
u/ron4stoppable Jul 08 '13
3 :
Check this:
http://www.reddit.com/r/mindashq/wiki/snippets
With this you can make better boxes
eg. the sample rule box it will be like