linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs)
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.view.filepage.css
1 /*!
2 * File description page
3 */
4
5 /* stylelint-disable selector-class-pattern */
6
7 .mw-filepage-resolutioninfo {
8 font-size: smaller;
9 }
10
11 /*
12 * File histories
13 */
14 #filehistory {
15 clear: both;
16 }
17
18 .filehistory th,
19 .filehistory td {
20 vertical-align: top;
21 }
22
23 .filehistory th {
24 text-align: left;
25 }
26
27 .filehistory td.mw-imagepage-filesize,
28 .filehistory th.mw-imagepage-filesize {
29 white-space: nowrap;
30 }
31
32 .filehistory td.filehistory-selected {
33 font-weight: bold;
34 }
35
36 /*
37 * Add a checkered background image on hover for file
38 * description pages. (T28470)
39 */
40 .filehistory a img,
41 #file img:hover {
42 /* @embed */
43 background: #fff url( images/checker.png ) repeat;
44 }
45
46 /*
47 * filetoc
48 */
49 #filetoc {
50 text-align: center;
51 border: 1px solid #a2a9b1;
52 background-color: #f8f9fa;
53 padding: 5px;
54 font-size: 95%;
55 margin-bottom: 0.5em;
56 margin-left: 0;
57 margin-right: 0;
58 }
59
60 #filetoc li {
61 display: inline;
62 list-style-type: none;
63 padding-right: 2em;
64 }
65
66 /*
67 * Shared images hint
68 */
69 #shared-image-dup,
70 #shared-image-conflict {
71 font-style: italic;
72 }
73
74 /*
75 * Classes for Exif data display
76 */
77 .mw_metadata {
78 font-size: 0.8em;
79 margin-left: 0.5em;
80 margin-bottom: 0.5em;
81 border: 0;
82 border-collapse: collapse;
83 width: 400px;
84 }
85
86 .mw_metadata caption {
87 font-weight: bold;
88 }
89
90 .mw_metadata td,
91 .mw_metadata th {
92 border: 1px solid #a2a9b1;
93 padding-left: 5px;
94 padding-right: 5px;
95 }
96
97 .mw_metadata th {
98 background-color: #f8f9fa;
99 font-weight: normal;
100 text-align: center;
101 }
102
103 .mw_metadata td {
104 background-color: #fcfcfc;
105 padding-top: 0.1em;
106 padding-bottom: 0.1em;
107 }
108
109 .mw_metadata ul.metadata-langlist {
110 list-style-type: none;
111 list-style-image: none;
112 padding-right: 5px;
113 padding-left: 5px;
114 margin: 0;
115 }
116
117 .client-js .mw_metadata.collapsed .mw-metadata-collapsible,
118 /* Keep tr.collapsible for back-compat with cached HTML */
119 .client-js .mw_metadata.collapsed tr.collapsable {
120 display: none;
121 }