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