Cassandra Targett created SOLR-6401:
---------------------------------------

             Summary: Update CSS for Solr Ref Guide to format code examples 
automatically
                 Key: SOLR-6401
                 URL: https://issues.apache.org/jira/browse/SOLR-6401
             Project: Solr
          Issue Type: Improvement
          Components: documentation
            Reporter: Cassandra Targett
            Assignee: Uwe Schindler


In the online version of the Solr Ref Guide 
(https://cwiki.apache.org/confluence/solr), we have a number of code example 
boxes. We manually change the default styling to have a solid black border. It 
used to be relatively easy to set those properties each time you made a code 
box, but with the Confluence upgrades it's not as simple anymore, it requires a 
special level of access, and the convention isn't known by everyone so we're 
getting a melange of styles.

What we'd like to do instead is set the formatting via the CSS. It's a simple 
change, but editing the CSS for the Solr space is limited to system admins of 
the Confluence instance only.

1. Go to 
https://cwiki.apache.org/confluence/spaces/viewstylesheet.action?key=solr and 
click edit (at the bottom of the page).

2. Add the following to the bottom of the existing CSS:

{code}
#content .code {
   border-color: black;
   border-width: 1px;
   border-style: solid;
}
{code}

3. Save and you're done.

[~thetaphi], I've assigned to you because AFAIK you are the only one in 
Lucene/Solr with system admin-level access to CWIKI. If someone else has that 
access, please reassign as appropriate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to