Word-wrap for txt files
[phorkie.git] / www / css / phorkie.css
1 /* show IDs for anchors */
2 a.anchorlink:before {
3     font-size: smaller;
4     content: '_';
5     color: transparent;
6 }
7 h1[id]:hover a.anchorlink:before,
8 h2[id]:hover a.anchorlink:before,
9 h3[id]:hover a.anchorlink:before,
10 h4[id]:hover a.anchorlink:before,
11 h5[id]:hover a.anchorlink:before,
12 h6[id]:hover a.anchorlink:before {
13     content: "\00B6";/* pilcrow */
14     color: #888;
15     font-size: smaller;
16 }
17 a.anchorlink {
18     text-decoration: none;
19     margin-left: 0.5em;
20     font-size: smaller;
21 }
22 .navbar li a.brand {
23     /*float: right;*/
24     margin-left: -14px;
25     color: #DDA;
26     text-shadow: 0 0 30px rgba(255, 255, 255, .9);
27 }
28 .navbar li a.brand:hover {
29     color: #FFA;
30 }
31
32 @media (min-width: 980px) and (max-width: 1199px) {
33     .navbar .container {
34         width: 940px;
35     }
36 }
37
38 @media (min-width: 768px) and (max-width: 979px) {
39     .navbar .container {
40         width: 724px;
41     }
42 }
43
44 .navbar + .container {
45     margin-top: 2ex;
46 }
47
48 .footer {
49     margin-top: 36px;
50     margin-bottom: 0px;
51     border-top: 1px solid #DDD;
52     color: #999;
53     text-align: center;
54 }
55
56 h1 {
57     margin-top: 0ex;
58     margin-bottom: 0.5ex;
59 }
60
61 .repo-info {
62     margin-bottom: 2ex;
63 }
64 .repo-info form {
65     margin-bottom: 0px;
66 }
67 .urlinfo {
68     padding-bottom: 0px;
69 }
70
71 .file {
72     margin-top: 2ex;
73 }
74 .file .header {
75     padding: 0ex 0ex 0ex 1ex;
76     margin-bottom: 1em;
77     background-color: whiteSmoke;
78     border: 1px solid #EEE;
79     border: 1px solid rgba(0, 0, 0, 0.05);
80     -webkit-border-radius: 4px;
81     -moz-border-radius: 4px;
82     border-radius: 4px;
83 }
84 .file .header h3 {
85     margin: 0px;
86     font-size: 1.2em;
87 }
88 .file .header .btn-mini {
89     margin-left: 2px;
90 }
91 .file .code {
92     margin-left: 2em;
93 }
94 .file .image {
95     margin-bottom: 2ex;
96 }
97 .file > .document {
98     margin-left: 1em;
99 }
100
101 .code pre {
102     border: none;
103     background-color: inherit;
104     word-break: normal;
105     word-wrap: normal;
106     white-space: pre;
107     color: black;
108     font: normal normal 1em/1.2em monospace;
109     padding: 0px;
110     margin: 0px;
111     margin-bottom: 2ex;
112 }
113 .code pre.txt {
114     white-space: pre-wrap;
115 }
116 .code {
117     overflow-x: auto;
118 }
119 .code .ln pre {
120     margin-right: 1ex;
121     color: #DDD;
122 }
123
124 div.annotations div.alert {
125     margin-bottom: 1ex;
126 }
127
128 ul.history li {
129     padding-left: 2px;
130     padding-bottom: 1px;
131 }
132 ul.history li.active {
133     background-color: #EEE;
134     border-radius: 3px;
135 }
136 ul.history a.hash {
137     font-family: monospace;
138 }
139
140
141 ul.pager {
142     margin-top: 2ex;
143 }
144
145 .formbuttons {
146     margin-top: 2ex;
147 }
148
149 form textarea.content {
150     width: 100%;
151     box-sizing: border-box;
152     font-family: monospace;
153     margin-bottom: 0px;
154     margin-top: 2ex;
155 }
156 .content-details {
157     margin-top: 12px;
158 }
159 .content-details .additional-btn {
160     margin-top: -12px;
161 }
162 form .allwidth {
163     box-sizing: border-box;
164 }
165 form .allwidth label {
166     width: 20%;
167     float: left;
168 }
169 form input#description {
170     box-sizing: border-box;
171     height: 2em;
172     width: 100%;
173 }
174
175 form label.inline {
176     display: inline;
177 }
178
179 .form-horizontal .control-label {
180     text-align: left;
181     width: 8em;
182 }
183
184 .form-horizontal .controls {
185     margin-left: 8em;
186 }
187
188 input.fullwidthtext {
189     width: 100%;
190     box-sizing: border-box;
191     height: auto;
192 }
193
194 .btn [class^="icon-"], .btn [class*=" icon-"] {
195     line-height: 1.1em;
196 }
197
198 .content-padding-fix {
199     height: 1em;
200 }
201
202 .indent {
203     margin-left: 10px;
204 }
205
206 .nobr {
207     white-space:nowrap;
208 }
209
210 .avatar-large {
211     border-radius: 5px;
212 }
213 .avatar-small {
214     border-radius: 3px;
215 }
216 .avatar-tiny {
217     border-radius: 2px;
218 }
219
220 .forkdomain {
221     margin-left: 2ex;
222 }