content/xml/tests/toc/book.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 /* The book style must be the first style for our JavaScript to work */
     6 book {
     7   display: block;
     8   padding-left: 2em;
     9   padding-right: 2em;
    10   padding-top: 8px;
    11   font-size: 12pt;
    12   background-color: lightyellow;
    13   font-family: Arial;
    14 }
    16 book title {
    17   font-weight: bold;
    18   font-size: 24pt;
    19   display: block;
    20   text-align: center;
    21   margin-top: 12pt;
    22   margin-bottom: 3pt;
    23 }
    25 book subtitle {
    26   display: block;
    27   font-size:12pt;
    28   text-align: center;
    29 }
    31 book abstract {
    32   display: block;
    33   margin-top: 3pt;
    34 }
    36 input {
    37    display: block;
    38    margin-left: auto;
    39    margin-right: auto;
    40 }
    42 chapter {
    43   display: block;
    44 }
    46 chapter title {
    47   font-weight: bold;
    48   font-size: 16pt;
    49   display: block;
    50   text-align: left;
    51   margin-top: 12pt;
    52   margin-bottom: 3pt;
    53 }
    55 section {
    56   display: block;
    57 }
    59 section title {
    60   display: block;
    61   font-size: 10pt;
    62   text-align: left;
    63   margin-top: 12pt;
    64   margin-bottom: 3pt;
    65 }
    67 contents {
    68   display: block;
    69 }
    71 para {
    72   display: block;
    73   margin-bottom: auto;
    74   margin-top: auto;
    75   font-size:11pt;
    76 }
    78 link {
    79   display: inline;
    80   color: blue;
    81   text-decoration: underline;
    82   cursor: pointer;
    83 }
    85 list {
    86   display: block;
    87   margin-right: 0;
    88   margin-bottom: auto;
    89   margin-top: auto;
    90   list-style-type: disc;
    91   margin-left: 40px;
    92 }
    94 listitem {
    95   display: list-item;
    96   list-style-position: inside;
    97 }
    99 emph {
   100   font-style: italic;
   101   font-weight: bold;
   102 }
   104 ref {
   105   font-style: italic;
   106 }
   108 heading {
   109   font-weight: bold;
   110 }
   112 navbar {
   113    font-family: Arial;
   114    font-size: 10pt;
   115    display: block;
   116    float: right;
   117    background-color: #CCE6F3;
   118    color: darkblue;
   119    width: 10em;
   120    margin-right: 0.5em;
   121 }
   123 navbar title {
   124    font-size: 10pt;
   125    display: block;
   126    background-color: black;
   127    color: white;
   128    margin-bottom:0px;
   129 }
   131 navbar content {
   132    display: block;
   133    padding: 0.3em;
   134    border: 1px solid black;
   135    font-size: 9pt;
   136 }

mercurial