various: add read-only mode support
[girocco.git] / gitweb / gitweb.css
blobe371886d21652e44e1805db4484dc9f37d3a53e6
1 /* Girocco-specific fragment of gitweb.css, appended at the end. */
3 sup.sup {
4 position: relative;
5 font-size: 100%;
6 vertical-align: baseline;
7 bottom: +1ex;
9 sup.sup > span:first-child {
10 position: relative;
11 font-size: smaller;
12 top: +1pt;
15 sub.sub {
16 position: relative;
17 font-size: 100%;
18 vertical-align: baseline;
19 top: +1pt;
21 sub.sub > span:first-child {
22 position: relative;
23 font-size: smaller;
24 top: +0.5ex;
27 div.readme {
28 overflow: auto;
29 max-height: 100em;
32 /* stopgap until the newer gitweb.css is picked up */
33 div.readme pre {
34 overflow: auto;
37 table._markdown-table {
38 margin-bottom: 0.5em;
40 table._markdown-table, table._markdown-table th, table._markdown-table td {
41 border-collapse: collapse;
42 border-spacing: 0;
43 border: thin solid #ddd;
45 table._markdown-table tr._markdown-row-hdr {
46 background-color: #fdfdfd;
48 table._markdown-table tr._markdown-row-hdr th {
49 padding-top: 0.5em;
50 padding-bottom: 0.5em;
52 table._markdown-table tr._markdown-row-even {
53 background-color: #f4f4f4;
56 ol._markdown-ol {
57 counter-reset: _markdown-item;
59 ol._markdown-ol[start="0"] {
60 counter-reset: _markdown-item -1;
62 ol._markdown-ol[start="5"] {
63 counter-reset: _markdown-item 4;
65 ol._markdown-ol[start="10"] {
66 counter-reset: _markdown-item 9;
68 ol._markdown-ol > span._markdown-ol-incr {
69 counter-increment: _markdown-item;
71 ol._markdown-ol > span._markdown-ol-incr-2 {
72 counter-increment: _markdown-item 2;
74 ol._markdown-ol > span._markdown-ol-incr-5 {
75 counter-increment: _markdown-item 5;
77 ol._markdown-ol > span._markdown-ol-incr-10 {
78 counter-increment: _markdown-item 10;
80 ol._markdown-lc-greek, li._markdown-lc-greek {
81 list-style-type: lower-greek;
83 ol._markdown-ol > li {
84 counter-increment: _markdown-item;
86 ol._markdown-ol > li._markdown-li,
87 ol._markdown-ol > li._markdown-li-lc,
88 ol._markdown-ol > li._markdown-li-lc-greek,
89 ol._markdown-ol > li._markdown-li-uc {
90 list-style-type: none;
91 display: block;
93 ol._markdown-ol > li._markdown-li:before,
94 ol._markdown-ol > li._markdown-li-lc:before,
95 ol._markdown-ol > li._markdown-li-lc-greek:before,
96 ol._markdown-ol > li._markdown-li-uc:before {
97 position: absolute;
98 text-align: right;
99 white-space: nowrap;
100 margin-left: -9ex;
101 width: 9ex;
103 ol._markdown-ol > li._markdown-li[type="1"]:before {
104 content: counter(_markdown-item, decimal) ")\A0 \A0 ";
106 ol._markdown-ol > li._markdown-li-lc[type="i"]:before,
107 ol._markdown-ol > li._markdown-li-lc[type="I"]:before {
108 content: counter(_markdown-item, lower-roman) ")\A0 \A0 ";
110 ol._markdown-ol > li._markdown-li-uc[type="I"]:before,
111 ol._markdown-ol > li._markdown-li-uc[type="i"]:before {
112 content: counter(_markdown-item, upper-roman) ")\A0 \A0 ";
114 ol._markdown-ol > li._markdown-li-lc[type="a"]:before,
115 ol._markdown-ol > li._markdown-li-lc[type="A"]:before {
116 content: counter(_markdown-item, lower-alpha) ")\A0 \A0 ";
118 ol._markdown-ol > li._markdown-li-lc-greek[type="a"]:before,
119 ol._markdown-ol > li._markdown-li-lc-greek[type="A"]:before {
120 content: counter(_markdown-item, lower-greek) ")\A0 \A0 ";
122 ol._markdown-ol > li._markdown-li-uc[type="A"]:before,
123 ol._markdown-ol > li._markdown-li-uc[type="a"]:before {
124 content: counter(_markdown-item, upper-alpha) ")\A0 \A0 ";
127 li._markdown-checkbox-on,
128 li._markdown-checkbox-off {
129 list-style-type: none;
130 display: block;
132 li._markdown-checkbox-on > span:first-child + span + span,
133 li._markdown-checkbox-off > span:first-child + span + span {
134 position: absolute;
135 clip: rect(0,0,0,0);
137 li._markdown-checkbox-on > span:first-child,
138 li._markdown-checkbox-off > span:first-child,
139 li._markdown-checkbox-on > span:first-child + span,
140 li._markdown-checkbox-off > span:first-child + span {
141 display: block;
142 position: absolute;
143 margin-left: -3ex;
144 width: 1em;
145 height: 1em;
147 li._markdown-checkbox-on > span:first-child > span:first-child,
148 li._markdown-checkbox-off > span:first-child > span:first-child {
149 display: block;
150 position: absolute;
151 left: 0.75pt; top: 0.75pt; right: 0.75pt; bottom: 0.75pt;
153 li._markdown-checkbox-on > span:first-child > span:first-child:before,
154 li._markdown-checkbox-off > span:first-child > span:first-child:before {
155 display: inline-block;
156 position: relative;
157 right: 1pt;
158 width: 100%;
159 height: 100%;
160 border: 1pt solid;
161 content: "";
163 li._markdown-checkbox-on > span:first-child + span:before {
164 position: relative;
165 left: 2pt;
166 bottom: 1pt;
167 font-size: 125%;
168 line-height: 80%;
169 vertical-align: text-top;
170 content: "\2713";