Changeset c18d76a in rtems-docs


Ignore:
Timestamp:
Jan 26, 2016, 1:26:11 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, master
Children:
36745eb
Parents:
b8d3f6b
git-author:
Chris Johns <chrisj@…> (01/26/16 01:26:11)
git-committer:
Amar Takhar <verm@…> (05/03/16 00:51:25)
Message:

Add my-style.css support and add RTEMS to that CSS.

Location:
common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • common/_static/my-styles.css

    rb8d3f6b rc18d76a  
    1616
    1717.rtemsdefine dd {
    18         margin: 3;
    1918        color: #408090;
    2019}
     
    3029        color: #a87892;
    3130}
     31
     32/*
     33 * Special table. We do not use this because the format is only for HTML
     34 * not PDF. Left here as a record.
     35 */
     36table.rtems-items-table.docutils:not(.field-list) tr:nth-child(2n-1) td,
     37table.rtems-items-table.docutils:not(.field-list) tr:nth-child(2n) td {
     38    background-color: #fcfcfc;
     39    white-space: normal;
     40    vertical-align: top;
     41    border-width: 0;
     42    padding-right: 5px;
     43    padding-left: 5px;
     44}
     45table.rtems-items-table.docutils:not(.field-list) tr td:nth-child(2n-1) {
     46    text-align: right;
     47    margin-right: 0;
     48}
     49table.rtems-items-table.docutils:not(.field-list) tr td:nth-child(2n) {
     50    text-align: left;
     51}
     52
     53/*
     54 * Nav side-bar in RTEMS colours.
     55 */
     56.wy-nav-top, .wy-nav-top a {
     57    background-color: #38532F;
     58    color: #fdfdfd;
     59}
     60
     61.wy-side-nav-search {
     62    background-color: #38532F;
     63}
     64
     65.wy-nav-side {
     66    background-color: #dbe5c6;
     67    color: #424242;
     68}
     69
     70.wy-menu-vertical {
     71    background-color: #dbe5c6;
     72    color: #333333;
     73}
     74.wy-menu-vertical a {
     75    background-color: #dbe5c6;
     76    color: #333333;
     77}
     78.wy-menu-vertical a:hover {
     79    background-color: #38532F;
     80    color: #fdfdfd;
     81}
     82
     83.wy-menu-vertical li.toctree-l1.current>a{
     84    background:#dbe5c6;
     85    color: #333333;
     86}
     87
     88.wy-menu-vertical li.toctree-l1.current>a:hover{
     89    background-color: #38532F;
     90    color: #fdfdfd;
     91}
     92
     93.wy-menu-vertical li.toctree-l1.current li.toctree-l2>a{
     94    background:#dbe5c6;
     95    color: #333333;
     96}
     97
     98.wy-menu-vertical li.toctree-l1.current li.toctree-l2>a:hover{
     99    background-color: #38532F;
     100    color: #fdfdfd;
     101}
     102
     103.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>a{
     104    background:#dbe5c6;
     105    color: #333333;
     106}
     107
     108.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>a:hover{
     109    background-color: #38532F;
     110    color: #fdfdfd;
     111}
     112
     113.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3>a{
     114    background: #dbe5c6;
     115    color: #333333;
     116}
     117
     118.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3>a:hover{
     119    background-color: #38532F;
     120    color: #fdfdfd;
     121}
     122
     123.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3 li.toctree-l4>a{
     124    background: #dbe5c6;
     125    color: #333333;
     126}
     127
     128.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3 li.toctree-l4>a:hover{
     129    background-color: #38532F;
     130    color: #fdfdfd;
     131}
     132
     133.wy-nav-content a {
     134    color: #77AD4A;
     135}
     136
     137.wy-nav-content a:hover {
     138    color: #4B6D2F;
     139}
  • common/conf.py

    rb8d3f6b rc18d76a  
    145145
    146146# If true, links to the reST sources are added to the pages.
    147 #html_show_sourcelink = True
     147html_show_sourcelink = False
    148148
    149149# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
  • common/sphinx_rtd_theme_rtems/layout.html

    rb8d3f6b rc18d76a  
    77  {%- set titlesuffix = "" %}
    88{%- endif %}
     9
     10{# Custom CSS overrides #}
     11{% set extra_css_files = ['_static/my-styles.css'] %}
    912
    1013<!DOCTYPE html>
  • common/sphinx_rtd_theme_rtems/theme.conf

    rb8d3f6b rc18d76a  
    55[options]
    66typekit_id = hiw1hhg
    7 analytics_id = 
     7analytics_id =
    88sticky_navigation = False
    99logo_only =
    1010collapse_navigation = False
    1111display_version = True
     12search = True
     13genindex = True
Note: See TracChangeset for help on using the changeset viewer.